controllers

package
v0.0.0-...-a024e70 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OctaviaAPIReconciler

type OctaviaAPIReconciler struct {
	client.Client
	Kclient kubernetes.Interface
	Scheme  *runtime.Scheme
}

OctaviaAPIReconciler reconciles a OctaviaAPI object

func (*OctaviaAPIReconciler) GetLogger

func (r *OctaviaAPIReconciler) GetLogger(ctx context.Context) logr.Logger

GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields

func (*OctaviaAPIReconciler) Reconcile

func (r *OctaviaAPIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err 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. TODO(user): Modify the Reconcile function to compare the state specified by the OctaviaAPI object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*OctaviaAPIReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OctaviaAmphoraControllerReconciler

type OctaviaAmphoraControllerReconciler struct {
	client.Client
	Kclient kubernetes.Interface
	Log     logr.Logger
	Scheme  *runtime.Scheme
}

OctaviaAmphoraControllerReconciler reconciles an OctaviaAmmphoraController object

func (*OctaviaAmphoraControllerReconciler) GetLogger

GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields

func (*OctaviaAmphoraControllerReconciler) Reconcile

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

Reconcile implementation of the reconcile loop for amphora controllers like the octavia housekeeper, worker and health manager services

func (*OctaviaAmphoraControllerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OctaviaReconciler

type OctaviaReconciler struct {
	client.Client
	Kclient kubernetes.Interface
	Log     logr.Logger
	Scheme  *runtime.Scheme
}

OctaviaReconciler reconciles an Octavia object

func (*OctaviaReconciler) GetLogger

func (r *OctaviaReconciler) GetLogger(ctx context.Context) logr.Logger

GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields

func (*OctaviaReconciler) Reconcile

func (r *OctaviaReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err 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. TODO(user): Modify the Reconcile function to compare the state specified by the Octavia object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

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

func (*OctaviaReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OctaviaRsyslogReconciler

type OctaviaRsyslogReconciler struct {
	client.Client
	Kclient kubernetes.Interface
	Log     logr.Logger
	Scheme  *runtime.Scheme
}

OctaviaRsyslogReconciler reconciles an OctaviaAmmphoraController object

func (*OctaviaRsyslogReconciler) GetLogger

GetLogger returns a logger object with a prefix of "controller.name" and additional controller context fields

func (*OctaviaRsyslogReconciler) Reconcile

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

Reconcile implementation of the reconcile loop for octavia rsyslog

func (*OctaviaRsyslogReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OctaviaTemplateVars

type OctaviaTemplateVars struct {
	LbMgmtNetworkID        string
	AmphoraDefaultFlavorID string
	LbSecurityGroupID      string
}

OctaviaTemplateVars structure that contains generated parameters for the service config files

Jump to

Keyboard shortcuts

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