Documentation
¶
Index ¶
Constants ¶
View Source
const (
CIDRConfigMapPrefix = "vc-cidr-"
CIDRConfigMapKey = "cidr"
K0sConfigKey = "config.yaml"
K0sCIDRPlaceHolder = "CIDR_PLACEHOLDER"
ErrorMessageFind = "The range of valid IPs is "
FallbackCIDR = "10.96.0.0/12"
)
Variables ¶
This section is empty.
Functions ¶
func EnsureServiceCIDRInK0sSecret ¶
func EnsureServiceCIDRInK0sSecret(
ctx context.Context,
workspaceNamespaceClient,
currentNamespaceClient kubernetes.Interface,
workspaceNamespace,
currentNamespace string,
vClusterName string,
) (string, error)
func GetK0sSecretName ¶
func GetK0sSecretName(vClusterName string) string
func GetServiceCIDR ¶
func GetServiceCIDR(ctx context.Context, client kubernetes.Interface, namespace string) (string, string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.