Documentation ¶
Index ¶
- func NewBuildSucceededValue(build v1alpha1.Build) cmdcore.ValueUnknownBool
- func NewCmd() *cobra.Command
- func NewCreateCmd(o *CreateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewShowCmd(o *ShowOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- type BuildFlags
- type CreateArgsFlags
- type CreateFlags
- type CreateOptions
- type DeleteOptions
- type ListOptions
- type ShowOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuildSucceededValue ¶
func NewBuildSucceededValue(build v1alpha1.Build) cmdcore.ValueUnknownBool
func NewCreateCmd ¶
func NewCreateCmd(o *CreateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewDeleteCmd ¶
func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewListCmd ¶
func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewShowCmd ¶
func NewShowCmd(o *ShowOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
Types ¶
type BuildFlags ¶
type BuildFlags struct { NamespaceFlags cmdcore.NamespaceFlags Name string }
func (*BuildFlags) Set ¶
func (s *BuildFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type CreateArgsFlags ¶
type CreateArgsFlags struct {
ctlbuild.BuildSpecOpts
}
func (*CreateArgsFlags) IsProvided ¶
func (s *CreateArgsFlags) IsProvided() bool
func (*CreateArgsFlags) Set ¶
func (s *CreateArgsFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
func (*CreateArgsFlags) SetWithBuildPrefix ¶
func (s *CreateArgsFlags) SetWithBuildPrefix(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
func (*CreateArgsFlags) Validate ¶
func (s *CreateArgsFlags) Validate() error
type CreateFlags ¶
type CreateFlags struct { GenerateNameFlags cmdcore.GenerateNameFlags CreateArgsFlags }
func (*CreateFlags) Set ¶
func (s *CreateFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
func (*CreateFlags) Validate ¶
func (s *CreateFlags) Validate() error
type CreateOptions ¶
type CreateOptions struct { BuildFlags BuildFlags CreateFlags CreateFlags // contains filtered or unexported fields }
func NewCreateOptions ¶
func NewCreateOptions( ui ui.UI, configFactory cmdcore.ConfigFactory, depsFactory cmdcore.DepsFactory, ) *CreateOptions
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run() error
type DeleteOptions ¶
type DeleteOptions struct { BuildFlags BuildFlags // contains filtered or unexported fields }
func NewDeleteOptions ¶
func NewDeleteOptions(ui ui.UI, depsFactory cmdcore.DepsFactory) *DeleteOptions
func (*DeleteOptions) Run ¶
func (o *DeleteOptions) Run() error
type ListOptions ¶
type ListOptions struct { NamespaceFlags cmdcore.NamespaceFlags // contains filtered or unexported fields }
func NewListOptions ¶
func NewListOptions(ui ui.UI, depsFactory cmdcore.DepsFactory) *ListOptions
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
type ShowOptions ¶
type ShowOptions struct { BuildFlags BuildFlags Logs bool // contains filtered or unexported fields }
func NewShowOptions ¶
func NewShowOptions(ui ui.UI, configFactory cmdcore.ConfigFactory, depsFactory cmdcore.DepsFactory) *ShowOptions
func (*ShowOptions) Run ¶
func (o *ShowOptions) Run() error
Click to show internal directories.
Click to hide internal directories.