cloudup

package
v0.0.0-...-d54b621 Latest Latest
Warning

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

Go to latest
Published: May 13, 2016 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KEY_NAME = "name"
	KEY_TYPE = "_type"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConfig

type CloudConfig struct {
	CloudProvider string

	// The version of kubernetes to install
	KubernetesVersion string

	// The Node initializer technique to use: cloudinit or nodeup
	NodeInit string

	InstancePrefix    string
	ClusterName       string
	AllocateNodeCIDRs bool
	Zone              string
	Region            string
	Project           string

	Multizone bool

	ClusterIPRange        string
	ServiceClusterIPRange string
	MasterIPRange         string
	NonMasqueradeCidr     string

	NetworkProvider string

	HairpinMode string

	OpencontrailTag           string
	OpencontrailKubernetesTag string
	OpencontrailPublicSubnet  string

	EnableClusterMonitoring string
	EnableL7LoadBalancing   string
	EnableClusterUI         bool

	EnableClusterDNS bool
	DNSReplicas      int
	DNSServerIP      string
	DNSDomain        string

	EnableClusterLogging         bool
	EnableNodeLogging            bool
	LoggingDestination           string
	ElasticsearchLoggingReplicas int

	EnableClusterRegistry   bool
	ClusterRegistryDisk     string
	ClusterRegistryDiskSize int

	EnableCustomMetrics bool

	MasterName            string
	RegisterMasterKubelet bool
	MasterVolumeType      string
	MasterVolumeSize      int
	MasterTag             string
	MasterInternalIP      string
	MasterPublicIP        string
	MasterMachineType     string
	MasterImage           string

	NodeImage          string
	NodeCount          int
	NodeInstancePrefix string
	NodeLabels         string
	NodeMachineType    string
	NodeTag            string

	KubeUser string

	AdmissionControl string
	RuntimeConfig    string

	KubeImageTag       string
	KubeDockerRegistry string
	KubeAddonRegistry  string

	KubeletPort int

	KubeApiserverRequestTimeout int

	TerminatedPodGcThreshold string

	EnableManifestURL bool
	ManifestURL       string
	ManifestURLHeader string

	TestCluster string

	DockerOptions   string
	DockerStorage   string
	ExtraDockerOpts string

	E2EStorageTestEnvironment     string
	KubeletTestArgs               string
	KubeletTestLogLevel           string
	DockerTestArgs                string
	DockerTestLogLevel            string
	ApiserverTestArgs             string
	ApiserverTestLogLevel         string
	ControllerManagerTestArgs     string
	ControllerManagerTestLogLevel string
	SchedulerTestArgs             string
	SchedulerTestLogLevel         string
	KubeProxyTestArgs             string
	KubeProxyTestLogLevel         string

	Assets []string

	NodeUpTags []string

	NodeUp NodeUpConfig
}

func (*CloudConfig) WellKnownServiceIP

func (c *CloudConfig) WellKnownServiceIP(id int) (net.IP, error)

type Loader

type Loader struct {
	StateDir      string
	OptionsLoader *loader.OptionsLoader
	NodeModelDir  string

	Tags              map[string]struct{}
	TemplateFunctions template.FuncMap

	Resources map[string]fi.Resource
	// contains filtered or unexported fields
}

func (*Loader) AddTypes

func (l *Loader) AddTypes(types map[string]interface{})

func (*Loader) Build

func (l *Loader) Build(baseDir string) (map[string]fi.Task, error)

func (*Loader) Init

func (l *Loader) Init()

type NodeUpConfig

type NodeUpConfig struct {
	Location string
	Hash     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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