Documentation ¶
Index ¶
- Constants
- func ContainerBuilderClusterRoleName(namespacePrefix string) string
- func ContainersSemanticallyEqual(container1, container2 *corev1.Container) bool
- func FullyQualifiedInternalAddressSubdomain(subdomain string, systemID v1.SystemID, latticeID v1.LatticeID, ...) string
- func FullyQualifiedInternalLatticeSubdomain(latticeID v1.LatticeID, internalDNSDomain string) string
- func FullyQualifiedInternalSystemSubdomain(systemID v1.SystemID, latticeID v1.LatticeID, internalDNSDomain string) string
- func GetKubeServiceNameForLoadBalancer(name string) string
- func GetKubeServiceNameForService(name string) string
- func GetLoadBalancerNameForKubeService(kubeService *corev1.Service) (string, error)
- func GetOwnerReference(obj metav1.Object, owner metav1.Object) *metav1.OwnerReference
- func GetServiceNameForKubeService(kubeService *corev1.Service) (string, error)
- func InternalAddressSubdomain(subdomain string, systemID v1.SystemID, latticeID v1.LatticeID) string
- func InternalNamespace(namespacePrefix string) string
- func InternalSystemSubdomain(systemID v1.SystemID, latticeID v1.LatticeID) string
- func LatticeNamespace(namespacePrefix, namespace string) string
- func NewConfig(kubeconfigPath, kubeContext string) (*rest.Config, error)
- func NumReadyNodes(nodes []corev1.Node) int32
- func PodTemplateSpecsSemanticallyEqual(template1, template2 *corev1.PodTemplateSpec) bool
- func SystemID(namespacePrefix, namespace string) (v1.SystemID, error)
- func SystemNamespace(namespacePrefix string, systemID v1.SystemID) string
- func UserSidecarContainerName(sidecar string) string
- func VolumesSemanticallyEqual(volume1, volume2 *corev1.Volume) bool
Constants ¶
View Source
const ( UserMainContainerName = "lattice-user-main" UserSidecarContainerPrefix = "lattice-user-sidecar-" )
View Source
const ( AddressControllerFinalizer = "address." + controllerLabel + finalizerSuffix BuildControllerFinalizer = "build." + controllerLabel + finalizerSuffix JobControllerFinalizer = "job." + controllerLabel + finalizerSuffix NodePoolControllerFinalizer = "nodepool." + controllerLabel + finalizerSuffix ServiceControllerFinalizer = "service." + controllerLabel + finalizerSuffix SystemControllerFinalizer = "system." + controllerLabel + finalizerSuffix )
Variables ¶
This section is empty.
Functions ¶
func GetOwnerReference ¶
func InternalNamespace ¶
func InternalSystemSubdomain ¶
func LatticeNamespace ¶
func NumReadyNodes ¶
func PodTemplateSpecsSemanticallyEqual ¶
func PodTemplateSpecsSemanticallyEqual(template1, template2 *corev1.PodTemplateSpec) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.