secret

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VcCredsSecretName is the credential secret that stores the VM operator service provider user credentials.
	VcCredsSecretName = "wcp-vmop-sa-vc-auth" //nolint:gosec
)

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(ctx *context.ControllerManagerContext, mgr manager.Manager) error

AddToManager adds this package's controller to the provided manager.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Context  goctx.Context
	Logger   logr.Logger
	Recorder record.Recorder
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(
	ctx goctx.Context,
	client client.Client,
	logger logr.Logger,
	recorder record.Recorder,
	vmOpNamespace string,
	provider provider) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx goctx.Context, req ctrl.Request) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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