Documentation
¶
Index ¶
- Constants
- type OVNControllerReconciler
- func (r *OVNControllerReconciler) GetClient() client.Client
- func (r *OVNControllerReconciler) GetLogger(ctx context.Context) logr.Logger
- func (r *OVNControllerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
- func (r *OVNControllerReconciler) SetupWithManager(mgr ctrl.Manager, ctx context.Context) error
- type OVNDBClusterReconciler
- func (r *OVNDBClusterReconciler) GetClient() client.Client
- func (r *OVNDBClusterReconciler) GetKClient() kubernetes.Interface
- func (r *OVNDBClusterReconciler) GetLogger(ctx context.Context) logr.Logger
- func (r *OVNDBClusterReconciler) GetScheme() *runtime.Scheme
- func (r *OVNDBClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
- func (r *OVNDBClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
- type OVNNorthdReconciler
- func (r *OVNNorthdReconciler) GetClient() client.Client
- func (r *OVNNorthdReconciler) GetLogger(ctx context.Context) logr.Logger
- func (r *OVNNorthdReconciler) GetScheme() *runtime.Scheme
- func (r *OVNNorthdReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error)
- func (r *OVNNorthdReconciler) SetupWithManager(mgr ctrl.Manager, ctx context.Context) error
- type OVSDBServerReconciler
- type OVSvswitchdReconciler
Constants ¶
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" )
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" )
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 ¶
func (r *OVNControllerReconciler) GetLogger(ctx context.Context) logr.Logger
getlog returns a logger object with a prefix of "conroller.name" and aditional controller context fields
func (*OVNControllerReconciler) SetupWithManager ¶
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 ¶
func (r *OVNDBClusterReconciler) GetKClient() kubernetes.Interface
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 ¶
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 ¶
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 ¶
SetupWithManager sets up the controller with the Manager.