endpoint

package
v0.0.0-...-e1628ab Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IfaceIPAddrCleanInterval int = 5
)

Variables

This section is empty.

Functions

func EqualEndpointStatus

EqualEndpointStatus return true if and only if the two endpoint has the same status.

func GetEndpointID

GetEndpointID return ID of an endpoint, it's unique in one cluster.

Types

type EndpointReconciler

type EndpointReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

EndpointReconciler watch endpoints and agentinfos resources, synchronize the endpoint status from agentinfo.

func (*EndpointReconciler) Reconcile

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

Reconcile receive endpoint from work queue, synchronize the endpoint status from agentinfo.

func (*EndpointReconciler) SetupWithManager

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

SetupWithManager create and add Endpoint Controller to the manager.

type StrictMacController

type StrictMacController struct {
	client.Client
	// contains filtered or unexported fields
}

func (*StrictMacController) Reconcile

func (s *StrictMacController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*StrictMacController) SetupWithManager

func (s *StrictMacController) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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