config

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONTROL_PLANE = "control-plane"
	WORKER        = "worker"

	BOOTSTRAP_FILE               = "bootstrap.sh"
	INIT_FILE                    = "k8s-init.sh"
	LADYBUG_BOOTSTRAP_CANAL_FILE = "ladybug-bootstrap-canal.sh"
	LADYBUG_BOOTSTRAP_KILO_FILE  = "ladybug-bootstrap-kilo.sh"
	SYSTEMD_SERVICE_FILE         = "systemd-service.sh"
	HA_PROXY_FILE                = "haproxy.sh"

	CSP_AWS   CSP = "aws"
	CSP_GCP   CSP = "gcp"
	CSP_AZURE CSP = "azure"

	NETWORKCNI_KILO  = "kilo"
	NETWORKCNI_CANAL = "canal"

	POD_CIDR       = "10.244.0.0/16"
	SERVICE_CIDR   = "10.96.0.0/12"
	SERVICE_DOMAIN = "cluster.local"
)

Variables

View Source
var Config = &conf{}

Functions

func Setup

func Setup()

Types

type CSP added in v0.3.5

type CSP string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL