{"modulePath":"github.com/runcom/cli-1","version":"v0.0.0-20170523011641-28eb46de5641","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package loader\n\n## Functions\n\n```go\nfunc GetDeprecatedProperties(configDetails types.ConfigDetails) map[string]string\n```\nGetDeprecatedProperties returns the list of any deprecated properties that are used in the compose files.\n\n```go\nfunc GetUnsupportedProperties(configDetails types.ConfigDetails) []string\n```\nGetUnsupportedProperties returns the list of any unsupported properties that are used in the Compose files.\n\n```go\nfunc Load(configDetails types.ConfigDetails) (*types.Config, error)\n```\nLoad reads a ConfigDetails and returns a fully loaded configuration\n\n```go\nfunc LoadConfigObjs(source map[string]interface{}, workingDir string) (map[string]types.ConfigObjConfig, error)\n```\nLoadConfigObjs produces a ConfigObjConfig map from a compose file Dict the source Dict is not validated if directly used. Use Load() to enable validation\n\n```go\nfunc LoadNetworks(source map[string]interface{}) (map[string]types.NetworkConfig, error)\n```\nLoadNetworks produces a NetworkConfig map from a compose file Dict the source Dict is not validated if directly used. Use Load() to enable validation\n\n```go\nfunc LoadSecrets(source map[string]interface{}, workingDir string) (map[string]types.SecretConfig, error)\n```\nLoadSecrets produces a SecretConfig map from a compose file Dict the source Dict is not validated if directly used. Use Load() to enable validation\n\n```go\nfunc LoadService(name string, serviceDict map[string]interface{}, workingDir string, lookupEnv template.Mapping) (*types.ServiceConfig, error)\n```\nLoadService produces a single ServiceConfig from a compose file Dict the serviceDict is not validated if directly used. Use Load() to enable validation\n\n```go\nfunc LoadServices(servicesDict map[string]interface{}, workingDir string, lookupEnv template.Mapping) ([]types.ServiceConfig, error)\n```\nLoadServices produces a ServiceConfig map from a compose file Dict the servicesDict is not validated if directly used. Use Load() to enable validation\n\n```go\nfunc LoadVolumes(source map[string]interface{}) (map[string]types.VolumeConfig, error)\n```\nLoadVolumes produces a VolumeConfig map from a compose file Dict the source Dict is not validated if directly used. Use Load() to enable validation\n\n```go\nfunc ParseYAML(source []byte) (map[string]interface{}, error)\n```\nParseYAML reads the bytes from a file, parses the bytes into a mapping structure, and returns it.\n\n## Types\n\n```go\ntype ForbiddenPropertiesError struct {\n\tProperties map[string]string\n}\n```\nForbiddenPropertiesError is returned when there are properties in the Compose file that are forbidden.\n\n```go\nfunc (e *ForbiddenPropertiesError) Error() string\n```\n\n","path":"github.com/runcom/cli-1/cli/compose/loader","name":"loader","synopsis":"","isRedistributable":true}
