Documentation ¶
Overview ¶
Package watches provides the structures and functions for mapping a GroupVersionKind to an Ansible playbook or role.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finalizer ¶
type Finalizer struct { Name string `yaml:"name"` Playbook string `yaml:"playbook"` Role string `yaml:"role"` Vars map[string]interface{} `yaml:"vars"` }
Finalizer - Expose finalizer to be used by a user.
type Watch ¶
type Watch struct { GroupVersionKind schema.GroupVersionKind `yaml:",inline"` Blacklist []schema.GroupVersionKind `yaml:"blacklist"` Playbook string `yaml:"playbook"` Role string `yaml:"role"` Vars map[string]interface{} `yaml:"vars"` MaxRunnerArtifacts int `yaml:"maxRunnerArtifacts"` ReconcilePeriod metav1.Duration `yaml:"reconcilePeriod"` Finalizer *Finalizer `yaml:"finalizer"` ManageStatus bool `yaml:"manageStatus"` WatchDependentResources bool `yaml:"watchDependentResources"` WatchClusterScopedResources bool `yaml:"watchClusterScopedResources"` SnakeCaseParameters bool `yaml:"snakeCaseParameters"` WatchAnnotationsChanges bool `yaml:"watchAnnotationsChanges"` MarkUnsafe bool `yaml:"markUnsafe"` Selector metav1.LabelSelector `yaml:"selector"` // Not configurable via watches.yaml MaxConcurrentReconciles int `yaml:"-"` AnsibleVerbosity int `yaml:"-"` }
Watch - holds data used to create a mapping of GVK to ansible playbook or role. The mapping is used to compose an ansible operator.
Click to show internal directories.
Click to hide internal directories.