config

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const CLUSTER_DNS_IP = kubelink.CLUSTER_DNS_IP
View Source
const DNSMODE_DNS = kubelink.DNSMODE_DNS
View Source
const DNSMODE_KUBERNETES = kubelink.DNSMODE_KUBERNETES
View Source
const DNSMODE_NONE = kubelink.DNSMODE_NONE
View Source
const KUBELINK_DNS_IP = kubelink.KUBELINK_DNS_IP
View Source
const MANAGE_MODE_CERT = "cert"
View Source
const MANAGE_MODE_NONE = "none"
View Source
const MANAGE_MODE_SELF = "self"
View Source
const RUN_MODE_BRIDGE = "bridge"
View Source
const RUN_MODE_NONE = "none"
View Source
const RUN_MODE_WIREGUARD = "wireguard"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	controllers.Config

	ClusterName    string
	ClusterAddress *net.IPNet
	MeshCIDR       *net.IPNet

	ServiceCIDR *net.IPNet

	DNSServiceIP net.IP

	Responsible    utils.StringSet
	Port           int
	AdvertisedPort int

	CertFile   string
	KeyFile    string
	CACertFile string

	Secret     string
	ManageMode string
	DNSName    string
	Service    string
	Interface  string
	MeshDomain string

	ServiceAccount   resources.ObjectName
	DNSAdvertisement bool

	DNSPropagation string

	CoreDNSServiceIP  net.IP
	CoreDNSDeployment string
	CoreDNSSecret     string
	CoreDNSConfigure  bool

	MeshDNSServiceIP net.IP

	ClusterDomain string

	AutoConnect bool
	Mode        string
	// contains filtered or unexported fields
}

func (*Config) AddOptionsToSet

func (this *Config) AddOptionsToSet(set config.OptionSet)

func (*Config) Prepare

func (this *Config) Prepare() error

Jump to

Keyboard shortcuts

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