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)
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
Click to show internal directories.
Click to hide internal directories.