Versions in this module Expand all Collapse all v0 v0.0.11 Feb 4, 2016 Changes in this version + const DefaultConfigPath + const DefaultTeleportURL + func RemoveBeforeClose(files ...string) + type Command struct + func NewCommand() *Command + func (cmd *Command) AddNewBackendKey(id string) + func (cmd *Command) AgentLogin(agentAddr string, proxyAddr string, ttl time.Duration) + func (cmd *Command) AgentStart(agentAddr string, apiAddr string) + func (cmd *Command) DeleteBackendKey(id string) + func (cmd *Command) DeleteRemoteCertificate(id, domainName, certType string) + func (cmd *Command) DeleteUser(user string) + func (cmd *Command) ExportBackendKey(dir, id string) + func (cmd *Command) GenerateBackendKey(name, filename string) + func (cmd *Command) GenerateKeyPair(privateKeyPath, publicKeyPath, passphrase string) error + func (cmd *Command) GenerateToken(domainName, role string, ttl time.Duration, output, secretKey string) error + func (cmd *Command) GetBackendKeys() + func (cmd *Command) GetHostCertificateAuthority() + func (cmd *Command) GetRemoteCertificates(domainName, certType string) + func (cmd *Command) GetUserCertificateAuthority() + func (cmd *Command) GetUserKeys(user string) + func (cmd *Command) GetUsers() + func (cmd *Command) ImportBackendKey(filename string) + func (cmd *Command) NewKey(filename string) error + func (cmd *Command) NewUserWebLink(webHostPort string, user string) + func (cmd *Command) ResetHostCertificateAuthority(confirm bool) + func (cmd *Command) ResetUserCertificateAuthority(confirm bool) + func (cmd *Command) Run(args []string) error + func (cmd *Command) SetClient(client *auth.TunClient) + func (cmd *Command) SetOut(out io.Writer) + func (cmd *Command) SetPass(user, pass string) + func (cmd *Command) UpsertKey(user, keyID, key string, ttl time.Duration) + func (cmd *Command) UpsertRemoteCertificate(id, domainName, certType, path string, ttl time.Duration)