mutators

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 13 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, serviceLister listerscorev1.ServiceLister,
	syncTargetLogicalClusterName logicalcluster.Name,
	syncTargetUID types.UID, syncTargetName, dnsNamespace string) *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) ([]runtime.Object, 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