config

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SkaffoldOptions

type SkaffoldOptions struct {
	ConfigurationFile  string
	Cleanup            bool
	Notification       bool
	Tail               bool
	TailDev            bool
	PortForward        bool
	SkipTests          bool
	CacheArtifacts     bool
	EnableRPC          bool
	Force              bool
	ForceDev           bool
	NoPrune            bool
	NoPruneChildren    bool
	CustomTag          string
	Namespace          string
	CacheFile          string
	Trigger            string
	WatchPollInterval  int
	DefaultRepo        string
	CustomLabels       []string
	TargetImages       []string
	Profiles           []string
	InsecureRegistries []string
	Command            string
	RPCPort            int
	RPCHTTPPort        int
}

SkaffoldOptions are options that are set by command line arguments not included in the config file itself

func (*SkaffoldOptions) ForceDeploy added in v0.28.0

func (opts *SkaffoldOptions) ForceDeploy() bool

func (*SkaffoldOptions) IsTargetImage added in v0.30.0

func (opts *SkaffoldOptions) IsTargetImage(artifact *latest.Artifact) bool

func (*SkaffoldOptions) Labels added in v0.8.0

func (opts *SkaffoldOptions) Labels() map[string]string

Labels returns a map of labels to be applied to all deployed k8s objects during the duration of the run

func (*SkaffoldOptions) Prune added in v0.27.0

func (opts *SkaffoldOptions) Prune() bool

Prune returns true iff the user did NOT specify the --no-prune flag, and the user did NOT specify the --cache-artifacts flag.

Jump to

Keyboard shortcuts

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