manager

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "ScyllaManagerController"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupTask

type BackupTask v1.BackupTaskStatus

func (*BackupTask) FromManager

func (b *BackupTask) FromManager(t *managerclient.TaskListItem) error

func (*BackupTask) GetStartDate added in v1.12.0

func (b *BackupTask) GetStartDate() string

func (*BackupTask) SetStartDate added in v1.12.0

func (b *BackupTask) SetStartDate(sd string)

func (BackupTask) ToManager

func (b BackupTask) ToManager() (*managerclient.Task, error)

type Controller

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

func NewController

func NewController(
	kubeClient kubernetes.Interface,
	scyllaClient scyllav1client.ScyllaV1Interface,
	secretInformer corev1informers.SecretInformer,
	scyllaClusterInformer scyllav1informers.ScyllaClusterInformer,
	managerClient *managerclient.Client,
) (*Controller, error)

func (*Controller) Run

func (c *Controller) Run(ctx context.Context, workers int)

type RepairTask

type RepairTask v1.RepairTaskStatus

func (*RepairTask) FromManager

func (r *RepairTask) FromManager(t *managerclient.TaskListItem) error

func (*RepairTask) GetStartDate added in v1.12.0

func (r *RepairTask) GetStartDate() string

func (*RepairTask) SetStartDate added in v1.12.0

func (r *RepairTask) SetStartDate(sd string)

func (RepairTask) ToManager

func (r RepairTask) ToManager() (*managerclient.Task, error)

Jump to

Keyboard shortcuts

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