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(ctx context.Context, kubeClient kubernetes.Interface, radixClient radixclient.Interface, handler common.Handler, kubeInformerFactory kubeinformers.SharedInformerFactory, radixInformerFactory informers.SharedInformerFactory, 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
Click to show internal directories.
Click to hide internal directories.