Files

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

20 lines
452 B
Bash
Raw Permalink Normal View History

# Copyright IBM Corp. 2020, 2026
2023-02-02 17:15:17 -08:00
# SPDX-License-Identifier: BUSL-1.1
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
}