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 ¶ added in v0.29.0
BuildOutput is the output of `skaffold build`.
func ParseBuildOutput ¶ added in v0.29.0
func ParseBuildOutput(b []byte) (*BuildOutput, error)
ParseBuildOutput parses BuildOutput from bytes
type BuildOutputFileFlag ¶ added in v0.29.0
type BuildOutputFileFlag struct {
// contains filtered or unexported fields
}
BuildOutputFileFlag describes a flag which contains a BuildOutput.
func NewBuildOutputFileFlag ¶ added in v0.29.0
func NewBuildOutputFileFlag(value string) *BuildOutputFileFlag
NewBuildOutputFileFlag returns a new BuildOutputFile without any validation
func (*BuildOutputFileFlag) BuildArtifacts ¶ added in v0.29.0
func (t *BuildOutputFileFlag) BuildArtifacts() []graph.Artifact
BuildArtifacts returns the Build Artifacts in the BuildOutputFileFlag
func (*BuildOutputFileFlag) Set ¶ added in v0.29.0
func (t *BuildOutputFileFlag) Set(value string) error
Set Implements Set() method for pflag interface
func (*BuildOutputFileFlag) String ¶ added in v0.29.0
func (t *BuildOutputFileFlag) String() string
func (*BuildOutputFileFlag) Type ¶ added in v0.29.0
func (t *BuildOutputFileFlag) Type() string
Type Implements Type() method for pflag interface
func (*BuildOutputFileFlag) Usage ¶ added in v0.29.0
func (t *BuildOutputFileFlag) Usage() string
Usage Implements Usage() method for pflag interface
type Images ¶ added in v0.29.0
type Images struct {
// contains filtered or unexported fields
}
Images describes a flag which contains a list of image names
func NewEmptyImages ¶ added in v0.29.0
NewEmptyImages returns a new nil Images list.
func (*Images) Append ¶ added in v1.23.0
Append Implements Append() method for pflag SliceValue interface
func (*Images) Artifacts ¶ added in v0.29.0
Artifacts returns an artifact representation for the corresponding image
func (*Images) GetSlice ¶ added in v1.23.0
GetSlice Implements GetSlice() method for pflag SliceValue interface and returns a slice of image names.
func (*Images) Replace ¶ added in v1.23.0
Replace Implements Replace() method for pflag SliceValue interface
func (*Images) Set ¶ added in v0.29.0
Set Implements Set() method for pflag interface. We append values to preserve compatibility with previous behaviour where each image required a separate `-i` flag.
func (*Images) SetNil ¶ added in v1.23.0
SetNil Implements SetNil() method for our Nillable interface
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