Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TSACommand ¶
type TSACommand struct {
Logger tsaflags.LagerFlag
BindIP tsaflags.IPFlag `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."`
PeerIP string `` /* 128-byte string literal not displayed */
HostKeyPath tsaflags.FileFlag `long:"host-key" required:"true" description:"Path to private key to use for the SSH server."`
AuthorizedKeysPath tsaflags.FileFlag `` /* 152-byte string literal not displayed */
TeamAuthorizedKeysPath []tsaflags.InputPairFlag `` /* 164-byte string literal not displayed */
ATCURLs []tsaflags.URLFlag `long:"atc-url" required:"true" description:"ATC API endpoints to which workers will be registered."`
SessionSigningKeyPath tsaflags.FileFlag `` /* 146-byte string literal not displayed */
HeartbeatInterval time.Duration `long:"heartbeat-interval" default:"30s" description:"interval on which to heartbeat workers to the ATC"`
Metrics struct {
YellerAPIKey string `long:"yeller-api-key" description:"Yeller API key. If specified, all errors logged will be emitted."`
YellerEnvironment string `long:"yeller-environment" description:"Environment to tag on all Yeller events emitted."`
} `group:"Metrics & Diagnostics"`
}
func (*TSACommand) Execute ¶
func (cmd *TSACommand) Execute(args []string) error
type TeamAuthKeys ¶
Click to show internal directories.
Click to hide internal directories.