configschema

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT. nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Type schema_cty.Type

	Description     string
	DescriptionKind StringKind

	Required bool

	Optional bool

	Computed bool

	Sensitive bool

	Deprecated bool
}

func (*Attribute) EmptyValue

func (a *Attribute) EmptyValue() empty_value_cty.Value

type Block

type Block struct {
	Attributes map[string]*Attribute

	BlockTypes map[string]*NestedBlock

	Description     string
	DescriptionKind StringKind

	Deprecated bool
}

func (*Block) CoerceValue

func (b *Block) CoerceValue(in coerce_value_cty.Value) (coerce_value_cty.Value, error)

func (*Block) EmptyValue

func (b *Block) EmptyValue() empty_value_cty.Value

func (*Block) ImpliedType

func (b *Block) ImpliedType() implied_type_cty.Type

type NestedBlock

type NestedBlock struct {
	Block

	Nesting NestingMode

	MinItems, MaxItems int
}

func (*NestedBlock) EmptyValue

func (b *NestedBlock) EmptyValue() empty_value_cty.Value

type NestingMode

type NestingMode int
const (
	NestingSingle NestingMode

	NestingGroup

	NestingList

	NestingSet

	NestingMap
)

func (NestingMode) String

func (i NestingMode) String() string

type StringKind

type StringKind int
const (
	StringPlain StringKind = iota

	StringMarkdown
)

Jump to

Keyboard shortcuts

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