patching

package
v0.0.0-...-db62745 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnotationPatch

type AnnotationPatch struct {
	// contains filtered or unexported fields
}

func NewAnnotation

func NewAnnotation(name, value string) AnnotationPatch

func (AnnotationPatch) GetPatchBytes

func (p AnnotationPatch) GetPatchBytes() []byte

func (AnnotationPatch) Type

func (p AnnotationPatch) Type() types.PatchType

type CPURequestPatch

type CPURequestPatch struct {
	// contains filtered or unexported fields
}

func NewCPURequestPatch

func NewCPURequestPatch(stSet *appsv1.StatefulSet, value *resource.Quantity) CPURequestPatch

func (CPURequestPatch) GetPatchBytes

func (p CPURequestPatch) GetPatchBytes() []byte

func (CPURequestPatch) Type

func (p CPURequestPatch) Type() types.PatchType

type LabelPatch

type LabelPatch struct {
	// contains filtered or unexported fields
}

func NewLabel

func NewLabel(name, value string) LabelPatch

func (LabelPatch) GetPatchBytes

func (p LabelPatch) GetPatchBytes() []byte

func (LabelPatch) Type

func (p LabelPatch) Type() types.PatchType

type SetOwnerPatch

type SetOwnerPatch struct {
	// contains filtered or unexported fields
}

func NewSetOwner

func NewSetOwner(ownerReference metav1.OwnerReference) SetOwnerPatch

func (SetOwnerPatch) GetPatchBytes

func (p SetOwnerPatch) GetPatchBytes() []byte

func (SetOwnerPatch) Type

func (p SetOwnerPatch) Type() types.PatchType

type TestingAnnotationPatch

type TestingAnnotationPatch struct {
	// contains filtered or unexported fields
}

func NewTestingAnnotation

func NewTestingAnnotation(name, value string, oldValue *string) TestingAnnotationPatch

func (TestingAnnotationPatch) GetPatchBytes

func (p TestingAnnotationPatch) GetPatchBytes() []byte

func (TestingAnnotationPatch) Type

Jump to

Keyboard shortcuts

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