Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONPatchNormalizer ¶
type JSONPatchNormalizer struct {
// contains filtered or unexported fields
}
func (*JSONPatchNormalizer) Add ¶
func (j *JSONPatchNormalizer) Add(gvk schema.GroupVersionKind, key objectset.ObjectKey, patch JSONPatch)
func (JSONPatchNormalizer) Normalize ¶
func (j JSONPatchNormalizer) Normalize(un *unstructured.Unstructured) error
type MutatingWebhookNormalizer ¶
type MutatingWebhookNormalizer struct {
Live objectset.ObjectByGVK
}
func (*MutatingWebhookNormalizer) Normalize ¶
func (m *MutatingWebhookNormalizer) Normalize(un *unstructured.Unstructured) error
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
func (_ StatusNormalizer) Normalize(un *unstructured.Unstructured) error
type ValidatingWebhookNormalizer ¶
type ValidatingWebhookNormalizer struct {
Live objectset.ObjectByGVK
}
func (*ValidatingWebhookNormalizer) Normalize ¶
func (v *ValidatingWebhookNormalizer) Normalize(un *unstructured.Unstructured) error
Click to show internal directories.
Click to hide internal directories.