mutationconfig

package
v0.0.0-...-3a79d8d Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MutationConfig

type MutationConfig struct {
	Name                                  string           `yaml:"name"`
	AnnotationNamespace                   string           `yaml:"annotationNamespace"`
	AnnotationTrigger                     string           `yaml:"annotationTrigger"`
	AnnotationConfig                      annotationConfig `yaml:"annotationConfig,flow"`
	InitContainersBeforePodInitContainers []string         `yaml:"initContainersBeforePodInitContainers,omitempty,flow"`
	InitContainers                        []string         `yaml:"initContainers,flow"`
	Containers                            []string         `yaml:"containers,flow"`
	Volumes                               []string         `yaml:"volumes,flow"`
	VolumeMounts                          []string         `yaml:"volumeMounts,flow"`
	IgnoreNamespaces                      []string         `yaml:"ignoreNamespaces,flow"`
	ImplementsSidecarLifecycle            bool             `yaml:"implementsSidecarLifecycle,omitempty,flow"`
}

MutationConfig encapsulates a single mutation config

type MutationConfigs

type MutationConfigs struct {
	MutationConfigs []MutationConfig `yaml:"mutationConfigs,flow"`
}

MutationConfigs encapsulates set of mutation configs

func NewMutatingConfigs

func NewMutatingConfigs(mutationConfigsFile string) (*MutationConfigs, error)

NewMutatingConfigs constructor for MutationConfigs

Jump to

Keyboard shortcuts

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