Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SuccessSynced is used as part of the Event 'reason' when a Job is synced SuccessSynced = "Synced" // MessageResourceSynced is the message used for an Event fired when a Job // is synced successfully MessageResourceSynced = "Radix Job 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 RadixJobs
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler Instance variables
func NewHandler ¶
func NewHandler(kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient radixclient.Interface, config *apiconfig.Config, hasSynced common.HasSynced) Handler
NewHandler Constructor
Click to show internal directories.
Click to hide internal directories.