jsonprovider

package
v0.12.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package jsonprovider contains types and functions to marshal terraform provider schemas into a json formatted output.

Index

Constants

View Source
const FormatVersion = "0.1"

FormatVersion represents the version of the json format and will be incremented for any change to this format that requires changes to a consuming parser.

Variables

This section is empty.

Functions

func Marshal

func Marshal(s *terraform.Schemas) ([]byte, error)

Types

type Provider

type Provider struct {
	Provider          *schema            `json:"provider,omitempty"`
	ResourceSchemas   map[string]*schema `json:"resource_schemas,omitempty"`
	DataSourceSchemas map[string]*schema `json:"data_source_schemas,omitempty"`
}

Jump to

Keyboard shortcuts

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