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(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
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler( kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient radixclient.Interface, options ...HandlerConfigOption) *Handler
type HandlerConfigOption ¶
type HandlerConfigOption func(*Handler)
HandlerConfigOption defines a configuration function used for additional configuration of Handler
func WithSyncerFactory ¶
func WithSyncerFactory(factory batch.SyncerFactory) HandlerConfigOption
WithSyncerFactory configures the SyncerFactory for the Handler
Click to show internal directories.
Click to hide internal directories.