Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCommand ¶
type AppCommand struct { }
func (*AppCommand) Execute ¶
func (cmd *AppCommand) Execute([]string) error
type CleanCommand ¶
type CleanCommand struct { TokenType string `long:"token-type" description:"Gitlab Token Type" choice:"job" choice:"private" default:"private" env:"GITLAB_TOKEN_TYPE"` Token string `long:"token" description:"API token to access Gitlab ($CI_JOB_TOKEN)" required:"true" env:"GITLAB_TOKEN"` ApiV4URL string `long:"api-v4-url" description:"Gitlab API v4 URL ($CI_API_V4_URL)" required:"true" env:"GITLAB_API_V4_URL"` ProjectID string `long:"project-id" description:"Gitlab Project ID ($CI_PROJECT_ID)" required:"true" env:"GITLAB_PROJECT_ID"` RepositoryName string `` /* 126-byte string literal not displayed */ }
func RegisterCleanCommand ¶
func RegisterCleanCommand(parser *flags.Parser) *CleanCommand
func (*CleanCommand) Execute ¶
func (cmd *CleanCommand) Execute(_ []string) error
type RepositoryData ¶
type VersionCommand ¶
type VersionCommand struct {
// contains filtered or unexported fields
}
func RegisterVersionCommand ¶
func RegisterVersionCommand(parser *flags.Parser, appVersion, gitCommit string) *VersionCommand
func (*VersionCommand) Execute ¶
func (cmd *VersionCommand) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.