yaml

package
v0.0.0-...-861f61b Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 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 BaseStructure

type BaseStructure struct {
	Version int
	Input   map[string]Input `yaml:"input"`
	Tests   []Test
}

func Process

func Process(yaml string) (*BaseStructure, error)

func (*BaseStructure) GetInputName

func (b *BaseStructure) GetInputName() string

func (*BaseStructure) ProcessTests

func (b *BaseStructure) ProcessTests(inputName string, outputs *terraform.Data)

type Input

type Input struct {
	OutputsFile string `yaml:"outputs_file"`
}

type Test

type Test struct {
	Name    string
	Id      string
	Type    string
	Params  map[string]interface{}
	Expects map[string]interface{}
}

Jump to

Keyboard shortcuts

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