Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constraints ¶
type Constraints struct { Replicas int32 `json:"replicas" yaml:"replicas"` CPU *float32 `json:"cpu,omitempty" yaml:"cpu,omitempty"` Memory *int64 `json:"memory,omitempty" yaml:"memory,omitempty"` }
Constraints holds the constraints information
type Credentials ¶
type Credentials struct { User string `json:"user,omitempty" yaml:"user,omitempty"` Pass string `json:"pass,omitempty" yaml:"pass,omitempty"` }
Credentials stores the space cloud credentials
type Deploy ¶
type Deploy struct { // Deployment specific config Name string `json:"name" yaml:"name"` Project string `json:"project" yaml:"project"` Kind string `json:"kind" yaml:"kind"` Runtime *Runtime `json:"runtime" yaml:"runtime"` Env map[string]string `json:"env" yaml:"env"` Constraints *Constraints `json:"constraints" yaml:"constraints"` Ports []*Port `json:"ports,omitempty" yaml:"ports,omitempty"` Expose []*Expose `json:"expose,omitempty" yaml:"expose,omitempty"` // CLI specific config WorkingDir string `json:"workingDir" yaml:"workingDir"` Ignore string `json:"ignore" yaml:"ignore"` }
Deploy holds the config for the deployment
type Expose ¶
type Expose struct { Prefix string `json:"prefix" yaml:"prefix"` Host string `json:"host" yaml:"host"` Proxy string `json:"proxy" yaml:"proxy"` }
Expose holds the information about the ports to expose
type GlobalConfig ¶
type GlobalConfig struct {
Clusters Clusters `json:"clusters"`
}
GlobalConfig stores the global config
Click to show internal directories.
Click to hide internal directories.