options

package
v0.0.0-...-778180f Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDebugArg

func AddDebugArg(cmd *cobra.Command, do *DebugOptions)

func AddFileArg

func AddFileArg(cmd *cobra.Command, fo *FilenameOptions)

func AddImageArg

func AddImageArg(cmd *cobra.Command, lo *BinaryOptions)

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 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 BinaryOptions

type BinaryOptions struct {
	// Path is the import path of the binary to publish.
	Path string
}

BinaryOptions represents options for the ko binary.

type DebugOptions

type DebugOptions struct {
}

DebugOptions holds options to improve debugging containers.

type FilenameOptions

type FilenameOptions struct {
	Filenames []string
	Recursive bool
	Watch     bool
}

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 {
}

NameOptions represents options for the kone binary.

type SelectorOptions

type SelectorOptions struct {
	Selector string
}

SelectorOptions allows selecting objects from the input manifests by label

type TagsOptions

type TagsOptions struct {
	Tags []string
}

TagsOptions holds the list of tags to tag the built image

Jump to

Keyboard shortcuts

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