configuration

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 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 {
	Target      string `default:"development" json:"target"`
	Root        string `json:"root"`
	Environment *Environment
	Flags       Flags
	Flannel     *Flannel
}

func NewConfig

func NewConfig() *Configuration

type Environment

type Environment struct {
	HOMEDIR    string
	FLANNELDIR string
	ROOTDIR    string
	LOGDIR     string
	CLIENTIP   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
}

Jump to

Keyboard shortcuts

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