Documentation ¶
Index ¶
- type Patcher
- func (p *Patcher) ForDeployment(deployment *appsv1.Deployment)
- func (p *Patcher) ForStatefulSet(sts *appsv1.StatefulSet)
- func (p *Patcher) WithAnnotations(annotations labels.Set) *Patcher
- func (p *Patcher) WithExtraArgs(extraArgs map[string]string) *Patcher
- func (p *Patcher) WithFeatureGates(featureGates map[string]bool) *Patcher
- func (p *Patcher) WithLabels(labels labels.Set) *Patcher
- func (p *Patcher) WithResources(resources corev1.ResourceRequirements) *Patcher
- func (p *Patcher) WithVolumeData(volume *operatorv1alpha1.VolumeData) *Patcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Patcher ¶
type Patcher struct {
// contains filtered or unexported fields
}
Patcher defines multiple variables that need to be patched.
func (*Patcher) ForDeployment ¶
func (p *Patcher) ForDeployment(deployment *appsv1.Deployment)
ForDeployment patches the deployment manifest.
func (*Patcher) ForStatefulSet ¶
func (p *Patcher) ForStatefulSet(sts *appsv1.StatefulSet)
ForStatefulSet patches the statefulset manifest.
func (*Patcher) WithAnnotations ¶
WithAnnotations sets annotations to the patcher.
func (*Patcher) WithExtraArgs ¶ added in v1.7.0
WithExtraArgs sets extraArgs to the patcher.
func (*Patcher) WithFeatureGates ¶ added in v1.7.0
WithFeatureGates sets featureGates to the patcher.
func (*Patcher) WithLabels ¶
WithLabels sets labels to the patcher.
func (*Patcher) WithResources ¶ added in v1.8.0
func (p *Patcher) WithResources(resources corev1.ResourceRequirements) *Patcher
WithResources sets resources to the patcher.
func (*Patcher) WithVolumeData ¶
func (p *Patcher) WithVolumeData(volume *operatorv1alpha1.VolumeData) *Patcher
WithVolumeData sets VolumeData to the patcher.
Click to show internal directories.
Click to hide internal directories.