common

package
v4.2.5-beta.2+incompat... Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: Apache-2.0 Imports: 16 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnStart

func OnStart(config *service.Config) error

OnStart is the handler for "start" CLI command

func Run

func Run(options Options) (executedCommand string, conf *service.Config)

Run inits/starts the process according to the provided options

Types

type Options

type Options struct {
	// Args is a list of command-line args passed from main()
	Args []string
	// InitOnly when set to true, initializes config and aux
	// endpoints but does not start the process
	InitOnly bool
}

Options combines init/start teleport options

type StdReadWriter

type StdReadWriter struct {
}

func (*StdReadWriter) Read

func (rw *StdReadWriter) Read(b []byte) (int, error)

func (*StdReadWriter) Write

func (rw *StdReadWriter) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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