common

package
v2.3.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cmdlineArgs []string, distro teleport.DistroType, testRun bool) (executedCommand string, conf *service.Config)

same as main() but has a testing switch

  • cmdlineArgs are passed from main()
  • distro can be "" (OSS version) or "enterprise"
  • testRun is 'true' when running under an integration test

Types

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