harborserverconfiguration

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New HarborServerConfiguration reconciler.

Types

type Reconciler

type Reconciler struct {
	*commonCtrl.Controller
	client.Client
	Scheme *runtime.Scheme
	Harbor *v2.Client
}

Reconciler reconciles a HarborServerConfiguration object.

func (*Reconciler) AddResources

func (r *Reconciler) AddResources(ctx context.Context, resource resources.Resource) error

func (*Reconciler) NewEmpty

func (r *Reconciler) NewEmpty(_ context.Context) resources.Resource

func (*Reconciler) Reconcile

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

Reconcile the HarborServerConfiguration.

func (*Reconciler) SetupWithManager

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

SetupWithManager for HarborServerConfiguration reconcile controller.

Jump to

Keyboard shortcuts

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