Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCronJob ¶
Types ¶
type CronJobMutator ¶
type CronJobMutator struct { Scheme *runtime.Scheme Existing *batchv1.CronJob Plugin *v1alpha1.Plugin PluginRef v1alpha1.PluginReference ClusterScan *v1alpha1.ClusterScan KubeconfigSecret *corev1.Secret WorkerImage string ServiceAccountName string Suspend bool KubexnsImage string KubexnsPullPolicy string ChecksConfigMap string TrivyPVC string TrivyFSGroup int64 ClusterUID types.UID }
func (*CronJobMutator) Mutate ¶
func (r *CronJobMutator) Mutate() error
Mutate returns a function which mutates the existing CronJob into it's desired state.
Click to show internal directories.
Click to hide internal directories.