Documentation ¶
Index ¶
- type Config
- func (config *Config) BootCommand() string
- func (config *Config) DockerArgs() []string
- func (config *Config) DockerHostname(defaultHostname string) string
- func (config *Config) Dockerfile(pupsArgs string, bakeEnv bool) string
- func (config *Config) EnvArray(includeKnownSecrets bool) []string
- func (config *Config) RunImage() string
- func (config *Config) WriteYamlConfig(dir string) error
- func (config *Config) Yaml() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:-` Base_Image string `yaml:,omitempty` Update_Pups bool `yaml:,omitempty` Run_Image string `yaml:,omitempty` Boot_Command string `yaml:,omitempty` No_Boot_Command bool `yaml:,omitempty` Docker_Args string `yaml:,omitempty` Templates []string `yaml:templates,omitempty` Expose []string `yaml:expose,omitempty` Params map[string]string `yaml:params,omitempty` Env map[string]string `yaml:env,omitempty` Labels map[string]string `yaml:labels,omitempty` Volumes []struct { Volume struct { Host string `yaml:host` Guest string `yaml:guest` } `yaml:volume` } `yaml:volumes,omitempty` Links []struct { Link struct { Name string `yaml:name` Alias string `yaml:alias` } `yaml:link` } `yaml:links,omitempty` // contains filtered or unexported fields }
func LoadConfig ¶
func (*Config) BootCommand ¶
func (*Config) DockerArgs ¶
func (*Config) DockerHostname ¶
func (*Config) WriteYamlConfig ¶
Click to show internal directories.
Click to hide internal directories.