mutators

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetClusterDDSIFFunc

type GetClusterDDSIFFunc func(clusterName logicalcluster.Name) (*ddsif.DiscoveringDynamicSharedInformerFactory, error)

type GetWorkspaceURLFunc

type GetWorkspaceURLFunc func(obj *unstructured.Unstructured) (*url.URL, error)

type ListSecretFunc

type ListSecretFunc func(clusterName logicalcluster.Name, namespace string) ([]runtime.Object, error)

type PodSpecableMutator

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

func NewPodspecableMutator

func NewPodspecableMutator(ddsifForUpstreamSyncer GetClusterDDSIFFunc, serviceLister listerscorev1.ServiceLister,
	syncTargetClusterName logicalcluster.Name, syncTargetName string, syncTargetUID types.UID,
	dnsNamespace string, upsyncPods bool) *PodSpecableMutator

func (*PodSpecableMutator) GVRs

func (*PodSpecableMutator) Mutate

Mutate applies the mutator changes to the object.

type SecretMutator

type SecretMutator struct {
}

func NewSecretMutator

func NewSecretMutator() *SecretMutator

func (*SecretMutator) GVRs

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