cmd

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MPL-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Commands is the mapping of all the available commands.

Functions

func MakeSigUSR2Ch

func MakeSigUSR2Ch() chan struct{}

MakeSigUSR2Ch returns a channel that can be used for SIGUSR2 goroutine logging. This channel will send a message for every SIGUSR2 received.

func Run

func Run(args []string) int

func RunCustom

func RunCustom(args []string, runOpts *RunOptions) int

RunCustom allows passing in a base command template to pass to other commands. Currently, this is only used for setting a custom token helper.

Types

type RunOptions

type RunOptions struct {
	Stdout  io.Writer
	Stderr  io.Writer
	Address string
}

Directories

Path Synopsis
commands
accountscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
authmethodscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
authtokenscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
credentiallibrariescmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
credentialstorescmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
dev
groupscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
hostcatalogscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
hostscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
hostsetscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
managedgroupscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
rolescmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
scopescmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
sessionscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
targetscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.
userscmd
Code generated by "make cli"; DO NOT EDIT.
Code generated by "make cli"; DO NOT EDIT.

Jump to

Keyboard shortcuts

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