patcher

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 NewPatcher

func NewPatcher() *Patcher

NewPatcher returns a patcher.

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

func (p *Patcher) WithAnnotations(annotations labels.Set) *Patcher

WithAnnotations sets annotations to the patcher.

func (*Patcher) WithLabels

func (p *Patcher) WithLabels(labels labels.Set) *Patcher

WithLabels sets labels to the patcher.

func (*Patcher) WithVolumeData

func (p *Patcher) WithVolumeData(volume *operatorv1alpha1.VolumeData) *Patcher

WithVolumeData sets VolumeData to the patcher.

Jump to

Keyboard shortcuts

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