Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckError(err error)
Types ¶
type Containers ¶
type Containers struct { Name string `yaml:"name,omitempty"` Command []string `yaml:"command,omitempty"` Image string `yaml:"image,omitempty"` Resources Resources `yaml:"resources,omitempty"` WorkingDir string `yaml:"workingDir,omitempty"` SecurityContext SecurityContext `yaml:"securityContext,omitempty"` VolumeMounts []VolumeMounts `yaml:"volumeMounts,omitempty"` Env []EnvVar `yaml:"env,omitempty"` Ports []Port `yaml:"ports,omitempty"` Lifecycle Lifecycle `yaml:"lifecycle,omitempty"` }
type EnvVar ¶
type EnvVar struct { Name interface{} `yaml:"name,omitempty"` Value interface{} `yaml:"value,omitempty"` }
type Kubernetes ¶
type Kubernetes struct { Services []KubesService Deployments []KubesDeployment }
func (Kubernetes) MarshalToFile ¶
func (k Kubernetes) MarshalToFile(path string) error
func (Kubernetes) UnmarshalFromFile ¶
func (k Kubernetes) UnmarshalFromFile(path string) error
type KubesDeployment ¶
type KubesService ¶
type PodSpec ¶
type PodSpec struct { Containers []Containers `yaml:"containers,omitempty"` TerminationGracePeriodSeconds int `yaml:"terminationGracePeriodSeconds,omitempty"` }
type SecurityContext ¶
type SecurityContext struct {
Priviliged bool `yaml:"priviliged,omitempty"`
}
type VolumeMounts ¶
Click to show internal directories.
Click to hide internal directories.