controller

package
v0.0.0-...-b5ed4c6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrpServerReconciler

type FrpServerReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

FrpServerReconciler reconciles a FrpServer object

func (*FrpServerReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*FrpServerReconciler) SetupWithManager

func (r *FrpServerReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type FrpServerValidator

type FrpServerValidator struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*FrpServerValidator) Default

func (f *FrpServerValidator) Default(ctx context.Context, obj runtime.Object) error

Default implements admission.CustomDefaulter so a webhook will be registered for the type

func (*FrpServerValidator) SetupWebhookWithManager

func (f *FrpServerValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*FrpServerValidator) ValidateCreate

func (f *FrpServerValidator) ValidateCreate(ctx context.Context, object runtime.Object) (warnings admission.Warnings, errs error)

func (*FrpServerValidator) ValidateDelete

func (f *FrpServerValidator) ValidateDelete(_ context.Context, _ runtime.Object) (warnings admission.Warnings, err error)

ValidateDelete implements admission.CustomValidator so a webhook will be registered for the type

func (*FrpServerValidator) ValidateUpdate

func (f *FrpServerValidator) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, errs error)

ValidateUpdate implements admission.CustomValidator so a webhook will be registered for the type

type ServiceReconciler

type ServiceReconciler struct {
	client.Client
	Scheme  *runtime.Scheme
	Options *config.ManagerOptions
}

ServiceReconciler reconciles a FrpServer object

func (*ServiceReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*ServiceReconciler) SetupWithManager

func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager set up the controller with the Manager.

Jump to

Keyboard shortcuts

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