Documentation ¶
Index ¶
- func ELBServiceAnnotations(cfg saasv1alpha1.LoadBalancerSpec, hostnames []string) map[string]string
- func NLBServiceAnnotations(cfg saasv1alpha1.NLBLoadBalancerSpec, hostnames []string) map[string]string
- func Ports(ports ...corev1.ServicePort) []corev1.ServicePort
- func TCPPort(name string, port int32, targetPort intstr.IntOrString) corev1.ServicePort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ELBServiceAnnotations ¶
func ELBServiceAnnotations(cfg saasv1alpha1.LoadBalancerSpec, hostnames []string) map[string]string
ELBServiceAnnotations returns annotations for services exposed through AWS Classic LoadBalancers
func NLBServiceAnnotations ¶
func NLBServiceAnnotations(cfg saasv1alpha1.NLBLoadBalancerSpec, hostnames []string) map[string]string
NLBServiceAnnotations returns annotations for services exposed through AWS Network LoadBalancers
func Ports ¶
func Ports(ports ...corev1.ServicePort) []corev1.ServicePort
Ports returns a list of corev1.ServicePort
func TCPPort ¶
func TCPPort(name string, port int32, targetPort intstr.IntOrString) corev1.ServicePort
TCPPort returns a TCP corev1.ServicePort
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.