Documentation ¶
Index ¶
- type AZ
- type Cluster
- type ClusterNameFn
- 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 Option
- type ResourceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNameFn ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
func (*Command) Description ¶
type CommandOption ¶
type CommandOption func(*Command)
func CommandWithClusterNameFn ¶
func CommandWithClusterNameFn(v ClusterNameFn) CommandOption
func CommandWithName ¶
func CommandWithName(v string) CommandOption
type Config ¶
type Config struct { ConfigPath string `json:"configPath" yaml:"configPath"` ResourceGroups map[string]ResourceGroup `json:"resourceGroups" yaml:"resourceGroups"` }
func (Config) ResourceGroup ¶
func (c Config) ResourceGroup(name string) (ResourceGroup, error)
func (Config) ResourceGroupNames ¶
type Option ¶
func CommandWithConfigKey ¶
type ResourceGroup ¶
type ResourceGroup struct { Name string `json:"name" yaml:"name"` Subscription string `json:"subscription" yaml:"subscription"` Clusters map[string]Cluster `json:"clusters" yaml:"clusters"` }
func (ResourceGroup) ClusterNames ¶
func (c ResourceGroup) ClusterNames() []string
Click to show internal directories.
Click to hide internal directories.