configuration

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Environment *Environment
	Flannel     *Flannel

	Startup Startup
}

func NewConfig

func NewConfig() *Configuration

type Environment

type Environment struct {
	Home            string
	LogsDirectory   string
	ClientDirectory string
}

type Flags

type Flags struct {
	Context string
	Y       bool
}

type Flannel added in v0.0.33

type Flannel struct {
	Backend            string
	CIDR               []*net.IPNet
	InterfaceSpecified *net.Interface
	EnableIPv4         bool
	EnableIPv6         bool
	IPv6Masq           bool
	ConfigFile         string
	InterfaceFlannel   *backend.ExternalInterface
	Network            ip.IP4Net
	Networkv6          ip.IP6Net
}

type Startup added in v0.0.74

type Startup struct {
	Platform string
	Name     string
	Context  string

	LogLevel string
	Domains  string
	IPs      string

	Y bool
	F bool
	O string
	W string
	G string

	Image      string
	Tag        string
	Entrypoint string
	Args       string

	HostPort    string
	OverlayPort string
	EtcdPort    string

	Node string
	Join string

	Fbackend   string
	Fcidr      string
	Finterface string
}

Jump to

Keyboard shortcuts

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