Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Synced is the Event reason when a RadixBatch is synced without errors Synced = "Synced" // SyncFailed is the Event reason when an error occurs while syncing a RadixBatch SyncFailed = "SyncFailed" // MessageResourceSynced is the message used for an Event fired when a RadixBatch // is synced successfully MessageResourceSynced = "RadixBatch synced successfully" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(ctx context.Context, client 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 RadixBatches
func NewHandler ¶
func NewHandler( kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient radixclient.Interface, options ...HandlerConfigOption) common.Handler
Types ¶
type HandlerConfigOption ¶
type HandlerConfigOption func(*handler)
HandlerConfigOption defines a configuration function used for additional configuration of handler
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.