controller

package
v0.0.0-...-1f6a80c Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ServiceChainSetNameLabel      = dpuservicev1.SvcDpuGroupName + "/servicechainset-name"
	ServiceChainSetNamespaceLabel = dpuservicev1.SvcDpuGroupName + "/servicechainset-namespace"
	ServiceChainNodeNameLabel     = dpuservicev1.SvcDpuGroupName + "/nodeName"
)
View Source
const (
	ServiceInterfaceSetNameLabel      = dpuservicev1.SvcDpuGroupName + "/serviceinterfaceset-name"
	ServiceInterfaceSetNamespaceLabel = dpuservicev1.SvcDpuGroupName + "/serviceinterfaceset-namespace"
	ServiceInterfaceNodeNameLabel     = dpuservicev1.SvcDpuGroupName + "/nodeName"
	ServiceInterfaceServiceIDLabel    = dpuservicev1.SvcDpuGroupName + "/service-id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceChainSetReconciler

type ServiceChainSetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ServiceChainSetReconciler reconciles a ServiceChainSet object

func (*ServiceChainSetReconciler) Reconcile

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

func (*ServiceChainSetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ServiceInterfaceSetReconciler

type ServiceInterfaceSetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ServiceInterfaceSetReconciler reconciles a ServiceInterfaceSet object

func (*ServiceInterfaceSetReconciler) Reconcile

func (r *ServiceInterfaceSetReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr 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.

func (*ServiceInterfaceSetReconciler) SetupWithManager

func (r *ServiceInterfaceSetReconciler) SetupWithManager(mgr ctrl.Manager) 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