Documentation ¶
Index ¶
Constants ¶
View Source
const ( CRON_ACTION_REPOSITORY = "create-repository" CRON_ACTION_SNAPSHOT = "snapshot" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct { Kclient kubernetes.Interface CRD enterprisesv1.Scheduler }
func New ¶
func New(bucketName, cronSchedule string, enabled bool, userName, password, svcURL, clusterName, namespace string, kc kubernetes.Interface) *Scheduler
New creates an instance of Scheduler
func (*Scheduler) CreateCronJob ¶ added in v0.0.5
CreateCronJob creates a cron job
func (*Scheduler) CreateSnapshot ¶
CreateSnapshot creates snapshot cronjob
func (*Scheduler) CreateSnapshotRepository ¶
CreateSnapshotRepository creates the snapshot repository cronjob
Click to show internal directories.
Click to hide internal directories.