foundry

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Foundry

type Foundry interface {
	GetTypeByID(id string) (cty.Type, error)
}

Foundry is a mechanism to construct cty.Type types out of OpenAPI specifications

func NewFoundryFromSpecV2

func NewFoundryFromSpecV2(spec []byte) (Foundry, error)

NewFoundryFromSpecV2 creates a new cty.Type foundry from an OpenAPI v2 spec document * spec argument should be a valid OpenAPI v2 JSON document

Jump to

Keyboard shortcuts

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