tsacmd

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnState

type ConnState struct {
	Team string

	ForwardedTCPIPs <-chan ForwardedTCPIP
}

type ForwardedTCPIP

type ForwardedTCPIP struct {
	Logger lager.Logger

	BindAddr  string
	BoundPort uint32

	Drain chan<- struct{}
	// contains filtered or unexported fields
}

func (ForwardedTCPIP) Wait

func (forward ForwardedTCPIP) Wait()

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."`
	PeerAddress string  `` /* 154-byte string literal not displayed */
	BindPort    uint16  `long:"bind-port" default:"2222"    description:"Port on which to listen for SSH."`

	DebugBindIP   flag.IP `long:"debug-bind-ip"   default:"127.0.0.1" description:"IP address on which to listen for the pprof debugger endpoints."`
	DebugBindPort uint16  `long:"debug-bind-port" default:"2221"      description:"Port on which to listen for the pprof debugger endpoints."`

	HostKey                *flag.PrivateKey               `long:"host-key"        required:"true" description:"Path to private key to use for the SSH server."`
	AuthorizedKeys         flag.AuthorizedKeys            `` /* 136-byte string literal not displayed */
	TeamAuthorizedKeys     map[string]flag.AuthorizedKeys `` /* 164-byte string literal not displayed */
	TeamAuthorizedKeysFile flag.File                      `` /* 163-byte string literal not displayed */

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

	ClientID     string   `` /* 251-byte string literal not displayed */
	ClientSecret string   `long:"client-secret" required:"true" description:"Client used to fetch a token from the auth server"`
	TokenURL     flag.URL `long:"token-url" required:"true" description:"Token endpoint of the auth server"`
	Scopes       []string `long:"scope" description:"Scopes to request from the auth server"`

	HeartbeatInterval    time.Duration `long:"heartbeat-interval" default:"30s" description:"interval on which to heartbeat workers to the ATC"`
	GardenRequestTimeout time.Duration `` /* 129-byte string literal not displayed */

	ClusterName    string `long:"cluster-name" description:"A name for this Concourse cluster, to be displayed on the dashboard page."`
	LogClusterName bool   `long:"log-cluster-name" description:"Log cluster name."`
}

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