controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OCIClusterReconciler

type OCIClusterReconciler struct {
	client.Client
	Scheme                    *runtime.Scheme
	VCNClient                 core.VirtualNetworkClient
	NetworkLoadBalancerClient nlb.NetworkLoadBalancerClient
	Recorder                  record.EventRecorder
	IdentityClient            identity.IdentityClient
	Region                    string
}

OCIClusterReconciler reconciles a OciCluster object

func (*OCIClusterReconciler) Reconcile

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

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

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*OCIClusterReconciler) SetupWithManager

func (r *OCIClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type OCIMachineReconciler

type OCIMachineReconciler struct {
	client.Client
	Scheme                    *runtime.Scheme
	ComputeClient             compute.ComputeClient
	Recorder                  record.EventRecorder
	VCNClient                 core.VirtualNetworkClient
	NetworkLoadBalancerClient nlb.NetworkLoadBalancerClient
}

OCIMachineReconciler reconciles a OciMachine object

func (*OCIMachineReconciler) OCIClusterToOCIMachines

func (r *OCIMachineReconciler) OCIClusterToOCIMachines(ctx context.Context) handler.MapFunc

func (*OCIMachineReconciler) Reconcile

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

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

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*OCIMachineReconciler) SetupWithManager

func (r *OCIMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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