Files
threshold/internal/tests/cli/boundary/_sessions.bash
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
382 B
Bash
Raw Normal View History

load _authorized_actions
function list_sessions_include_terminated() {
boundary sessions list -scope-id $1 -include-terminated -format json
}
function count_sessions_include_terminated() {
list_sessions_include_terminated $1 | jq '.items | length'
}
function cancel_session() {
boundary sessions cancel -id $1
}
function read_session() {
boundary sessions read -id $1
2021-02-25 12:43:17 -05:00
}