flags

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 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
	LeaderElectionID        string
	LeaderElectionNamespace string
	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