flags

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WatchFlags

type WatchFlags struct {
	ReconcilePeriod time.Duration
	WatchesFile     string
}

WatchFlags provides flag for configuration of a controller's reconcile period and for a watches.yaml file, which is used to configure dynamic operators (e.g. Ansible and Helm).

func (*WatchFlags) AddTo

func (f *WatchFlags) AddTo(flagSet *pflag.FlagSet, helpTextPrefix ...string)

AddTo - Add the reconcile period and watches file flags to the the flagset helpTextPrefix will allow you add a prefix to default help text. Joined by a space.

Jump to

Keyboard shortcuts

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