genericactuator

package
v1.62.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 14 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActuator

func NewActuator(backupEntryDelegate BackupEntryDelegate) backupentry.Actuator

NewActuator creates a new Actuator that updates the status of the handled BackupEntry resources.

Types

type BackupEntryDelegate

type BackupEntryDelegate interface {
	// Delete deletes the BackupBucket.
	Delete(context.Context, logr.Logger, *extensionsv1alpha1.BackupEntry) error
	// GetETCDSecretData returns the updated secret data as per provider requirement.
	GetETCDSecretData(context.Context, logr.Logger, *extensionsv1alpha1.BackupEntry, map[string][]byte) (map[string][]byte, error)
}

BackupEntryDelegate preforms provider specific operation with BackupBucket resources.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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