manager

package
v1.11.4-rc.0 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) 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) 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