build

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildSucceededValue

func NewBuildSucceededValue(build v1alpha1.Build) cmdcore.ValueUnknownBool

func NewCmd

func NewCmd() *cobra.Command

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL