dnsalias

package
v1.52.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SuccessSynced is used as part of the Event 'reason' when a DNSAlias is synced
	SuccessSynced = "Synced"

	// MessageResourceSynced is the message used for an Event fired when a DNSAlias
	// is synced successfully
	MessageResourceSynced = "RadixDNSAlias synced successfully"
)

Variables

This section is empty.

Functions

func NewController

func NewController(kubeClient kubernetes.Interface,
	radixClient radixclient.Interface,
	handler common.Handler,
	kubeInformerFactory kubeinformers.SharedInformerFactory,
	radixInformerFactory informers.SharedInformerFactory,
	waitForChildrenToSync bool,
	recorder record.EventRecorder) *common.Controller

NewController creates a new controller that handles RadixDNSAlias

func NewHandler

func NewHandler(
	kubeClient kubernetes.Interface,
	kubeUtil *kube.Kube,
	radixClient radixclient.Interface,
	dnsConfig *dnsalias2.DNSConfig,
	hasSynced common.HasSynced,
	options ...HandlerConfigOption) common.Handler

NewHandler creates a handler for managing RadixDNSAlias resources

Types

type HandlerConfigOption

type HandlerConfigOption func(*handler)

HandlerConfigOption defines a configuration function used for additional configuration of handler

func WithIngressConfiguration

func WithIngressConfiguration(config ingress.IngressConfiguration) HandlerConfigOption

WithIngressConfiguration sets the list of custom ingress confiigurations

func WithOAuth2DefaultConfig

func WithOAuth2DefaultConfig(oauth2Config defaults.OAuth2Config) HandlerConfigOption

WithOAuth2DefaultConfig configures default OAuth2 settings

func WithSyncerFactory

func WithSyncerFactory(factory internal.SyncerFactory) HandlerConfigOption

WithSyncerFactory configures the SyncerFactory for the handler

Directories

Path Synopsis
Package internal is a generated GoMock package.
Package internal is a generated GoMock package.

Jump to

Keyboard shortcuts

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