opfile

package
v0.1.45 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileName = "op.yml"
)

Variables

This section is empty.

Functions

func Get added in v0.1.44

func Get(
	ctx context.Context,
	opPath string,
) (
	*model.OpSpec,
	error,
)

Get gets the validated, deserialized representation of an "op.yml" file

func Unmarshal added in v0.1.44

func Unmarshal(
	opFileBytes []byte,
) (*model.OpSpec, error)

Unmarshal validates and unmarshals an "op.yml" file

func Validate added in v0.1.44

func Validate(
	opFileBytes []byte,
) []error

Validate validates an "op.yml"

Types

This section is empty.

Jump to

Keyboard shortcuts

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