Documentation ¶
Index ¶
- type BuildOutput
- type BuildOutputFileFlag
- type Images
- func (i *Images) Append(value string) error
- func (i *Images) Artifacts() []graph.Artifact
- func (i *Images) GetSlice() []string
- func (i *Images) Replace(images []string) error
- func (i *Images) Set(csv string) error
- func (i *Images) SetNil() error
- func (i *Images) String() string
- func (i *Images) Type() string
- type TemplateFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOutput ¶
BuildOutput is the output of `skaffold build`.
func ParseBuildOutput ¶
func ParseBuildOutput(b []byte) (*BuildOutput, error)
ParseBuildOutput parses BuildOutput from bytes
type BuildOutputFileFlag ¶
type BuildOutputFileFlag struct {
// contains filtered or unexported fields
}
BuildOutputFileFlag describes a flag which contains a BuildOutput.
func NewBuildOutputFileFlag ¶
func NewBuildOutputFileFlag(value string) *BuildOutputFileFlag
NewBuildOutputFileFlag returns a new BuildOutputFile without any validation
func (*BuildOutputFileFlag) BuildArtifacts ¶
func (t *BuildOutputFileFlag) BuildArtifacts() []graph.Artifact
BuildArtifacts returns the Build Artifacts in the BuildOutputFileFlag
func (*BuildOutputFileFlag) Set ¶
func (t *BuildOutputFileFlag) Set(value string) error
Set Implements Set() method for pflag interface
func (*BuildOutputFileFlag) String ¶
func (t *BuildOutputFileFlag) String() string
func (*BuildOutputFileFlag) Type ¶
func (t *BuildOutputFileFlag) Type() string
Type Implements Type() method for pflag interface
func (*BuildOutputFileFlag) Usage ¶
func (t *BuildOutputFileFlag) Usage() string
Usage Implements Usage() method for pflag interface
type Images ¶
type Images struct {
// contains filtered or unexported fields
}
Images describes a flag which contains a list of image names
func NewEmptyImages ¶
NewEmptyImages returns a new nil Images list.
func (*Images) GetSlice ¶
GetSlice Implements GetSlice() method for pflag SliceValue interface and returns a slice of image names.
func (*Images) Set ¶
Set Implements Set() method for pflag interface. We append values to preserve compatibility with previous behaviour where each image required a separate `-i` flag.
type TemplateFlag ¶
type TemplateFlag struct {
// contains filtered or unexported fields
}
func NewTemplateFlag ¶
func NewTemplateFlag(value string, context interface{}) *TemplateFlag
func (*TemplateFlag) Set ¶
func (t *TemplateFlag) Set(value string) error
func (*TemplateFlag) String ¶
func (t *TemplateFlag) String() string
func (*TemplateFlag) Template ¶
func (t *TemplateFlag) Template() *template.Template
func (*TemplateFlag) Type ¶
func (t *TemplateFlag) Type() string
func (*TemplateFlag) Usage ¶
func (t *TemplateFlag) Usage() string