tf_resource_schemas

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaultAttributes

func SetDefaultAttributes(schema *Schema, properties map[string]interface{})

Types

type ResourceSchemas

type ResourceSchemas map[string]*Schema

func LoadResourceSchemas

func LoadResourceSchemas() ResourceSchemas

type Schema

type Schema struct {
	Attributes map[string]*Schema `json:"attributes,omitempty"`
	Elem       *Schema            `json:"elem,omitempty"`
	Default    interface{}        `json:"default,omitempty"`
}

func GetAttribute

func GetAttribute(schema *Schema, key string) *Schema

func GetElem

func GetElem(schema *Schema) *Schema

Directories

Path Synopsis
Generates a minimal version of terraform's resource schemas that has just the info we need and that we can embed easily.
Generates a minimal version of terraform's resource schemas that has just the info we need and that we can embed easily.

Jump to

Keyboard shortcuts

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