manager

package
v1.9.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 39 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 *mermaidclient.ExtendedTask) error

func (BackupTask) ToManager

func (b BackupTask) ToManager() (*mermaidclient.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 *mermaidclient.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 *mermaidclient.ExtendedTask) error

func (RepairTask) ToManager

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

Jump to

Keyboard shortcuts

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