Documentation ¶
Index ¶
- func DeleteCron(name, namespace, jobType string) error
- func DisplayAllCrons(crons []*types.CronInfo, allNamespaces bool, format types.FormatStyle)
- func DisplayCron(cron *types.CronInfo, format types.FormatStyle)
- func GetCronInfo(name, namespace string) (*types.CronInfo, error)
- func ListCrons(namespace string, allNamespaces bool) ([]*types.CronInfo, error)
- func SubmitCronTFJob(namespace string, submitArgs *types.CronTFJobArgs) (err error)
- func SuspendCron(name string, namespace string, suspend bool) error
- type CronHandler
- func (ch *CronHandler) DeleteCron(namespace string, name string) error
- func (ch *CronHandler) GetCron(namespace string, name string) (*types.CronInfo, error)
- func (ch *CronHandler) ListCrons(namespace string, allNamespaces bool) ([]*types.CronInfo, error)
- func (ch *CronHandler) UpdateCron(namespace string, name string, suspend bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCron ¶
func DisplayAllCrons ¶
func DisplayAllCrons(crons []*types.CronInfo, allNamespaces bool, format types.FormatStyle)
func DisplayCron ¶
func DisplayCron(cron *types.CronInfo, format types.FormatStyle)
func SubmitCronTFJob ¶
func SubmitCronTFJob(namespace string, submitArgs *types.CronTFJobArgs) (err error)
Types ¶
type CronHandler ¶ added in v0.8.4
type CronHandler struct {
// contains filtered or unexported fields
}
CronHandler cron handler
func GetCronHandler ¶ added in v0.8.4
func GetCronHandler() *CronHandler
func NewCronHandler ¶ added in v0.8.4
func NewCronHandler() *CronHandler
func (*CronHandler) DeleteCron ¶ added in v0.8.4
func (ch *CronHandler) DeleteCron(namespace string, name string) error
func (*CronHandler) UpdateCron ¶ added in v0.8.4
func (ch *CronHandler) UpdateCron(namespace string, name string, suspend bool) error
Click to show internal directories.
Click to hide internal directories.