mutators

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 14 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,
	syncTargetClusterName logicalcluster.Name,
	syncTargetUID types.UID, syncTargetName, dnsNamespace string, upsyncPods bool) *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