flags

package
v1.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AnsibleCollectionsPathEnvVar = "ANSIBLE_COLLECTIONS_PATH"
View Source
const AnsibleRolesPathEnvVar = "ANSIBLE_ROLES_PATH"

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	ReconcilePeriod         time.Duration
	WatchesFile             string
	InjectOwnerRef          bool
	EnableLeaderElection    bool
	MaxConcurrentReconciles int
	AnsibleVerbosity        int
	AnsibleRolesPath        string
	AnsibleCollectionsPath  string
	MetricsAddress          string
	ProbeAddr               string
	LeaderElectionID        string
	LeaderElectionNamespace string
	GracefulShutdownTimeout time.Duration
	AnsibleArgs             string
}

Flags - Options to be used by an ansible operator

func (*Flags) AddTo

func (f *Flags) AddTo(flagSet *pflag.FlagSet)

AddTo - Add the ansible operator flags to the the flagset

Jump to

Keyboard shortcuts

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