Documentation ¶
Index ¶
- func AuthChecker(p *Teleport) check.Checker
- type Command
- func (c *Command) Complete(ctx context.Context, r *readline.Readline) []goprompt.Suggest
- func (c *Command) Description() string
- func (c *Command) Execute(ctx context.Context, r *readline.Readline) error
- func (c *Command) Help(ctx context.Context, r *readline.Readline) string
- func (c *Command) Name() string
- type CommandOption
- type Config
- type Database
- type Kubernetes
- type Option
- type Teleport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthChecker ¶
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
func (*Command) Description ¶
type CommandOption ¶
type CommandOption func(*Command)
func CommandWithName ¶
func CommandWithName(v string) CommandOption
type Config ¶
type Config struct { Path string `json:"path" yaml:"path"` Labels map[string]string `json:"labels" yaml:"labels"` Hostname string `json:"hostname" yaml:"hostname"` Kubernetes Kubernetes `json:"kubernetes" yaml:"kubernetes"` Apps map[string][]string `json:"apps" yaml:"apps"` Database Database `json:"database" yaml:"database"` }
type Kubernetes ¶
func (Kubernetes) Alias ¶
func (c Kubernetes) Alias(name string) string
func (Kubernetes) Name ¶
func (c Kubernetes) Name(alias string) string
type Teleport ¶
type Teleport struct {
// contains filtered or unexported fields
}
Teleport command
func NewTeleport ¶
NewTeleport command
Click to show internal directories.
Click to hide internal directories.