config

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIVersion string `yaml:"apiVersion"`
	Repo       string `yaml:"repo"`
	Path       string `yaml:"path"`
}

Config is yml top level config.

func NewConfigFromBytes

func NewConfigFromBytes(b []byte) (*Config, error)

NewConfigFromBytes returns a new config from a bytes

func NewConfigFromFilename

func NewConfigFromFilename(filename string) (*Config, error)

NewConfigFromFilename shorthand to NewConfigFromBytes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL