mutators

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 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 DeploymentMutator

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

func NewDeploymentMutator

func NewDeploymentMutator(upstreamURL *url.URL, secretLister ListSecretFunc) *DeploymentMutator

func (*DeploymentMutator) GVR

func (*DeploymentMutator) Mutate

Mutate applies the mutator changes to the object.

type ListSecretFunc

type ListSecretFunc func(clusterName logicalcluster.Name, namespace string) ([]*unstructured.Unstructured, error)

type SecretMutator

type SecretMutator struct {
}

func NewSecretMutator

func NewSecretMutator() *SecretMutator

func (*SecretMutator) GVR

func (*SecretMutator) Mutate

func (sm *SecretMutator) Mutate(obj *unstructured.Unstructured) error

Mutate applies the mutator changes to the object.

Jump to

Keyboard shortcuts

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