cassandrabackup

package
v1.1.5-release Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new CassandraBackup Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileCassandraBackup

type ReconcileCassandraBackup struct {
	// contains filtered or unexported fields
}

ReconcileCassandraBackup reconciles a CassandraBackup object

func (*ReconcileCassandraBackup) Reconcile

Reconcile reads that state of the cluster for a CassandraBackup object and makes changes based on the state read and what is in the CassandraBackup.Spec

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler() Scheduler

func (Scheduler) AddOrUpdate

func (schedule Scheduler) AddOrUpdate(cassandraBackup *api.CassandraBackup,
	task func(), recorder *record.EventRecorder) (skipped bool, err error)

AddOrUpdate a cron task

func (Scheduler) Contains

func (schedule Scheduler) Contains(backupName string) bool

Contains check if a cron task already exists

func (Scheduler) Remove

func (schedule Scheduler) Remove(backupName string)

Jump to

Keyboard shortcuts

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