Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNodeSuitableAsTrafficProxy ¶ added in v1.1.6
IsNodeSuitableAsTrafficProxy check whether node is suitable as a traffic proxy. mimic the logic of serviceController: https://github.com/kubernetes/kubernetes/blob/b6b494b4484b51df8dc6b692fab234573da30ab4/pkg/controller/service/controller.go#L605
func IsPodSuitableAsIPTarget ¶ added in v1.1.7
IsPodSuitableAsIPTarget check whether pod is suitable as a TargetGroup's target (currently tested: are all pod's containers ready?).
Types ¶
type EndpointResolver ¶
type EndpointResolver interface { Resolve(*extensions.Ingress, *extensions.IngressBackend, string) ([]*elbv2.TargetDescription, error) ReverseResolve(*extensions.Ingress, *extensions.IngressBackend, []*elbv2.TargetDescription) ([]*corev1.Pod, error) }
EndpointResolver resolves the endpoints for specific ingress backend
func NewEndpointResolver ¶
func NewEndpointResolver(store store.Storer, cloud aws.CloudAPI) EndpointResolver
NewEndpointResolver constructs a new EndpointResolver
Click to show internal directories.
Click to hide internal directories.