Documentation
¶
Index ¶
Constants ¶
View Source
const ( S3AccessKey = "access-key" S3SecretKey = "secret-key" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlInterface ¶
type ControlInterface interface {
UpdateNebulaRestore(rt *v1alpha1.NebulaRestore) error
}
func NewRestoreControl ¶
func NewRestoreControl(clientSet kube.ClientSet, restoreManager Manager) ControlInterface
type Manager ¶
type Manager interface { // Sync implements the logic for syncing NebulaRestore. Sync(restore *v1alpha1.NebulaRestore) error // UpdateCondition updates the condition for a NebulaRestore. UpdateCondition(restore *v1alpha1.NebulaRestore, condition *v1alpha1.RestoreCondition) error }
func NewRestoreManager ¶
type Reconciler ¶
type Reconciler struct { Control ControlInterface client.Client Log logr.Logger }
Reconciler reconciles a NebulaRestore object
func NewRestoreReconciler ¶
func NewRestoreReconciler(mgr ctrl.Manager) (*Reconciler, error)
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, opts controller.Options) error
SetupWithManager sets up the controller with the Manager.
type RestoreAgent ¶ added in v1.5.0
type RestoreAgent struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.