package loader

import "github.com/aanand/compose-file/loader"

Index

Functions

func GetDeprecatedProperties

func GetDeprecatedProperties(configDetails types.ConfigDetails) map[string]string

func GetUnsupportedProperties

func GetUnsupportedProperties(configDetails types.ConfigDetails) []string

func Load

func Load(configDetails types.ConfigDetails) (*types.Config, error)

Load reads a ConfigDetails and returns a fully loaded configuration

func ParseYAML

func ParseYAML(source []byte) (types.Dict, error)

ParseYAML reads the bytes from a file, parses the bytes into a mapping structure, and returns it.

Types

type ForbiddenPropertiesError

type ForbiddenPropertiesError struct {
	Properties map[string]string
}

func (*ForbiddenPropertiesError) Error

func (e *ForbiddenPropertiesError) Error() string

Source Files

loader.go

Version
v0.0.0-20170111165333-8b762b24ea40 (latest)
Published
Jan 11, 2017
Platform
js/wasm
Imports
15 packages
Last checked
1 month ago

Tools for package owners.