func mountFromConfig(name string, values map[string]interface{}) (Resource, error) { mount := &MountConfig{} return mount, configtf.Transform(name, values, mount) }
func composeFromConfig(name string, values map[string]interface{}) (Resource, error) { compose := &ComposeConfig{Project: "{unique}", StopGrace: 5} return compose, configtf.Transform(name, values, compose) }
func envFromConfig(name string, values map[string]interface{}) (Resource, error) { cnf := &EnvConfig{} return cnf, configtf.Transform(name, values, cnf) }
// NewMetaConfig returns a new MetaConfig from config values func NewMetaConfig(name string, values map[string]interface{}) (*MetaConfig, error) { meta := &MetaConfig{} return meta, configtf.Transform(name, values, meta) }
func jobFromConfig(name string, values map[string]interface{}) (Resource, error) { cmd := &JobConfig{} return cmd, configtf.Transform(name, values, cmd) }
func aliasFromConfig(name string, values map[string]interface{}) (Resource, error) { alias := &AliasConfig{} return alias, configtf.Transform(name, values, alias) }
func imageFromConfig(name string, values map[string]interface{}) (Resource, error) { image := NewImageConfig() return image, configtf.Transform(name, values, image) }