setup

package
v0.0.0-...-2d06211 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindConfigFile       = "kind.yaml"
	KindVersion          = "v0.13.0"
	KopsVersion          = "v1.23.1"
	KubernetesVersion    = "v1.23.6"
	GCloudVersion        = "383.0.1"
	GCloudVerbosity      = "warning"
	GCloudAccount        = "ixia-c-automation@kt-nts-athena-dev.iam.gserviceaccount.com"
	GCloudProject        = "kt-nts-athena-dev"
	GCloudRegion         = "us-central1"
	GCloudZone           = "us-central1-a"
	GCloudUser           = "test"
	GCloudEmail          = ""
	GCloudWorkerNodes    = 1
	GCloudMasterNodeType = "e2-standard-4"
	GCloudWorkerNodeType = "e2-standard-8"
	GCloudTopology       = "private"
	GCloudNetworking     = "calico"
	GCloudKubeconfigTTL  = "168h0m0s"
	KopsVerbosity        = 0
	NodeCount            = 1
	TimeOut              = 300
	MetallbVersion       = "v0.12"
	MetallbConfigFile    = "metallb.yaml"
	IxiaCOperatorVersion = "v0.1.94"
	MeshnetCommit        = "de89b2e"
	MeshnetVersion       = "v0.3.0"
)

Variables

View Source
var (
	ClusterTypeGC = true
)

Functions

func CommonSetup

func CommonSetup(args *[]string) error

func SetupCluster

func SetupCluster(kopsSetup bool) error

func TeardownCluster

func TeardownCluster(gcCluster bool) error

Types

type KindConfig

type KindConfig struct {
	Kind       string          `yaml:"kind"`
	APIVersion string          `yaml:"apiVersion"`
	Networking KindNetworkInfo `yaml:"networking"`
	Nodes      []KindRoleInfo  `yaml:"nodes"`
}

type KindNetworkInfo

type KindNetworkInfo struct {
	APIServerAddress string `yaml:"apiServerAddress"`
	APIServerPort    int    `yaml:"apiServerPort"`
}

type KindRoleInfo

type KindRoleInfo struct {
	Role string `yaml:"role"`
}

type MetallbConfig

type MetallbConfig struct {
	APIVersion string          `yaml:"apiVersion"`
	Kind       string          `yaml:"kind"`
	Metadata   MetallbMetadata `yaml:"metadata"`
	Data       MetallbData     `yaml:"data"`
}

type MetallbData

type MetallbData struct {
	Config string `yaml:"config"`
}

type MetallbMetadata

type MetallbMetadata struct {
	Namespace string `yaml:"namespace"`
	Name      string `yaml:"name"`
}

type Platform

type Platform struct {
	Os        string
	OsVersion string
}

Jump to

Keyboard shortcuts

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