Documentation
¶
Index ¶
- func AddBuildOptions(cmd *cobra.Command, bo *BuildOptions)
- func AddFileArg(cmd *cobra.Command, fo *FilenameOptions)
- func AddImageArg(cmd *cobra.Command, lo *PublishOptions)
- func AddLocalArg(cmd *cobra.Command, lo *LocalOptions)
- func AddNamingArgs(cmd *cobra.Command, no *NameOptions)
- func AddSelectorArg(cmd *cobra.Command, so *SelectorOptions)
- func AddStrictArg(cmd *cobra.Command, so *StrictOptions)
- func AddTagsArg(cmd *cobra.Command, ta *TagsOptions)
- func EnumerateFiles(fo *FilenameOptions) chan string
- func MakeNamer(no *NameOptions) publish.Namer
- type BuildOptions
- type FilenameOptions
- type LocalOptions
- type NameOptions
- type PublishOptions
- type SelectorOptions
- type StrictOptions
- type TagsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBuildOptions ¶
func AddBuildOptions(cmd *cobra.Command, bo *BuildOptions)
func AddFileArg ¶
func AddFileArg(cmd *cobra.Command, fo *FilenameOptions)
func AddImageArg ¶
func AddImageArg(cmd *cobra.Command, lo *PublishOptions)
func AddLocalArg ¶
func AddLocalArg(cmd *cobra.Command, lo *LocalOptions)
func AddNamingArgs ¶
func AddNamingArgs(cmd *cobra.Command, no *NameOptions)
func AddSelectorArg ¶
func AddSelectorArg(cmd *cobra.Command, so *SelectorOptions)
func AddStrictArg ¶
func AddStrictArg(cmd *cobra.Command, so *StrictOptions)
func AddTagsArg ¶
func AddTagsArg(cmd *cobra.Command, ta *TagsOptions)
func EnumerateFiles ¶
func EnumerateFiles(fo *FilenameOptions) chan string
Based heavily on pkg/kubectl
func MakeNamer ¶
func MakeNamer(no *NameOptions) publish.Namer
Types ¶
type BuildOptions ¶
BuildOptions represents options for the ko builder.
type FilenameOptions ¶
FilenameOptions is from pkg/kubectl.
type LocalOptions ¶
type LocalOptions struct {
// Local publishes images to a local docker daemon.
Local bool
InsecureRegistry bool
}
LocalOptions represents options for the ko binary.
type NameOptions ¶
type NameOptions struct {
// PreserveImportPaths preserves the full import path after KO_DOCKER_REPO.
PreserveImportPaths bool
// BaseImportPaths uses the base path without MD5 hash after KO_DOCKER_REPO.
BaseImportPaths bool
}
NameOptions represents options for the ko binary.
type PublishOptions ¶
type PublishOptions struct {
// Path is the import path of the binary to publish.
Path string
}
PublishOptions represents options for the ko binary.
type SelectorOptions ¶
type SelectorOptions struct {
Selector string
}
SelectorOptions allows selecting objects from the input manifests by label
type StrictOptions ¶
type StrictOptions struct {
Strict bool
}
StrictOptions holds options to require strict references.
type TagsOptions ¶
type TagsOptions struct {
Tags []string
}
TagsOptions holds the list of tags to tag the built image
Click to show internal directories.
Click to hide internal directories.