Documentation
¶
Index ¶
- func GetStorageSize(sts *appsv1.StatefulSet, storageVolume string) *resource.Quantity
- func HeadlessServiceNameVariants(meta metav1.ObjectMeta, pod, service string) []string
- func PodFQDNWithService(meta metav1.ObjectMeta, podIndex int, service string) string
- func PodIndex(podName string) (*int, error)
- func PodName(meta metav1.ObjectMeta, podIndex int) string
- func PodShortFQDNWithService(meta metav1.ObjectMeta, podIndex int, service string) string
- func ServiceFQDN(meta metav1.ObjectMeta) string
- func ServiceFQDNWithService(meta metav1.ObjectMeta, service string) string
- func ServiceNameVariants(meta metav1.ObjectMeta, service string) []string
- func ValidPodName(meta metav1.ObjectMeta, replicas int, podName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStorageSize ¶ added in v0.0.26
func GetStorageSize(sts *appsv1.StatefulSet, storageVolume string) *resource.Quantity
func HeadlessServiceNameVariants ¶ added in v0.37.0
func HeadlessServiceNameVariants(meta metav1.ObjectMeta, pod, service string) []string
func PodFQDNWithService ¶ added in v0.0.16
func PodFQDNWithService(meta metav1.ObjectMeta, podIndex int, service string) string
func PodShortFQDNWithService ¶ added in v0.0.30
func PodShortFQDNWithService(meta metav1.ObjectMeta, podIndex int, service string) string
func ServiceFQDN ¶
func ServiceFQDN(meta metav1.ObjectMeta) string
func ServiceFQDNWithService ¶ added in v0.0.16
func ServiceFQDNWithService(meta metav1.ObjectMeta, service string) string
func ServiceNameVariants ¶ added in v0.37.0
func ServiceNameVariants(meta metav1.ObjectMeta, service string) []string
func ValidPodName ¶ added in v0.0.30
func ValidPodName(meta metav1.ObjectMeta, replicas int, podName string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.