Help us shape the future of Go! Take the 2026 Go Developer Survey

jsonprovider

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MPL-2.0 Imports: 4 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.2"

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