Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUnsupportedKey ¶
func CheckUnsupportedKey(service interface{})
Types ¶
type ConvertOptions ¶
type KomposeObject ¶
type KomposeObject struct {
ServiceConfigs map[string]ServiceConfig
}
KomposeObject holds the generic struct of Kompose transformation
type ServiceConfig ¶
type ServiceConfig struct {
ContainerName string
Image string
Environment []EnvVar
Port []Ports
Command []string
WorkingDir string
Args []string
Volumes []string
Network []string
Labels map[string]string
Annotations map[string]string
CPUSet string
CPUQuota int64
CapAdd []string
CapDrop []string
Expose []string
Privileged bool
Restart string
User string
}
ServiceConfig holds the basic struct of a container
Click to show internal directories.
Click to hide internal directories.