cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MPL-2.0 Imports: 36 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 api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
authmethodscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
authtokenscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
dev
groupscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
hostcatalogscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
hostscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
hostsetscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
rolescmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
scopescmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
sessionscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
targetscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.
userscmd
Code generated by "make api"; DO NOT EDIT.
Code generated by "make api"; DO NOT EDIT.

Jump to

Keyboard shortcuts

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