Documentation ¶
Index ¶
- type Config
- func NewConfig(name string) *Config
- func Parse(log logrus.FieldLogger, uie ui.Emitter, name string, buf []byte) (*Config, error)
- func ParseAll(log logrus.FieldLogger, uie ui.Emitter, buf []byte) ([]*Config, error)
- func Read(log logrus.FieldLogger, uie ui.Emitter, r io.Reader) ([]*Config, error)
- func ReadFile(log logrus.FieldLogger, uie ui.Emitter, fpath string) ([]*Config, error)
- func ReadYAML(log logrus.FieldLogger, uie ui.Emitter, r io.Reader) ([]*Config, error)
- type Container
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string Size int Image string Port int Container *Container Params params.Config Lifecycle lifecycle.Manager // contains filtered or unexported fields }
func (Config) Emitter ¶
func (c Config) Emitter() ui.PoolEmitter
func (Config) Log ¶
func (c Config) Log() logrus.FieldLogger
type Container ¶
type Container struct { // docker/docker/api/types/container/config.go Labels map[string]string // unused Env []string Cmd strslice.StrSlice Volumes map[string]struct{} Entrypoint strslice.StrSlice // Entrypoint to run when starting the container User string // docker/docker/api/types/container/host_config.go CapAdd strslice.StrSlice CapDrop strslice.StrSlice }
func NewContainer ¶
func NewContainer() *Container
Click to show internal directories.
Click to hide internal directories.