Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxBackendNum = 39
)
MAX_BACKEND_NUM max batch backend num
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EndpointWithENI ¶
type EndpointWithENI struct { // TrafficPolicy // external traffic policy. TrafficPolicy helper.TrafficPolicy // AddressIPVersion // it indicates the address ip version type of the backends attached to the LoadBalancer AddressIPVersion model.AddressIPVersionType // Nodes // contains all the candidate nodes consider of LoadBalance Backends. // Cloud implementation has the right to make any filter on it. Nodes []v1.Node // Endpoints // It is the direct pod location information which cloud implementation // may needed for some kind of filtering. eg. direct ENI attach. Endpoints *v1.Endpoints // EndpointSlices // contains all the endpointslices of a service EndpointSlices []discovery.EndpointSlice }
EndpointWithENI Currently, EndpointWithENI accept two kind of backend normal nodes of type []*v1.Node, and endpoints of type *v1.Endpoints
func NewEndpointWithENI ¶
func NewEndpointWithENI(reqCtx *svcCtx.RequestContext, kubeClient client.Client) (*EndpointWithENI, error)
Click to show internal directories.
Click to hide internal directories.