configuration

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConfigurationLabelKey is the key label for configuration.
	ConfigurationLabelKey = "goharbor.io/configuration"
)

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, configStore *configstore.Store) (commonCtrl.Reconciler, error)

New HarborConfiguration reconciler.

func NewWithCm

func NewWithCm(ctx context.Context, configStore *configstore.Store) (commonCtrl.Reconciler, error)

New HarborConfiguration configmap reconciler.

Types

type CmReconciler

type CmReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

CmReconciler reconciles a configuration configmap.

func (*CmReconciler) NormalizeName

func (r *CmReconciler) NormalizeName(ctx context.Context, name string, suffixes ...string) string

func (*CmReconciler) Reconcile

func (r *CmReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Reconcile does configuration reconcile.

func (*CmReconciler) SetupWithManager

func (r *CmReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

type Reconciler

type Reconciler struct {
	*commonCtrl.Controller
	Scheme *runtime.Scheme
}

Reconciler reconciles a configuration cr.

func (*Reconciler) NormalizeName

func (r *Reconciler) NormalizeName(ctx context.Context, name string, suffixes ...string) string

func (*Reconciler) Reconcile

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

Reconcile does configuration reconcile.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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