Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "0.0.0" Revision = "aaaa1234" )
View Source
var DefaultCIOutput = map[genci.CITarget]string{ genci.GitHubCITarget: ".github/workflows", }
View Source
var (
ErrIncompleteConfig = errors.New("config key is missing")
)
View Source
var ErrIncorrectContextName = errors.New("supplied argument does not match any container context")
View Source
var ErrIncorrectPipelineTaskArg = errors.New("supplied argument does not match any pipelines or tasks")
View Source
var ErrNotV2Context = errors.New("not a native container context")
View Source
var (
ErrSpecifiedObjectIsNotFound = errors.New("unknown")
)
Functions ¶
func WithSubCommands ¶ added in v0.3.7
func WithSubCommands() []func(rootCmd *EirCtlCmd)
WithSubCommands returns a manually maintained list of commands
Types ¶
type EirCtlCmd ¶
type EirCtlCmd struct {
Cmd *cobra.Command
ChannelOut io.Writer
ChannelErr io.Writer
OsFsOps osFSOpsIface
// contains filtered or unexported fields
}
func NewEirCtlCmd ¶
func (*EirCtlCmd) InitCommand ¶
InitCommand ensures each subcommand is added to the root using an IoC injection pattern
Click to show internal directories.
Click to hide internal directories.