# Functions
Add creates a new controlplane webhook and adds it to the given Manager.
ContainerWithName returns the container with the given name if it exists in the given slice, nil otherwise.
DeserializeCommandLine deserializes the given string to a slice of command line elements by splitting it on white space and the "\" character.
EnsureContainerWithName ensures that a Container with a name equal to the name of the given Container exists in the given slice and is equal to the given Container.
EnsureEnvVarWithName ensures that a EnvVar with a name equal to the name of the given EnvVar exists in the given slice and is equal to the given EnvVar.
EnsureNoContainerWithName ensures that a Container with the given name does not exist in the given slice.
EnsureNoEnvVarWithName ensures that a EnvVar with the given name does not exist in the given slice.
EnsureNoPVCWithName ensures that a PVC with the given name does not exist in the given slice.
EnsureNoStringWithPrefix ensures that a string having the given prefix does not exist in the given slice.
EnsureNoStringWithPrefixContains ensures that either a string having the given prefix does not exist in the given slice, or it doesn't contain the given value in a list separated by sep.
EnsureNoVolumeMountWithName ensures that a VolumeMount with the given name does not exist in the given slice.
EnsureNoVolumeWithName ensures that a Volume with the given name does not exist in the given slice.
EnsurePVCWithName ensures that a PVC with a name equal to the name of the given PVC exists in the given slice and is equal to the given PVC.
EnsureStringWithPrefix ensures that a string having the given prefix exists in the given slice with a value equal to prefix + value.
EnsureStringWithPrefixContains ensures that a string having the given prefix exists in the given slice and contains the given value in a list separated by sep.
EnsureUnitOption ensures the given unit option exist in the given slice.
EnsureVolumeMountWithName ensures that a VolumeMount with a name equal to the name of the given VolumeMount exists in the given slice and is equal to the given VolumeMount.
EnsureVolumeWithName ensures that a Volume with a name equal to the name of the given Volume exists in the given slice and is equal to the given Volume.
FileWithPath returns the file with the given path if it exists in the given slice, nil otherwise.
GetBackupRestoreContainer returns an etcd backup-restore container with the given name, schedule, provider, image, and additional provider-specific command line args and env variables.
No description provided by the author
GetLoadBalancerIngress takes a context, a client, a namespace and a service name.
NewFileContentInlineCodec creates an returns a new FileContentInlineCodec.
NewKubeletConfigCodec creates an returns a new KubeletConfigCodec.
NewUnitSerializer creates and returns a new UnitSerializer.
PVCWithName returns the PersistentVolumeClaim with the given name if it exists in the given slice, nil otherwise.
SerializeCommandLine serializes the given command line elements slice to a string by joining the first n+1 elements with a space " ", and all subsequent elements with the given separator.
StringIndex returns the index of the first occurrence of the given string in the given slice, or -1 if not found.
StringWithPrefixIndex returns the index of the first occurrence of a string having the given prefix in the given slice, or -1 if not found.
UnitOptionWithSectionAndName returns the unit option with the given section and name if it exists in the given slice, nil otherwise.
UnitWithName returns the unit with the given name if it exists in the given slice, nil otherwise.
# Constants
BackupWebhookName is the backup webhook name.
ExposureWebhookName is the exposure webhook name.
WebhookName is the webhook name.
# Interfaces
FileContentInlineCodec contains methods for encoding and decoding byte slices to and from *extensionsv1alpha1.FileContentInline.
KubeletConfigCodec contains methods for encoding and decoding *kubeletconfigv1beta1.KubeletConfiguration objects to and from *extensionsv1alpha1.FileContentInline.
Mutator validates and if needed mutates objects.
UnitSerializer contains methods for serializing and deserializing a slice of systemd unit options to and from a string.