Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingACLTag = fmt.Errorf("service must have at least one ACL tag")
View Source
var ErrMissingCommand = fmt.Errorf("ssh connections must run a command - pass that as the remaining cli arguments")
View Source
var ErrMissingOauthCredential = fmt.Errorf("either none or both of -clientIdFile and -clientSecretFile must be passed")
View Source
var ErrMissingServiceName = fmt.Errorf("service name must be set via -name")
View Source
var ErrNoAPIKeys = fmt.Errorf("neither TS_API_KEY, nor TS_API_CLIENT_ID and TS_API_CLIENT_SECRET are set")
Functions ¶
This section is empty.
Types ¶
type TailnetSSH ¶
TailnetSSH defines an SSH service that listens on a tailnet and runs a given shell program.
The zero value of TailnetSSH is not a valid instance. Use TailnetSSHFromArgs to construct a valid one.
func TailnetSSHFromArgs ¶
func TailnetSSHFromArgs(args []string) (*TailnetSSH, error)
/ TailnetSSHFromArgs parses CLI arguments and constructs a validated TailnetSSH structure.
Click to show internal directories.
Click to hide internal directories.