# Functions

DeleteServicesWithLabel - Delete all services in namespace of the obj matching label selector.
EndptProtocol returns the protocol for the endpoint if proto is nil http is considered.
GenericService func.
GetServicesListWithLabel - Get all services in namespace of the obj matching label selector.
GetServicesPortDetails - Return ServicePort with name from a Service.
GetServiceWithName - Get service with name in namespace.
MetalLBService func NOTE: (mschuppert) deprecated, can be removed when external endpoint creation moved to openstack-operator.
NewService returns an initialized Service.
ValidateRoutedOverrides - validates map of RoutedOverrideSpec.

# Constants

AnnotationEndpointKey -.
AnnotationHostnameKey -.
AnnotationIngressCreateKey -.
AnnotationIngressTargetPortNameKey -.
EndpointAdmin - admin endpoint.
EndpointInternal - internal endpoint.
EndpointPublic - public endpoint.
MetalLBAddressPoolAnnotation -.
MetalLBAllowSharedIPAnnotation -.
MetalLBLoadBalancerIPs -.
ProtocolHTTP -.
ProtocolHTTPS -.
ProtocolNone -.

# Structs

EmbeddedLabelsAnnotations is an embedded subset of the fields included in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta.
GenericServiceDetails - +kubebuilder:object:generate:=false.
GenericServicePort - +kubebuilder:object:generate:=false NOTE: (mschuppert) deprecated, can be removed when service operators moved to Ports.
MetalLBServiceDetails - +kubebuilder:object:generate:=false.
OverrideServiceSpec is a subset of the fields included in https://pkg.go.dev/k8s.io/[email protected]/core/v1#ServiceSpec Limited to Type, SessionAffinity, LoadBalancerSourceRanges, ExternalName, ExternalTrafficPolicy, SessionAffinityConfig, IPFamilyPolicy, LoadBalancerClass and InternalTrafficPolicy.
OverrideSpec - service override configuration for the Service created to serve traffic to the cluster.
RoutedOverrideSpec - a routed service override configuration for the Service created to serve traffic to the cluster.
Service - +kubebuilder:object:generate:=false.

# Type aliases

Endpoint - typedef to enumerate Endpoint verbs NOTE: (mschuppert) have to duplicate this for now.
Protocol of the endpoint (http/https).