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

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

18 lines
332 B
Bash
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
export UPDATE_NAME='update'
function generic_read() {
boundary read $1 -format json
}
function generic_update_name() {
local id=$1
local name=$2
boundary update $id -name $name
}
function generic_delete() {
boundary delete $1 -format json
}