config

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortForwardOptions added in v0.33.0

type PortForwardOptions struct {
	Enabled     bool
	ForwardPods bool
}

PortForwardOptions are options set by the command line for port forwarding with additional configuration information as well

type SkaffoldOptions

type SkaffoldOptions struct {
	ConfigurationFile  string
	Cleanup            bool
	Notification       bool
	Tail               bool
	TailDev            bool
	SkipTests          bool
	CacheArtifacts     bool
	EnableRPC          bool
	Force              bool
	ForceDev           bool
	NoPrune            bool
	NoPruneChildren    bool
	StatusCheck        bool
	AutoBuild          bool
	AutoSync           bool
	AutoDeploy         bool
	PortForward        PortForwardOptions
	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