Documentation
¶
Overview ¶
Package store implements the `atmos store` command group for raw store CRUD.
Index ¶
- Variables
- type StoreCommandProvider
- func (p *StoreCommandProvider) GetAliases() []internal.CommandAlias
- func (p *StoreCommandProvider) GetCommand() *cobra.Command
- func (p *StoreCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (p *StoreCommandProvider) GetFlagsBuilder() flags.Builder
- func (p *StoreCommandProvider) GetGroup() string
- func (p *StoreCommandProvider) GetName() string
- func (p *StoreCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
- func (p *StoreCommandProvider) IsExperimental() bool
Constants ¶
This section is empty.
Variables ¶
var ErrRawFormatConflict = errors.New("--raw is text-only and cannot be combined with --format=json or --format=env")
ErrRawFormatConflict indicates --raw was combined with a non-text --format.
var ErrStoreKeyRequired = errors.New("a KEY is required")
ErrStoreKeyRequired indicates a KEY argument is required.
var ErrStoreNameRequired = errors.New("a store NAME is required")
ErrStoreNameRequired indicates a store NAME argument is required.
Functions ¶
This section is empty.
Types ¶
type StoreCommandProvider ¶
type StoreCommandProvider struct{}
StoreCommandProvider implements the CommandProvider interface.
func (*StoreCommandProvider) GetAliases ¶
func (p *StoreCommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns command aliases.
func (*StoreCommandProvider) GetCommand ¶
func (p *StoreCommandProvider) GetCommand() *cobra.Command
GetCommand returns the store command.
func (*StoreCommandProvider) GetCompatibilityFlags ¶
func (p *StoreCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
GetCompatibilityFlags returns compatibility flags for this command.
func (*StoreCommandProvider) GetFlagsBuilder ¶
func (p *StoreCommandProvider) GetFlagsBuilder() flags.Builder
GetFlagsBuilder returns the flags builder for this command.
func (*StoreCommandProvider) GetGroup ¶
func (p *StoreCommandProvider) GetGroup() string
GetGroup returns the command group for help organization.
func (*StoreCommandProvider) GetName ¶
func (p *StoreCommandProvider) GetName() string
GetName returns the command name.
func (*StoreCommandProvider) GetPositionalArgsBuilder ¶
func (p *StoreCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
GetPositionalArgsBuilder returns the positional args builder for this command.
func (*StoreCommandProvider) IsExperimental ¶
func (p *StoreCommandProvider) IsExperimental() bool
IsExperimental returns whether this command is experimental.