Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkloadEndpointManager ¶
type WorkloadEndpointManager interface {
RetriveIPAllocation(ctx context.Context, namespace, podName, containerID, nic string, includeHistory bool) (*spiderpoolv1.PodIPAllocation, bool, error)
MarkIPAllocation(ctx context.Context, node, namespace, podName, containerID string) error
PatchIPAllocation(ctx context.Context, namespace, podName string, allocation *spiderpoolv1.PodIPAllocation) error
ClearCurrentIPAllocation(ctx context.Context, namespace, podName, containerID string) error
GetEndpointByName(ctx context.Context, namespace, podName string) (*spiderpoolv1.WorkloadEndpoint, error)
RemoveFinalizer(ctx context.Context, namespace, podName string) error
ListAllHistoricalIPs(ctx context.Context, namespace, podName string) (map[string][]ippoolmanager.IPAndCID, error)
IsIPBelongWEPCurrent(ctx context.Context, namespace, podName, poolIP string) (bool, error)
CheckCurrentContainerID(ctx context.Context, namespace, podName, containerID string) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.