controllers

package
v0.0.0-...-8982a16 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnsiblePlaybookReconciler

type AnsiblePlaybookReconciler struct {
	ReconcilerBase
	// Enable intensive information collection during the reconcile process
	Dense bool
}

AnsiblePlaybookReconciler reconciles a AnsiblePlaybook object

func (*AnsiblePlaybookReconciler) Reconcile

func (r *AnsiblePlaybookReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*AnsiblePlaybookReconciler) SetupWithManager

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

type EndpointReconciler

type EndpointReconciler struct {
	ReconcilerBase
}

EndpointReconciler reconciles a Endpoint object

func (*EndpointReconciler) Reconcile

func (r *EndpointReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*EndpointReconciler) SetupWithManager

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

type ReconcilerBase

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

func (*ReconcilerBase) Create

func (r *ReconcilerBase) Create(ctx context.Context, ocResource resources.OCResource, params interface{}, needPend bool) (ctrl.Result, error)

func (*ReconcilerBase) Delete

func (r *ReconcilerBase) Delete(ctx context.Context, ocResource resources.OCResource) (ctrl.Result, error)

func (*ReconcilerBase) GetLog

func (r *ReconcilerBase) GetLog(resource onecloudv1.IResource) logr.Logger

func (*ReconcilerBase) GetStatus

func (r *ReconcilerBase) GetStatus(ctx context.Context, ocResource resources.OCResource) (update bool, result ctrl.Result, err error)

func (*ReconcilerBase) MarkWaiting

func (r *ReconcilerBase) MarkWaiting(ctx context.Context, resource onecloudv1.IResource, msg string, waitIntervel time.Duration) (ctrl.Result, error)

func (*ReconcilerBase) RealDelete

func (r *ReconcilerBase) RealDelete(ctx context.Context, ocResource resources.OCResource) (ctrl.Result, error)

func (*ReconcilerBase) UseFinallizer

func (r *ReconcilerBase) UseFinallizer(ctx context.Context, ocResource resources.OCResource) (has bool, ret ctrl.Result, err error)

type VirtualMachineReconciler

type VirtualMachineReconciler struct {
	ReconcilerBase
}

VirtualMachineReconciler reconciles a VirtualMachine object

func (*VirtualMachineReconciler) Reconcile

func (r *VirtualMachineReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*VirtualMachineReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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