Documentation ¶
Index ¶
Constants ¶
View Source
const ( LoadBalancerTypeNLBIP = "nlb-ip" LoadBalancerTypeExternal = "external" LoadBalancerTargetTypeIP = "ip" LoadBalancerTargetTypeInstance = "instance" )
Variables ¶
This section is empty.
Functions ¶
func NewDefaultModelBuilder ¶
func NewDefaultModelBuilder(annotationParser annotations.Parser, subnetsResolver networking.SubnetsResolver, vpcInfoProvider networking.VPCInfoProvider, vpcID string, trackingProvider tracking.Provider, elbv2TaggingManager elbv2deploy.TaggingManager, featureGates config.FeatureGates, clusterName string, defaultTags map[string]string, externalManagedTags []string, defaultSSLPolicy string, defaultTargetType string, enableIPTargetType bool, serviceUtils ServiceUtils) *defaultModelBuilder
NewDefaultModelBuilder construct a new defaultModelBuilder
func NewServiceUtils ¶
func NewServiceUtils(annotationsParser annotations.Parser, serviceFinalizer string, loadBalancerClass string, featureGates config.FeatureGates) *defaultServiceUtils
Types ¶
type ModelBuilder ¶
type ModelBuilder interface { // Build model stack for service Build(ctx context.Context, service *corev1.Service) (core.Stack, *elbv2model.LoadBalancer, error) }
ModelBuilder builds the model stack for the service resource.
type ServiceUtils ¶
type ServiceUtils interface { // IsServiceSupported returns true if the service is supported by the controller IsServiceSupported(service *corev1.Service) bool // IsServicePendingFinalization returns true if the service contains the aws-load-balancer-controller finalizer IsServicePendingFinalization(service *corev1.Service) bool }
ServiceUtils to check if the service is supported by the controller
Click to show internal directories.
Click to hide internal directories.