Skip to main content

Get

Show a chain: its tree, and what each call of each example sends and gets.

It runs each example of the behavior on the fake host that go test uses, and records each behavior.Call: the behavior, the method, the input, and the output or the error. The table cuts each input and output; --json has them in full, under runs. An input field tagged secret shows as [redacted].

osapi behavior chain get [flags]

Examples​

osapi behavior chain get --name dns
osapi behavior chain get --name dns --json

Flags​

FlagDescriptionDefault
--nameThe behavior, from osapi behavior chain list (required)

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.