manager

package
v1.15.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "ScyllaManagerController"
)

Variables

This section is empty.

Functions

func NewBackupStatusFromManager added in v1.13.0

func NewBackupStatusFromManager(t *managerclient.TaskListItem) (*scyllav1.BackupTaskStatus, error)

func NewRepairStatusFromManager added in v1.13.0

func NewRepairStatusFromManager(t *managerclient.TaskListItem) (*scyllav1.RepairTaskStatus, error)

Types

type BackupTaskSpec added in v1.13.0

type BackupTaskSpec scyllav1.BackupTaskSpec

func (*BackupTaskSpec) GetObjectHash added in v1.15.0

func (b *BackupTaskSpec) GetObjectHash() (string, error)

func (*BackupTaskSpec) GetTaskSpec added in v1.15.0

func (b *BackupTaskSpec) GetTaskSpec() *scyllav1.TaskSpec

func (*BackupTaskSpec) ToManager added in v1.13.0

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

func (*BackupTaskSpec) ToStatus added in v1.13.0

func (b *BackupTaskSpec) ToStatus() *scyllav1.BackupTaskStatus

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 RepairTaskSpec added in v1.13.0

type RepairTaskSpec scyllav1.RepairTaskSpec

func (*RepairTaskSpec) GetObjectHash added in v1.15.0

func (r *RepairTaskSpec) GetObjectHash() (string, error)

func (*RepairTaskSpec) GetTaskSpec added in v1.15.0

func (r *RepairTaskSpec) GetTaskSpec() *scyllav1.TaskSpec

func (*RepairTaskSpec) ToManager added in v1.13.0

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

func (*RepairTaskSpec) ToStatus added in v1.13.0

func (r *RepairTaskSpec) ToStatus() *scyllav1.RepairTaskStatus

Jump to

Keyboard shortcuts

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