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.

20 lines
451 B
Bash
Raw Normal View History

2023-02-02 17:15:17 -08:00
# Copyright (c) HashiCorp, Inc.
# 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
}