normalizers

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONPatch

type JSONPatch []byte

type JSONPatchNormalizer

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

func (*JSONPatchNormalizer) Add

func (JSONPatchNormalizer) Normalize

type MutatingWebhookNormalizer

type MutatingWebhookNormalizer struct {
	Live objectset.ObjectByGVK
}

func (*MutatingWebhookNormalizer) Normalize

type Norm

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

func New

func New(lives objectset.ObjectByGVK, additions ...diff.Normalizer) Norm

func (Norm) Normalize

func (n Norm) Normalize(un *unstructured.Unstructured) error

type StatusNormalizer added in v0.9.6

type StatusNormalizer struct{}

StatusNormalizer removes a top-level "status" fields from the object, if present

func (StatusNormalizer) Normalize added in v0.9.6

type ValidatingWebhookNormalizer

type ValidatingWebhookNormalizer struct {
	Live objectset.ObjectByGVK
}

func (*ValidatingWebhookNormalizer) Normalize

Jump to

Keyboard shortcuts

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