Documentation ¶
Index ¶
- func AttributeKindGen() *rapid.Generator[AttributeKind]
- func PropertyNameGen() *rapid.Generator[string]
- func ResourceBlockGen(depth int) *rapid.Generator[*schema.Resource]
- func ResourceProperGen(depth int) *rapid.Generator[*schema.Resource]
- func SchemaAttrGen(depth int) *rapid.Generator[*schema.Schema]
- func SchemaBlockGen(depth int) *rapid.Generator[*schema.Schema]
- func SchemaGen(depth int) *rapid.Generator[*schema.Schema]
- func SchemaMapGen(depth int) *rapid.Generator[map[string]*schema.Schema]
- func ValueTypeGen() *rapid.Generator[schema.ValueType]
- func ValueTypeScalarGen() *rapid.Generator[schema.ValueType]
- type AttributeKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributeKindGen ¶
func AttributeKindGen() *rapid.Generator[AttributeKind]
func PropertyNameGen ¶
func ResourceBlockGen ¶
Generates a schema.Resource representing a block.
func ResourceProperGen ¶
schema.Resource docs state this is an abstraction over resources proper, data sources and blocks. This generator creates values representing resources proper.
Types ¶
type AttributeKind ¶
type AttributeKind int
const ( Required AttributeKind = iota Optional Computed ComputedOptional )
func (AttributeKind) Set ¶
func (a AttributeKind) Set(s *schema.Schema)
Click to show internal directories.
Click to hide internal directories.