controllers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TunnelNetworkAttachment is the name of the network attachment
	// that will be used for overlay tenant networking. If present in
	// the list of attachments, OvnEncapIP is set to this interface's
	// IP.
	TunnelNetworkAttachmentName = "tenant"
)
View Source
const (
	// TunnelNetworkAttachment is the name of the network attachment
	// that will be used for overlay tenant networking. If present in
	// the list of attachments, OvnEncapIP is set to this interface's
	// IP.
	TunnelNetworkAttachmentNameOVSDBServer = "tenant"
)
View Source
const (
	// TunnelNetworkAttachment is the name of the network attachment
	// that will be used for overlay tenant networking. If present in
	// the list of attachments, OvnEncapIP is set to this interface's
	// IP.
	TunnelNetworkAttachmentNameOVSvswitchd = "tenant"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OVNControllerReconciler

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

OVNControllerReconciler reconciles a OVNController object

func (*OVNControllerReconciler) GetClient

func (r *OVNControllerReconciler) GetClient() client.Client

GetClient -

func (*OVNControllerReconciler) GetLogger

getlog returns a logger object with a prefix of "conroller.name" and aditional controller context fields

func (*OVNControllerReconciler) Reconcile

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

func (*OVNControllerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OVNDBClusterReconciler

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

OVNDBClusterReconciler reconciles a OVNDBCluster object

func (*OVNDBClusterReconciler) GetClient

func (r *OVNDBClusterReconciler) GetClient() client.Client

GetClient -

func (*OVNDBClusterReconciler) GetKClient

GetKClient -

func (*OVNDBClusterReconciler) GetLogger

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

getlog returns a logger object with a prefix of "conroller.name" and aditional controller context fields

func (*OVNDBClusterReconciler) GetScheme

func (r *OVNDBClusterReconciler) GetScheme() *runtime.Scheme

GetScheme -

func (*OVNDBClusterReconciler) Reconcile

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

Reconcile - OVN DBCluster

func (*OVNDBClusterReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OVNNorthdReconciler

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

OVNNorthdReconciler reconciles a OVNNorthd object

func (*OVNNorthdReconciler) GetClient

func (r *OVNNorthdReconciler) GetClient() client.Client

GetClient -

func (*OVNNorthdReconciler) GetLogger

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

getlog returns a logger object with a prefix of "conroller.name" and aditional controller context fields

func (*OVNNorthdReconciler) GetScheme

func (r *OVNNorthdReconciler) GetScheme() *runtime.Scheme

GetScheme -

func (*OVNNorthdReconciler) Reconcile

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

Reconcile - OVN Northd

func (*OVNNorthdReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OVSDBServerReconciler

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

OVSDBServerReconciler reconciles a OVSDBServer object

func (*OVSDBServerReconciler) GetLogger

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

getlog returns a logger object with a prefix of "conroller.name" and aditional controller context fields

func (*OVSDBServerReconciler) Reconcile

func (r *OVSDBServerReconciler) 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 OVSDBServer 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.14.1/pkg/reconcile

func (*OVSDBServerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OVSvswitchdReconciler

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

OVSvswitchdReconciler reconciles a OVSvswitchd object

func (*OVSvswitchdReconciler) GetLogger

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

getlog returns a logger object with a prefix of "conroller.name" and aditional controller context fields

func (*OVSvswitchdReconciler) Reconcile

func (r *OVSvswitchdReconciler) 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 OVSvswitchd 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.14.1/pkg/reconcile

func (*OVSvswitchdReconciler) SetupWithManager

func (r *OVSvswitchdReconciler) SetupWithManager(mgr ctrl.Manager, ctx context.Context) 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