Documentation
¶
Overview ¶
Package ci provides CI/CD integration commands.
Index ¶
- type CICommandProvider
- func (c *CICommandProvider) GetAliases() []internal.CommandAlias
- func (c *CICommandProvider) GetCommand() *cobra.Command
- func (c *CICommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (c *CICommandProvider) GetFlagsBuilder() flags.Builder
- func (c *CICommandProvider) GetGroup() string
- func (c *CICommandProvider) GetName() string
- func (c *CICommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
- func (c *CICommandProvider) IsExperimental() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CICommandProvider ¶
type CICommandProvider struct{}
CICommandProvider implements the CommandProvider interface.
func (*CICommandProvider) GetAliases ¶
func (c *CICommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns command aliases. CI command has no aliases.
func (*CICommandProvider) GetCommand ¶
func (c *CICommandProvider) GetCommand() *cobra.Command
GetCommand returns the ci command.
func (*CICommandProvider) GetCompatibilityFlags ¶
func (c *CICommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
GetCompatibilityFlags returns compatibility flags for this command. CI command has no compatibility flags.
func (*CICommandProvider) GetFlagsBuilder ¶
func (c *CICommandProvider) GetFlagsBuilder() flags.Builder
GetFlagsBuilder returns the flags builder for this command. CI command has no flags at the parent level.
func (*CICommandProvider) GetGroup ¶
func (c *CICommandProvider) GetGroup() string
GetGroup returns the command group for help organization.
func (*CICommandProvider) GetName ¶
func (c *CICommandProvider) GetName() string
GetName returns the command name.
func (*CICommandProvider) GetPositionalArgsBuilder ¶
func (c *CICommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
GetPositionalArgsBuilder returns the positional args builder for this command. CI command has no positional arguments.
func (*CICommandProvider) IsExperimental ¶
func (c *CICommandProvider) IsExperimental() bool
IsExperimental returns true because CI commands are experimental.