Documentation ¶
Index ¶
- Constants
- func CreateOrUpdateService(ctx context.Context, client ctrlclient.Client, obj *corev1.Service) error
- func GenerateServiceForLBCluster(service corev1.Service, appName, namespace, resourceNamespace string, ...) corev1.Service
- func GetServiceName(service corev1.Service) string
- func GetServiceNamespace(service corev1.Service) string
- func NormalizeAndReplicateServices(ctx context.Context, log logr.Logger, client ctrlclient.Client, ...) ([]corev1.Service, error)
Constants ¶
View Source
const (
NodePortServicePattern = "%s-nodeport"
)
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateService ¶
func GenerateServiceForLBCluster ¶
func GenerateServiceForLBCluster(service corev1.Service, appName, namespace, resourceNamespace string, portAllocator *portlookup.PortAllocator, globalTopology bool, annotations kubelbv1alpha1.AnnotationSettings) corev1.Service
func GetServiceName ¶
func GetServiceNamespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.