v1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Version string = "v1"

Variables

View Source
var Kubernetes = &kubernetesInfo{
	RegexPatterns: &kubernetesRegexPatterns{
		Name: "^[a-z][a-z0-9-]{0,50}[a-z0-9]$",
	},
}

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Name      string
	Container *AppContainer
	External  *AppExternal
}

type AppContainer

type AppContainer struct {
	Image string
	Port  int
}

type AppExternal

type AppExternal struct {
	Domain string
	Port   int
}

type Cluster

type Cluster struct {
	TillerNamespace string `yaml:"tillerNamespace"`
	UseKubeConfig   bool   `yaml:"useKubeConfig,omitempty"`
	ApiServer       string `yaml:"apiServer,omitempty"`
	CaCert          string `yaml:"caCert,omitempty"`
	User            *User  `yaml:"user,omitempty"`
}

type DevSpaceConfig

type DevSpaceConfig struct {
	Version        string                      `yaml:"version"`
	PortForwarding []*PortForwarding           `yaml:"portForwarding"`
	SyncPaths      []*SyncPath                 `yaml:"syncPath"`
	Registry       map[interface{}]interface{} `yaml:"registry,omitempty"`
}

type PortForwarding

type PortForwarding struct {
	ResourceType  string            `yaml:"resourceType"`
	LabelSelector map[string]string `yaml:"labelSelector"`
	PortMappings  []*PortMapping    `yaml:"portMappings"`
}

type PortMapping

type PortMapping struct {
	LocalPort  int `yaml:"localPort"`
	RemotePort int `yaml:"remotePort"`
}

type PrivateConfig

type PrivateConfig struct {
	Version  string          `yaml:"version"`
	Release  *Release        `yaml:"release"`
	Registry *RegistryAccess `yaml:"registry"`
	Cluster  *Cluster        `yaml:"cluster"`
}

type RegistryAccess

type RegistryAccess struct {
	Release *Release      `yaml:"release"`
	User    *RegistryUser `yaml:"user"`
}

type RegistryUser

type RegistryUser struct {
	Username string `yaml:"username"`
	Password string `yaml:"password"`
}

type Release

type Release struct {
	Name        string `yaml:"name"`
	Namespace   string `yaml:"namespace"`
	LatestBuild string `yaml:"latestBuild"`
	LatestImage string `yaml:"latestImage"`
}

type SyncPath

type SyncPath struct {
	ResourceType  string            `yaml:"resourceType"`
	LabelSelector map[string]string `yaml:"labelSelector"`
	LocalSubPath  string            `yaml:"localSubPath"`
	ContainerPath string            `yaml:"containerPath"`
	ExcludeRegex  []string          `yaml:"excludeRegex"`
}

type User

type User struct {
	Username   string `yaml:"username,omitempty"`
	ClientCert string `yaml:"clientCert,omitempty"`
	ClientKey  string `yaml:"clientKey,omitempty"`
}

Jump to

Keyboard shortcuts

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