Documentation
¶
Index ¶
- type App
- type AuthInfo
- type ConfigMapKeyRef
- type ConfigMapRef
- type DockerAuth
- type DockerCompose
- type DockerComposeService
- type DockerConfig
- type EnvFrom
- type EnvVar
- type EnvVarSource
- type ExecAction
- type HTTPGetAction
- type Lifecycle
- type LifecycleHandler
- type PostStartHook
- type Resource
- type Volume
- type VolumeConfigMapSource
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapKeyRef ¶
type ConfigMapRef ¶
type ConfigMapRef struct {
Name string `yaml:"name"`
}
type DockerAuth ¶
type DockerAuth struct {
Auth string `json:"auth,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
}
DockerAuth represents authentication info for a registry
type DockerCompose ¶
type DockerCompose struct {
Services map[string]DockerComposeService `yaml:"services"`
Networks map[string]interface{} `yaml:"networks"`
}
type DockerComposeService ¶
type DockerComposeService struct {
Image string `yaml:"image"`
Command []string `yaml:"command,omitempty"`
Environment map[string]string `yaml:"environment,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
Restart string `yaml:"restart,omitempty"`
Networks []string `yaml:"networks,omitempty"`
NetworkMode string `yaml:"network_mode,omitempty"`
}
type DockerConfig ¶
type DockerConfig struct {
Auths map[string]DockerAuth `json:"auths"`
}
type EnvFrom ¶
type EnvFrom struct {
ConfigMapRef *ConfigMapRef `yaml:"configMapRef,omitempty"`
}
type EnvVar ¶
type EnvVar struct {
Name string `yaml:"name"`
Value string `yaml:"value,omitempty"`
ValueFrom *EnvVarSource `yaml:"valueFrom,omitempty"`
}
type EnvVarSource ¶
type EnvVarSource struct {
ConfigMapKeyRef *ConfigMapKeyRef `yaml:"configMapKeyRef,omitempty"`
}
type ExecAction ¶
type ExecAction struct {
Command []string `yaml:"command"`
}
type HTTPGetAction ¶
type Lifecycle ¶
type Lifecycle struct {
PostStart *LifecycleHandler `yaml:"postStart,omitempty"`
}
type LifecycleHandler ¶
type LifecycleHandler struct {
Exec *ExecAction `yaml:"exec,omitempty"`
HTTPGet *HTTPGetAction `yaml:"httpGet,omitempty"`
}
type PostStartHook ¶
type Volume ¶
type Volume struct {
Name string `yaml:"name"`
ConfigMap *VolumeConfigMapSource `yaml:"configMap,omitempty"`
}
type VolumeConfigMapSource ¶
type VolumeConfigMapSource struct {
Name string `yaml:"name"`
}
type VolumeMount ¶
Click to show internal directories.
Click to hide internal directories.