admission

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 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 ExternalDNSConfig added in v0.2.0

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

ExternalDNSConfig passes configuration to the external DNS mutation behavior

func NewExternalDNSConfig added in v0.2.0

func NewExternalDNSConfig() *ExternalDNSConfig

func (*ExternalDNSConfig) SetEnabled added in v0.2.0

func (edc *ExternalDNSConfig) SetEnabled(enabled bool)

SetEnabled set the endabled field to a bool value

func (*ExternalDNSConfig) SetSelector added in v0.2.0

func (edc *ExternalDNSConfig) SetSelector(target string) error

SetSelector sets the select field from a string value or returns an error

func (*ExternalDNSConfig) SetTarget added in v0.2.0

func (edc *ExternalDNSConfig) SetTarget(target string)

SetTarget sets the target field to a string value

type GatewayMutationHook

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

func (*GatewayMutationHook) Handle

func (*GatewayMutationHook) InjectDecoder

func (g *GatewayMutationHook) InjectDecoder(d *admission.Decoder) error

func (*GatewayMutationHook) SetupWithManager

func (g *GatewayMutationHook) SetupWithManager(mgr manager.Manager)

type OptionsFunc added in v0.2.0

type OptionsFunc func(*GatewayMutationHook)

func WithExternalDNSConfig added in v0.2.0

func WithExternalDNSConfig(edc *ExternalDNSConfig) OptionsFunc

func WithNSLister added in v0.2.0

func WithNSLister(nsl corev1listers.NamespaceLister) OptionsFunc

type Selector added in v0.2.0

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

Selector is a key value pair for matching annotations

Jump to

Keyboard shortcuts

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