commands/

directory
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: MIT

Directories

Path Synopsis
Package agentcmd is the agent group: osapi agent start, which runs the agent on a managed host.
Package agentcmd is the agent group: osapi agent start, which runs the agent on a managed host.
gen
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package agentservice installs the agent of this host as a service that starts at boot: a systemd unit on Linux, a launch daemon on macOS, with a config that has the join string.
Package agentservice installs the agent of this host as a service that starts at boot: a systemd unit on Linux, a launch daemon on macOS, with a config that has the join string.
gen
all
Package all registers every local group, one blank import each.
Package all registers every local group, one blank import each.
gen
Package gen registers the commands of every local group.
Package gen registers the commands of every local group.
Package behaviordsl is the behavior group: the commands that list, describe, scaffold, teach and check the behaviors of this binary.
Package behaviordsl is the behavior group: the commands that list, describe, scaffold, teach and check the behaviors of this binary.
gen
Package chain is the chain group of commands, osapi dsl chain: the behaviors that a behavior calls on the same host, in the same job.
Package chain is the chain group of commands, osapi dsl chain: the behaviors that a behavior calls on the same host, in the same job.
gen
Package clidocs is the docs group under osapi dsl: osapi dsl docs generate, which writes the generated pages of the docs site.
Package clidocs is the docs group under osapi dsl: osapi dsl docs generate, which writes the generated pages of the docs site.
gen
Package commanddsl is the command group under osapi cli: the commands that list, describe, scaffold, teach and check the local groups of the command DSL.
Package commanddsl is the command group under osapi cli: the commands that list, describe, scaffold, teach and check the local groups of the command DSL.
gen
Package config is the config group: osapi config list, get and validate, which read osapi's settings the way osapi start does.
Package config is the config group: osapi config list, get and validate, which read osapi's settings the way osapi start does.
gen
Package controllercmd is the controller group: osapi controller start, which runs the REST API.
Package controllercmd is the controller group: osapi controller start, which runs the REST API.
gen
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package endpointdsl is the endpoint group under osapi controller: the commands that list, describe, scaffold, teach and check the endpoint groups of the controller.
Package endpointdsl is the endpoint group under osapi controller: the commands that list, describe, scaffold, teach and check the endpoint groups of the controller.
gen
Package join is the join group under osapi controller: osapi controller join token create, list and revoke, which make, show and remove the tokens that admit an agent at its join (osapi-io/osapi#1313).
Package join is the join group under osapi controller: osapi controller join token create, list and revoke, which make, show and remove the tokens that admit an agent at its join (osapi-io/osapi#1313).
gen
Package natsauth is the auth group under osapi nats: osapi nats auth password create and operator create, which make the authentication of a NATS setup for osapi, with a credential for each osapi role (osapi-io/osapi#1420).
Package natsauth is the auth group under osapi nats: osapi nats auth password create and operator create, which make the authentication of a NATS setup for osapi, with a credential for each osapi role (osapi-io/osapi#1420).
gen
Package natsperms is the permissions group under osapi nats: osapi nats permissions get, which prints the NATS subjects that one osapi process needs, for a NATS server that osapi does not run (osapi-io/osapi#1415).
Package natsperms is the permissions group under osapi nats: osapi nats permissions get, which prints the NATS subjects that one osapi process needs, for a NATS server that osapi does not run (osapi-io/osapi#1415).
gen
Package natsserver is the flat group under osapi nats: osapi nats start, which runs the embedded NATS server as its own process.
Package natsserver is the flat group under osapi nats: osapi nats start, which runs the embedded NATS server as its own process.
gen
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package natssetup is the setup group under osapi nats: osapi nats setup, which creates osapi's streams and buckets on a NATS server that osapi does not run, such as an existing cluster.
Package natssetup is the setup group under osapi nats: osapi nats setup, which creates osapi's streams and buckets on a NATS server that osapi does not run, such as an existing cluster.
gen
Package pkicert is osapi pki cert: it shows and rotates the TLS certificates that the servers of osapi serve on this host, the self-signed ones that each makes at its first start and a cert_file of the operator.
Package pkicert is osapi pki cert: it shows and rotates the TLS certificates that the servers of osapi serve on this host, the self-signed ones that each makes at its first start and a cert_file of the operator.
gen
Package pkikey is the key group under osapi pki: osapi pki key list, get, create and rotate, which read, make and rotate the keys of osapi on this host.
Package pkikey is the key group under osapi pki: osapi pki key list, get, create and rotate, which read, make and rotate the keys of osapi on this host.
gen
Package pkilist is osapi pki list: each key and each certificate of osapi on this host, in one list.
Package pkilist is osapi pki list: each key and each certificate of osapi on this host, in one list.
gen
Package role is the role group of local commands: osapi controller role list and get, which read the built-in roles and the custom roles of the controller's config, with what each grants.
Package role is the role group of local commands: osapi controller role list and get, which read the built-in roles and the custom roles of the controller's config, with what each grants.
gen
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
sdk
Package sdk is the sdk group: osapi sdk list, get, spec get and validate, which describe and check the Go SDK in this binary, as each DSL's group does and as osapi agent collector does for gohai's collectors.
Package sdk is the sdk group: osapi sdk list, get, spec get and validate, which describe and check the Go SDK in this binary, as each DSL's group does and as osapi agent collector does for gohai's collectors.
gen
Package skill is the skill group: osapi skill list and get, which show the agent skills that this binary has, and osapi skill install, which installs them into a repository.
Package skill is the skill group: osapi skill list and get, which show the agent skills that this binary has, and osapi skill install, which installs them into a repository.
gen
Package startcmd is the start group: osapi start, which runs the NATS server, the controller and the agent in one process.
Package startcmd is the start group: osapi start, which runs the NATS server, the controller and the agent in one process.
gen
Package token is the token group of local commands: osapi controller token generate and validate, which sign and read the bearer tokens of the API with the signing key of the controller's config.
Package token is the token group of local commands: osapi controller token generate and validate, which sign and read the bearer tokens of the API with the signing key of the controller's config.
gen
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package version is the version group: osapi version, which prints the build of the binary.
Package version is the version group: osapi version, which prints the build of the binary.
gen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL