shoot

package
v1.40.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultAddOptions are the default AddOptions for AddToManager.
	DefaultAddOptions = AddOptions{}
)

Functions

func AddToManager

func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)

AddToManager creates a webhook with the default options and adds it to the manager.

func AddToManagerWithOptions

func AddToManagerWithOptions(mgr manager.Manager, opts AddOptions) (*extensionswebhook.Webhook, error)

AddToManagerWithOptions creates a webhook with the given options and adds it to the manager.

func NewMutator

func NewMutator() extensionswebhook.Mutator

NewMutator creates a new Mutator that mutates resources in the shoot cluster.

Types

type AddOptions

type AddOptions struct{}

AddOptions are options to apply when adding the local shoot webhook to the manager.

type KubeProxyConfigCodec

type KubeProxyConfigCodec interface {
	// Encode encodes the given *kubeproxyconfigv1alpha1.KubeProxyConfiguration into a string.
	Encode(*kubeproxyconfigv1alpha1.KubeProxyConfiguration) (string, error)
	// Decode decodes a *kubeproxyconfigv1alpha1.KubeProxyConfiguration from the given string.
	Decode(string) (*kubeproxyconfigv1alpha1.KubeProxyConfiguration, error)
}

KubeProxyConfigCodec contains methods for encoding and decoding *kubeproxyconfigv1alpha1.KubeProxyConfiguration objects to and from string.

func NewKubeProxyConfigCodec

func NewKubeProxyConfigCodec() KubeProxyConfigCodec

NewKubeProxyConfigCodec creates an returns a new KubeProxyConfigCodec.

Jump to

Keyboard shortcuts

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