Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CronJobCreated means cronjob has been created CronJobCreated = "CronJobCreated" // CronJobDeleted means cronjob has been deleted CronJobDeleted = "CronJobDeleted" )
View Source
const CronJobKind = "cronjob"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronJobReconciler ¶
type CronJobReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
CronJobReconciler reconciles a CronJob object
func NewCronJobReconcile ¶
func NewCronJobReconcile(mgr manager.Manager) *CronJobReconciler
NewReconcile 返回一个新的 reconcile
func (*CronJobReconciler) Reconcile ¶
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*CronJobReconciler) SetupWithManager ¶
func (r *CronJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.