Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerMap ¶
type ContainerMap struct {
Registry string `yaml:"registry,omitempty"`
Namespace string `yaml:"namespace,omitempty"`
Name string `yaml:"name,omitempty"`
MainService string `yaml:"main_service,omitempty" env:"MAIN_SERVICE"`
Shell string `yaml:"shell,omitempty" env:"MAIN_SHELL"`
Username string `yaml:"username,omitempty"`
}
type Deployment ¶
type LedoFile ¶
type LedoFile struct {
Runtime SupportedRuntime `yaml:"runtime"`
Container ContainerMap `yaml:"docker"`
Modes map[string]string `yaml:"modes"`
Project string `yaml:"project"`
Deployment []Deployment `yaml:"deployment,omitempty"`
}
func NewLedoFile ¶
type SupportedRuntime ¶
type SupportedRuntime string
const ( Docker SupportedRuntime = "docker" Podman SupportedRuntime = "podman" )
func (SupportedRuntime) Command ¶
func (e SupportedRuntime) Command() string
func (SupportedRuntime) Compose ¶
func (e SupportedRuntime) Compose() string
Click to show internal directories.
Click to hide internal directories.