Documentation ¶
Index ¶
Constants ¶
View Source
const (
IfaceIPAddrCleanInterval int = 5
)
Variables ¶
This section is empty.
Functions ¶
func EqualEndpointStatus ¶
func EqualEndpointStatus(s securityv1alpha1.EndpointStatus, e securityv1alpha1.EndpointStatus) bool
EqualEndpointStatus return true if and only if the two endpoint has the same status.
func GetEndpointID ¶
func GetEndpointID(ep securityv1alpha1.Endpoint) ctrltypes.ExternalID
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 ¶
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 ¶
func (*StrictMacController) SetupWithManager ¶
func (s *StrictMacController) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.