Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetadataName ¶
GetMetadataName returns cron job metadata name
func NewApplySpec ¶
func NewApplySpec(log *zap.SugaredLogger, parameters templateParameters) (*batchv1.CronJobApplyConfiguration, error)
NewApplySpec is a method to return cron job apply spec
Types ¶
type Client ¶
type Client struct { ClientSet *kubernetes.Clientset Log *zap.SugaredLogger // contains filtered or unexported fields }
Client data struct for managing running cron jobs
func (*Client) Apply ¶
func (c *Client) Apply(id, name, namespace string, options CronJobOptions) error
Apply is a method to create or update a cron job
type CronJobOptions ¶
Click to show internal directories.
Click to hide internal directories.