Files
threshold-ui/e2e-tests/helpers/boundary-cli.js
T
Lisbet Alvarez 3ba93927fe Update copyright headers (#3146)
* empty commit

* Add missing copyright headers

* chore: 🤖 update copywrite config file with correct year

* Add missing copyright headers

* empty commit (gh action merge checks are stuck)
2026-01-28 17:09:06 -08:00

38 lines
1.2 KiB
JavaScript

/**
* Copyright IBM Corp. 2021, 2026
* SPDX-License-Identifier: BUSL-1.1
*/
import { execSync } from 'node:child_process';
export * from './boundary-cli/accounts.js';
export * from './boundary-cli/aliases.js';
export * from './boundary-cli/auth-methods.js';
export * from './boundary-cli/authenticate.js';
export * from './boundary-cli/connect.js';
export * from './boundary-cli/credential-stores.js';
export * from './boundary-cli/credentials.js';
export * from './boundary-cli/groups.js';
export * from './boundary-cli/host-catalogs.js';
export * from './boundary-cli/host-sets.js';
export * from './boundary-cli/hosts.js';
export * from './boundary-cli/policies.js';
export * from './boundary-cli/roles.js';
export * from './boundary-cli/scopes.js';
export * from './boundary-cli/session-recordings.js';
export * from './boundary-cli/storage-buckets.js';
export * from './boundary-cli/targets.js';
export * from './boundary-cli/users.js';
export * from './boundary-cli/workers.js';
/**
* Checks that the boundary cli is available
*/
export async function checkBoundaryCli() {
try {
execSync('which boundary');
} catch (e) {
throw new Error('boundary does not exist on the path');
}
}