Documentation
¶
Overview ¶
Code generated by generate-provider-schema/run.sh; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderVersion = "tags/v3.114.0"
Functions ¶
This section is empty.
Types ¶
type NestingMode ¶
type NestingMode int
const ( NestingSingle NestingMode NestingGroup NestingList NestingSet NestingMap )
type ProviderSchema ¶
type ProviderSchema struct {
ResourceSchemas map[string]*Schema `json:"resource_schemas,omitempty"`
}
var ProviderSchemaInfo ProviderSchema
type Schema ¶
type Schema struct {
Block *SchemaBlock `json:"block,omitempty"`
}
type SchemaAttribute ¶
type SchemaAttribute struct {
AttributeType cty.Type `json:"type,omitempty"`
Required bool `json:"required,omitempty"`
Optional bool `json:"optional,omitempty"`
Computed bool `json:"computed,omitempty"`
Default interface{} `json:"default,omitempty"`
ConflictsWith []string `json:"conflicts_with,omitempty"`
ExactlyOneOf []string `json:"exactly_one_of,omitempty"`
AtLeastOneOf []string `json:"at_least_one_of,omitempty"`
RequiredWith []string `json:"required_with,omitempty"`
}
type SchemaBlock ¶
type SchemaBlock struct {
Attributes map[string]*SchemaAttribute `json:"attributes,omitempty"`
NestedBlocks map[string]*SchemaBlockType `json:"block_types,omitempty"`
}
func FromProviderSchemaMap ¶
func FromProviderSchemaMap(providerschemas map[string]*schema.Schema) *SchemaBlock
func (*SchemaBlock) ImpliedType ¶
func (b *SchemaBlock) ImpliedType() cty.Type
type SchemaBlockType ¶
type SchemaBlockType struct {
NestingMode NestingMode `json:"nesting_mode,omitempty"`
Block *SchemaBlock `json:"block,omitempty"`
Required bool `json:"required,omitempty"`
Optional bool `json:"optional,omitempty"`
Computed bool `json:"computed,omitempty"`
ConflictsWith []string `json:"conflicts_with,omitempty"`
ExactlyOneOf []string `json:"exactly_one_of,omitempty"`
AtLeastOneOf []string `json:"at_least_one_of,omitempty"`
RequiredWith []string `json:"required_with,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.