Documentation
¶
Overview ¶
Package internal implements user facing commands for sloctl.
Index ¶
- Variables
- func Execute()
- func NewRootCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- type ApplyCmd
- type AwsIamIdsCmd
- type ConfigCmd
- func (c *ConfigCmd) AddContextCommand() *cobra.Command
- func (c *ConfigCmd) CurrentContextCommand() *cobra.Command
- func (c *ConfigCmd) DeleteContextCommand() *cobra.Command
- func (c *ConfigCmd) GetContextsCommand() *cobra.Command
- func (c *ConfigCmd) RenameContextCommand() *cobra.Command
- func (c *ConfigCmd) SetDefaultContextCommand() *cobra.Command
- type DeleteCmd
- type GetCmd
- type PlaylistConfiguration
- type ReplayCmd
- type ReplayConfig
- type ReplayQueueItem
- type RootCmd
- func (r *RootCmd) GetClient() *sdk.Client
- func (r *RootCmd) NewApplyCmd() *cobra.Command
- func (r *RootCmd) NewAwsIamIds() *cobra.Command
- func (r *RootCmd) NewConfigCmd() *cobra.Command
- func (r *RootCmd) NewDeleteCmd() *cobra.Command
- func (r *RootCmd) NewGetCmd() *cobra.Command
- func (r *RootCmd) NewReplayCmd() *cobra.Command
- type Spinner
Constants ¶
This section is empty.
Variables ¶
var ( BuildGitRevision string BuildGitBranch string BuildVersion string )
Set during build time.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewRootCmd ¶
NewRootCmd returns the base command when called without any subcommands
func NewVersionCmd ¶
NewVersionCmd returns cobra command version with all flags for it.
Types ¶
type AwsIamIdsCmd ¶
type AwsIamIdsCmd struct {
// contains filtered or unexported fields
}
func (*AwsIamIdsCmd) DataExport ¶
func (a *AwsIamIdsCmd) DataExport(cmd *cobra.Command) error
type ConfigCmd ¶
type ConfigCmd struct {
// contains filtered or unexported fields
}
func (*ConfigCmd) AddContextCommand ¶
AddContextCommand returns cobra command add-context, allows to add context to your configuration file.
func (*ConfigCmd) CurrentContextCommand ¶
CurrentContextCommand returns cobra command current-context, prints current used context.
func (*ConfigCmd) DeleteContextCommand ¶
DeleteContextCommand return cobra command to delete context from configuration file.
func (*ConfigCmd) GetContextsCommand ¶
GetContextsCommand returns cobra command to prints all available contexts.
func (*ConfigCmd) RenameContextCommand ¶
RenameContextCommand return cobra command to rename one of contexts in configuration file.
func (*ConfigCmd) SetDefaultContextCommand ¶
SetDefaultContextCommand return cobra command to set current context in configuration file.
type GetCmd ¶
type GetCmd struct {
// contains filtered or unexported fields
}
func (*GetCmd) RegisterFlags ¶
type PlaylistConfiguration ¶ added in v0.7.0
type PlaylistConfiguration struct {
EnabledPlaylists bool `json:"enabledPlaylists"`
}
type ReplayCmd ¶
type ReplayCmd struct {
// contains filtered or unexported fields
}
func (*ReplayCmd) AddDeleteCommand ¶ added in v0.7.0
AddDeleteCommand returns cobra command delete, which allows to delete a queued Replay.
func (*ReplayCmd) AddListCommand ¶ added in v0.7.0
AddListCommand returns cobra command list, which allows to list all queued Replays.
func (*ReplayCmd) RunReplays ¶
type ReplayConfig ¶
type ReplayQueueItem ¶ added in v0.7.0
type RootCmd ¶
func (*RootCmd) NewApplyCmd ¶
NewApplyCmd returns cobra command apply with all its flags.
func (*RootCmd) NewAwsIamIds ¶
func (*RootCmd) NewConfigCmd ¶
func (*RootCmd) NewDeleteCmd ¶
NewDeleteCmd returns cobra command delete with all its flags.
func (*RootCmd) NewReplayCmd ¶
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package csv provides a builder for csv data
|
Package csv provides a builder for csv data |
Package printer provides utilities for printing standard structures from api in convenient formats
|
Package printer provides utilities for printing standard structures from api in convenient formats |