tsacmd

package
v4.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0, Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TSACommand

type TSACommand struct {
	Logger flag.Lager

	BindIP        flag.IP `long:"bind-ip"   default:"0.0.0.0" description:"IP address on which to listen for SSH."`
	BindPort      uint16  `long:"bind-port" default:"2222"    description:"Port on which to listen for SSH."`
	DebugBindPort uint16  `long:"bind-debug-port" default:"8089"    description:"Port on which to listen for TSA pprof server."`
	PeerIP        string  `` /* 128-byte string literal not displayed */

	HostKey                *flag.PrivateKey            `long:"host-key"        required:"true" description:"Path to private key to use for the SSH server."`
	AuthorizedKeys         flag.AuthorizedKeys         `` /* 152-byte string literal not displayed */
	TeamAuthorizedKeys     []tsaflags.InputPairFlag    `` /* 164-byte string literal not displayed */
	YamlTeamAuthorizedKeys flag.YamlTeamAuthorizedKeys `long:"yaml-team-authorized-keys" description:"Path to file containing keys to authorize, in SSH authorized_keys yaml format."`

	ATCURLs []flag.URL `long:"atc-url" required:"true" description:"ATC API endpoints to which workers will be registered."`

	SessionSigningKey *flag.PrivateKey `` /* 146-byte string literal not displayed */

	HeartbeatInterval time.Duration `long:"heartbeat-interval" default:"30s" description:"interval on which to heartbeat workers to the ATC"`
}

func (*TSACommand) Execute

func (cmd *TSACommand) Execute(args []string) error

func (*TSACommand) Runner

func (cmd *TSACommand) Runner(args []string) (ifrit.Runner, error)

type TeamAuthKeys

type TeamAuthKeys struct {
	Team     string
	AuthKeys []ssh.PublicKey
}

Jump to

Keyboard shortcuts

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