cron

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cron

type Cron struct {
	I *cron.Cron

	BackupId       cron.EntryID
	BackupSchedule string
	RotateId       cron.EntryID
	RotateSchedule string
	// contains filtered or unexported fields
}

func New

func New(timezone string) (*Cron, error)

func (*Cron) Start

func (c *Cron) Start(ctx contexts.Context,
	backupSchedule string, backupInput *types.CreateBackupRequest,
	rotateSchedule string, rotateInput *types.RotateBackupsRequest,
	containers types.ContainerTemplates,
) error

func (*Cron) Stop

func (c *Cron) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL