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