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) WithLabels(labels labels.Set) *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) WithLabels ¶
WithLabels sets labels 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.