Documentation
¶
Index ¶
- func NewAttribute(a provider.Attribute) (generatorschema.GeneratorAttribute, error)
- func NewAttributes(a provider.Attributes) (generatorschema.GeneratorAttributes, error)
- func NewBlock(b provider.Block) (generatorschema.GeneratorBlock, error)
- func NewBlocks(b provider.Blocks) (generatorschema.GeneratorBlocks, error)
- func NewSchema(p *provider.Provider) (generatorschema.GeneratorSchema, error)
- func NewSchemas(spec spec.Specification) (map[string]generatorschema.GeneratorSchema, error)
- type GeneratorBoolAttribute
- func (g GeneratorBoolAttribute) AttrType(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorBoolAttribute) AttrValue(name schema.FrameworkIdentifier) string
- func (g GeneratorBoolAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorBoolAttribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorBoolAttribute) From() (schema.ToFromConversion, error)
- func (g GeneratorBoolAttribute) GeneratorSchemaType() schema.Type
- func (g GeneratorBoolAttribute) Imports() *schema.Imports
- func (g GeneratorBoolAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorBoolAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorBoolAttribute) To() (schema.ToFromConversion, error)
- func (g GeneratorBoolAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorFloat64Attribute
- func (g GeneratorFloat64Attribute) AttrType(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorFloat64Attribute) AttrValue(name schema.FrameworkIdentifier) string
- func (g GeneratorFloat64Attribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorFloat64Attribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorFloat64Attribute) From() (schema.ToFromConversion, error)
- func (g GeneratorFloat64Attribute) GeneratorSchemaType() schema.Type
- func (g GeneratorFloat64Attribute) Imports() *schema.Imports
- func (g GeneratorFloat64Attribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorFloat64Attribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorFloat64Attribute) To() (schema.ToFromConversion, error)
- func (g GeneratorFloat64Attribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorInt64Attribute
- func (g GeneratorInt64Attribute) AttrType(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorInt64Attribute) AttrValue(name schema.FrameworkIdentifier) string
- func (g GeneratorInt64Attribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorInt64Attribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorInt64Attribute) From() (schema.ToFromConversion, error)
- func (g GeneratorInt64Attribute) GeneratorSchemaType() schema.Type
- func (g GeneratorInt64Attribute) Imports() *schema.Imports
- func (g GeneratorInt64Attribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorInt64Attribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorInt64Attribute) To() (schema.ToFromConversion, error)
- func (g GeneratorInt64Attribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorListAttribute
- func (g GeneratorListAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorListAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorListAttribute) CollectionType() (map[string]string, error)
- func (g GeneratorListAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorListAttribute) ElemType() specschema.ElementType
- func (g GeneratorListAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorListAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorListAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorListAttribute) Imports() *generatorschema.Imports
- func (g GeneratorListAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorListAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorListAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorListAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorListNestedAttribute
- func (g GeneratorListNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorListNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorListNestedAttribute) From() (schema.ToFromConversion, error)
- func (g GeneratorListNestedAttribute) GeneratorSchemaType() schema.Type
- func (g GeneratorListNestedAttribute) GetAttributes() schema.GeneratorAttributes
- func (g GeneratorListNestedAttribute) Imports() *schema.Imports
- func (g GeneratorListNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorListNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorListNestedAttribute) To() (schema.ToFromConversion, error)
- func (g GeneratorListNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorListNestedBlock
- func (g GeneratorListNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorListNestedBlock) Equal(ga schema.GeneratorBlock) bool
- func (g GeneratorListNestedBlock) From() (schema.ToFromConversion, error)
- func (g GeneratorListNestedBlock) GeneratorSchemaType() schema.Type
- func (g GeneratorListNestedBlock) GetAttributes() schema.GeneratorAttributes
- func (g GeneratorListNestedBlock) GetBlocks() schema.GeneratorBlocks
- func (g GeneratorListNestedBlock) Imports() *schema.Imports
- func (g GeneratorListNestedBlock) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorListNestedBlock) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorListNestedBlock) To() (schema.ToFromConversion, error)
- func (g GeneratorListNestedBlock) ToFromFunctions(name string) ([]byte, error)
- type GeneratorMapAttribute
- func (g GeneratorMapAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorMapAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorMapAttribute) CollectionType() (map[string]string, error)
- func (g GeneratorMapAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorMapAttribute) ElemType() specschema.ElementType
- func (g GeneratorMapAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorMapAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorMapAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorMapAttribute) Imports() *generatorschema.Imports
- func (g GeneratorMapAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorMapAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorMapAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorMapAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorMapNestedAttribute
- func (g GeneratorMapNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorMapNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorMapNestedAttribute) From() (schema.ToFromConversion, error)
- func (g GeneratorMapNestedAttribute) GeneratorSchemaType() schema.Type
- func (g GeneratorMapNestedAttribute) GetAttributes() schema.GeneratorAttributes
- func (g GeneratorMapNestedAttribute) Imports() *schema.Imports
- func (g GeneratorMapNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorMapNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorMapNestedAttribute) To() (schema.ToFromConversion, error)
- func (g GeneratorMapNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorNestedAttributeObject
- type GeneratorNestedBlockObject
- type GeneratorNumberAttribute
- func (g GeneratorNumberAttribute) AttrType(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorNumberAttribute) AttrValue(name schema.FrameworkIdentifier) string
- func (g GeneratorNumberAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorNumberAttribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorNumberAttribute) From() (schema.ToFromConversion, error)
- func (g GeneratorNumberAttribute) GeneratorSchemaType() schema.Type
- func (g GeneratorNumberAttribute) Imports() *schema.Imports
- func (g GeneratorNumberAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorNumberAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorNumberAttribute) To() (schema.ToFromConversion, error)
- func (g GeneratorNumberAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorObjectAttribute
- func (g GeneratorObjectAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorObjectAttribute) AttrTypes() specschema.ObjectAttributeTypes
- func (g GeneratorObjectAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorObjectAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorObjectAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorObjectAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorObjectAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorObjectAttribute) Imports() *generatorschema.Imports
- func (g GeneratorObjectAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorObjectAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorObjectAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorObjectAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSetAttribute
- func (g GeneratorSetAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorSetAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorSetAttribute) CollectionType() (map[string]string, error)
- func (g GeneratorSetAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSetAttribute) ElemType() specschema.ElementType
- func (g GeneratorSetAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorSetAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorSetAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorSetAttribute) Imports() *generatorschema.Imports
- func (g GeneratorSetAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSetAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorSetAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorSetAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSetNestedAttribute
- func (g GeneratorSetNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSetNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorSetNestedAttribute) From() (schema.ToFromConversion, error)
- func (g GeneratorSetNestedAttribute) GeneratorSchemaType() schema.Type
- func (g GeneratorSetNestedAttribute) GetAttributes() schema.GeneratorAttributes
- func (g GeneratorSetNestedAttribute) Imports() *schema.Imports
- func (g GeneratorSetNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSetNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorSetNestedAttribute) To() (schema.ToFromConversion, error)
- func (g GeneratorSetNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSetNestedBlock
- func (g GeneratorSetNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSetNestedBlock) Equal(ga schema.GeneratorBlock) bool
- func (g GeneratorSetNestedBlock) From() (schema.ToFromConversion, error)
- func (g GeneratorSetNestedBlock) GeneratorSchemaType() schema.Type
- func (g GeneratorSetNestedBlock) GetAttributes() schema.GeneratorAttributes
- func (g GeneratorSetNestedBlock) GetBlocks() schema.GeneratorBlocks
- func (g GeneratorSetNestedBlock) Imports() *schema.Imports
- func (g GeneratorSetNestedBlock) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSetNestedBlock) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorSetNestedBlock) To() (schema.ToFromConversion, error)
- func (g GeneratorSetNestedBlock) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSingleNestedAttribute
- func (g GeneratorSingleNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSingleNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorSingleNestedAttribute) From() (schema.ToFromConversion, error)
- func (g GeneratorSingleNestedAttribute) GeneratorSchemaType() schema.Type
- func (g GeneratorSingleNestedAttribute) GetAttributes() schema.GeneratorAttributes
- func (g GeneratorSingleNestedAttribute) Imports() *schema.Imports
- func (g GeneratorSingleNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSingleNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorSingleNestedAttribute) To() (schema.ToFromConversion, error)
- func (g GeneratorSingleNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSingleNestedBlock
- func (g GeneratorSingleNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSingleNestedBlock) Equal(ga schema.GeneratorBlock) bool
- func (g GeneratorSingleNestedBlock) From() (schema.ToFromConversion, error)
- func (g GeneratorSingleNestedBlock) GeneratorSchemaType() schema.Type
- func (g GeneratorSingleNestedBlock) GetAttributes() schema.GeneratorAttributes
- func (g GeneratorSingleNestedBlock) GetBlocks() schema.GeneratorBlocks
- func (g GeneratorSingleNestedBlock) Imports() *schema.Imports
- func (g GeneratorSingleNestedBlock) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSingleNestedBlock) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorSingleNestedBlock) To() (schema.ToFromConversion, error)
- func (g GeneratorSingleNestedBlock) ToFromFunctions(name string) ([]byte, error)
- type GeneratorStringAttribute
- func (g GeneratorStringAttribute) AttrType(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorStringAttribute) AttrValue(name schema.FrameworkIdentifier) string
- func (g GeneratorStringAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorStringAttribute) Equal(ga schema.GeneratorAttribute) bool
- func (g GeneratorStringAttribute) From() (schema.ToFromConversion, error)
- func (g GeneratorStringAttribute) GeneratorSchemaType() schema.Type
- func (g GeneratorStringAttribute) Imports() *schema.Imports
- func (g GeneratorStringAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorStringAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
- func (g GeneratorStringAttribute) To() (schema.ToFromConversion, error)
- func (g GeneratorStringAttribute) ToFromFunctions(name string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttribute ¶
func NewAttribute(a provider.Attribute) (generatorschema.GeneratorAttribute, error)
func NewAttributes ¶
func NewAttributes(a provider.Attributes) (generatorschema.GeneratorAttributes, error)
func NewBlock ¶
func NewBlock(b provider.Block) (generatorschema.GeneratorBlock, error)
func NewBlocks ¶
func NewBlocks(b provider.Blocks) (generatorschema.GeneratorBlocks, error)
func NewSchema ¶
func NewSchema(p *provider.Provider) (generatorschema.GeneratorSchema, error)
func NewSchemas ¶
func NewSchemas(spec spec.Specification) (map[string]generatorschema.GeneratorSchema, error)
Types ¶
type GeneratorBoolAttribute ¶
type GeneratorBoolAttribute struct { AssociatedExternalType *schema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypePrimitive DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorBoolAttribute ¶
func NewGeneratorBoolAttribute(name string, a *provider.BoolAttribute) (GeneratorBoolAttribute, error)
func (GeneratorBoolAttribute) AttrType ¶
func (g GeneratorBoolAttribute) AttrType(name schema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.BoolTypable type.
func (GeneratorBoolAttribute) AttrValue ¶
func (g GeneratorBoolAttribute) AttrValue(name schema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.BoolValuable type.
func (GeneratorBoolAttribute) CustomTypeAndValue ¶
func (g GeneratorBoolAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorBoolAttribute) Equal ¶
func (g GeneratorBoolAttribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorBoolAttribute) From ¶
func (g GeneratorBoolAttribute) From() (schema.ToFromConversion, error)
func (GeneratorBoolAttribute) GeneratorSchemaType ¶
func (g GeneratorBoolAttribute) GeneratorSchemaType() schema.Type
func (GeneratorBoolAttribute) Imports ¶
func (g GeneratorBoolAttribute) Imports() *schema.Imports
func (GeneratorBoolAttribute) ModelField ¶
func (g GeneratorBoolAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorBoolAttribute) Schema ¶
func (g GeneratorBoolAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorBoolAttribute) To ¶
func (g GeneratorBoolAttribute) To() (schema.ToFromConversion, error)
func (GeneratorBoolAttribute) ToFromFunctions ¶
func (g GeneratorBoolAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorFloat64Attribute ¶
type GeneratorFloat64Attribute struct { AssociatedExternalType *schema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypePrimitive DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorFloat64Attribute ¶
func NewGeneratorFloat64Attribute(name string, a *provider.Float64Attribute) (GeneratorFloat64Attribute, error)
func (GeneratorFloat64Attribute) AttrType ¶
func (g GeneratorFloat64Attribute) AttrType(name schema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.Float64Typable type.
func (GeneratorFloat64Attribute) AttrValue ¶
func (g GeneratorFloat64Attribute) AttrValue(name schema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.Float64Valuable type.
func (GeneratorFloat64Attribute) CustomTypeAndValue ¶
func (g GeneratorFloat64Attribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorFloat64Attribute) Equal ¶
func (g GeneratorFloat64Attribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorFloat64Attribute) From ¶
func (g GeneratorFloat64Attribute) From() (schema.ToFromConversion, error)
func (GeneratorFloat64Attribute) GeneratorSchemaType ¶
func (g GeneratorFloat64Attribute) GeneratorSchemaType() schema.Type
func (GeneratorFloat64Attribute) Imports ¶
func (g GeneratorFloat64Attribute) Imports() *schema.Imports
func (GeneratorFloat64Attribute) ModelField ¶
func (g GeneratorFloat64Attribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorFloat64Attribute) Schema ¶
func (g GeneratorFloat64Attribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorFloat64Attribute) To ¶
func (g GeneratorFloat64Attribute) To() (schema.ToFromConversion, error)
func (GeneratorFloat64Attribute) ToFromFunctions ¶
func (g GeneratorFloat64Attribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorInt64Attribute ¶
type GeneratorInt64Attribute struct { AssociatedExternalType *schema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypePrimitive DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorInt64Attribute ¶
func NewGeneratorInt64Attribute(name string, a *provider.Int64Attribute) (GeneratorInt64Attribute, error)
func (GeneratorInt64Attribute) AttrType ¶
func (g GeneratorInt64Attribute) AttrType(name schema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.Int64Typable type.
func (GeneratorInt64Attribute) AttrValue ¶
func (g GeneratorInt64Attribute) AttrValue(name schema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.Int64Valuable type.
func (GeneratorInt64Attribute) CustomTypeAndValue ¶
func (g GeneratorInt64Attribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorInt64Attribute) Equal ¶
func (g GeneratorInt64Attribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorInt64Attribute) From ¶
func (g GeneratorInt64Attribute) From() (schema.ToFromConversion, error)
func (GeneratorInt64Attribute) GeneratorSchemaType ¶
func (g GeneratorInt64Attribute) GeneratorSchemaType() schema.Type
func (GeneratorInt64Attribute) Imports ¶
func (g GeneratorInt64Attribute) Imports() *schema.Imports
func (GeneratorInt64Attribute) ModelField ¶
func (g GeneratorInt64Attribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorInt64Attribute) Schema ¶
func (g GeneratorInt64Attribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorInt64Attribute) To ¶
func (g GeneratorInt64Attribute) To() (schema.ToFromConversion, error)
func (GeneratorInt64Attribute) ToFromFunctions ¶
func (g GeneratorInt64Attribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorListAttribute ¶
type GeneratorListAttribute struct { AssociatedExternalType *generatorschema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeCollection DeprecationMessage convert.DeprecationMessage Description convert.Description ElementType specschema.ElementType ElementTypeCollection convert.ElementType Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorListAttribute ¶
func NewGeneratorListAttribute(name string, a *provider.ListAttribute) (GeneratorListAttribute, error)
func (GeneratorListAttribute) AttrType ¶
func (g GeneratorListAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.ListTypable type.
func (GeneratorListAttribute) AttrValue ¶
func (g GeneratorListAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.ListValuable type.
func (GeneratorListAttribute) CollectionType ¶
func (g GeneratorListAttribute) CollectionType() (map[string]string, error)
CollectionType returns string representations of the element type (e.g., types.BoolType), and type value function (e.g., types.ListValue) if there is no associated external type.
func (GeneratorListAttribute) CustomTypeAndValue ¶
func (g GeneratorListAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorListAttribute) ElemType ¶
func (g GeneratorListAttribute) ElemType() specschema.ElementType
func (GeneratorListAttribute) Equal ¶
func (g GeneratorListAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
Equal does not delegate to g.ListAttribute.Equal(h.ListAttribute) as the call returns false when the ElementType is nil.
func (GeneratorListAttribute) From ¶
func (g GeneratorListAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorListAttribute) GeneratorSchemaType ¶
func (g GeneratorListAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorListAttribute) Imports ¶
func (g GeneratorListAttribute) Imports() *generatorschema.Imports
func (GeneratorListAttribute) ModelField ¶
func (g GeneratorListAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorListAttribute) Schema ¶
func (g GeneratorListAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorListAttribute) To ¶
func (g GeneratorListAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorListAttribute) ToFromFunctions ¶
func (g GeneratorListAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorListNestedAttribute ¶
type GeneratorListNestedAttribute struct { OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeNestedCollection DeprecationMessage convert.DeprecationMessage Description convert.Description NestedObject GeneratorNestedAttributeObject NestedAttributeObject convert.NestedAttributeObject Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorListNestedAttribute ¶
func NewGeneratorListNestedAttribute(name string, a *provider.ListNestedAttribute) (GeneratorListNestedAttribute, error)
func (GeneratorListNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorListNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorListNestedAttribute) Equal ¶
func (g GeneratorListNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorListNestedAttribute) From ¶
func (g GeneratorListNestedAttribute) From() (schema.ToFromConversion, error)
func (GeneratorListNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorListNestedAttribute) GeneratorSchemaType() schema.Type
func (GeneratorListNestedAttribute) GetAttributes ¶
func (g GeneratorListNestedAttribute) GetAttributes() schema.GeneratorAttributes
func (GeneratorListNestedAttribute) Imports ¶
func (g GeneratorListNestedAttribute) Imports() *schema.Imports
func (GeneratorListNestedAttribute) ModelField ¶
func (g GeneratorListNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorListNestedAttribute) Schema ¶
func (g GeneratorListNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorListNestedAttribute) To ¶
func (g GeneratorListNestedAttribute) To() (schema.ToFromConversion, error)
func (GeneratorListNestedAttribute) ToFromFunctions ¶
func (g GeneratorListNestedAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorListNestedBlock ¶
type GeneratorListNestedBlock struct { OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeNestedCollection DeprecationMessage convert.DeprecationMessage Description convert.Description NestedObject GeneratorNestedBlockObject NestedBlockObject convert.NestedBlockObject Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorListNestedBlock ¶
func NewGeneratorListNestedBlock(name string, b *provider.ListNestedBlock) (GeneratorListNestedBlock, error)
func (GeneratorListNestedBlock) CustomTypeAndValue ¶
func (g GeneratorListNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorListNestedBlock) Equal ¶
func (g GeneratorListNestedBlock) Equal(ga schema.GeneratorBlock) bool
func (GeneratorListNestedBlock) From ¶
func (g GeneratorListNestedBlock) From() (schema.ToFromConversion, error)
func (GeneratorListNestedBlock) GeneratorSchemaType ¶
func (g GeneratorListNestedBlock) GeneratorSchemaType() schema.Type
func (GeneratorListNestedBlock) GetAttributes ¶
func (g GeneratorListNestedBlock) GetAttributes() schema.GeneratorAttributes
func (GeneratorListNestedBlock) GetBlocks ¶
func (g GeneratorListNestedBlock) GetBlocks() schema.GeneratorBlocks
func (GeneratorListNestedBlock) Imports ¶
func (g GeneratorListNestedBlock) Imports() *schema.Imports
func (GeneratorListNestedBlock) ModelField ¶
func (g GeneratorListNestedBlock) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorListNestedBlock) Schema ¶
func (g GeneratorListNestedBlock) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorListNestedBlock) To ¶
func (g GeneratorListNestedBlock) To() (schema.ToFromConversion, error)
func (GeneratorListNestedBlock) ToFromFunctions ¶
func (g GeneratorListNestedBlock) ToFromFunctions(name string) ([]byte, error)
type GeneratorMapAttribute ¶
type GeneratorMapAttribute struct { AssociatedExternalType *generatorschema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeCollection DeprecationMessage convert.DeprecationMessage Description convert.Description ElementType specschema.ElementType ElementTypeCollection convert.ElementType Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorMapAttribute ¶
func NewGeneratorMapAttribute(name string, a *provider.MapAttribute) (GeneratorMapAttribute, error)
func (GeneratorMapAttribute) AttrType ¶
func (g GeneratorMapAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.MapTypable type.
func (GeneratorMapAttribute) AttrValue ¶
func (g GeneratorMapAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.MapValuable type.
func (GeneratorMapAttribute) CollectionType ¶
func (g GeneratorMapAttribute) CollectionType() (map[string]string, error)
CollectionType returns string representations of the element type (e.g., types.BoolType), and type value function (e.g., types.MapValue) if there is no associated external type.
func (GeneratorMapAttribute) CustomTypeAndValue ¶
func (g GeneratorMapAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorMapAttribute) ElemType ¶
func (g GeneratorMapAttribute) ElemType() specschema.ElementType
func (GeneratorMapAttribute) Equal ¶
func (g GeneratorMapAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
Equal does not delegate to g.MapAttribute.Equal(h.MapAttribute) as the call returns false when the ElementType is nil.
func (GeneratorMapAttribute) From ¶
func (g GeneratorMapAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorMapAttribute) GeneratorSchemaType ¶
func (g GeneratorMapAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorMapAttribute) Imports ¶
func (g GeneratorMapAttribute) Imports() *generatorschema.Imports
func (GeneratorMapAttribute) ModelField ¶
func (g GeneratorMapAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorMapAttribute) Schema ¶
func (g GeneratorMapAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorMapAttribute) To ¶
func (g GeneratorMapAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorMapAttribute) ToFromFunctions ¶
func (g GeneratorMapAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorMapNestedAttribute ¶
type GeneratorMapNestedAttribute struct { OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeNestedCollection DeprecationMessage convert.DeprecationMessage Description convert.Description NestedObject GeneratorNestedAttributeObject NestedAttributeObject convert.NestedAttributeObject Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorMapNestedAttribute ¶
func NewGeneratorMapNestedAttribute(name string, a *provider.MapNestedAttribute) (GeneratorMapNestedAttribute, error)
func (GeneratorMapNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorMapNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorMapNestedAttribute) Equal ¶
func (g GeneratorMapNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorMapNestedAttribute) From ¶
func (g GeneratorMapNestedAttribute) From() (schema.ToFromConversion, error)
func (GeneratorMapNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorMapNestedAttribute) GeneratorSchemaType() schema.Type
func (GeneratorMapNestedAttribute) GetAttributes ¶
func (g GeneratorMapNestedAttribute) GetAttributes() schema.GeneratorAttributes
func (GeneratorMapNestedAttribute) Imports ¶
func (g GeneratorMapNestedAttribute) Imports() *schema.Imports
func (GeneratorMapNestedAttribute) ModelField ¶
func (g GeneratorMapNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorMapNestedAttribute) Schema ¶
func (g GeneratorMapNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorMapNestedAttribute) To ¶
func (g GeneratorMapNestedAttribute) To() (schema.ToFromConversion, error)
func (GeneratorMapNestedAttribute) ToFromFunctions ¶
func (g GeneratorMapNestedAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorNestedAttributeObject ¶
type GeneratorNestedAttributeObject struct { Attributes schema.GeneratorAttributes AssociatedExternalType *schema.AssocExtType CustomType *specschema.CustomType Validators specschema.ObjectValidators }
func (GeneratorNestedAttributeObject) Equal ¶
func (g GeneratorNestedAttributeObject) Equal(other GeneratorNestedAttributeObject) bool
type GeneratorNestedBlockObject ¶
type GeneratorNestedBlockObject struct { Attributes schema.GeneratorAttributes Blocks schema.GeneratorBlocks AssociatedExternalType *schema.AssocExtType CustomType *specschema.CustomType Validators specschema.ObjectValidators }
func (GeneratorNestedBlockObject) Equal ¶
func (g GeneratorNestedBlockObject) Equal(other GeneratorNestedBlockObject) bool
type GeneratorNumberAttribute ¶
type GeneratorNumberAttribute struct { AssociatedExternalType *schema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypePrimitive DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorNumberAttribute ¶
func NewGeneratorNumberAttribute(name string, a *provider.NumberAttribute) (GeneratorNumberAttribute, error)
func (GeneratorNumberAttribute) AttrType ¶
func (g GeneratorNumberAttribute) AttrType(name schema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.NumberTypable type.
func (GeneratorNumberAttribute) AttrValue ¶
func (g GeneratorNumberAttribute) AttrValue(name schema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.NumberValuable type.
func (GeneratorNumberAttribute) CustomTypeAndValue ¶
func (g GeneratorNumberAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorNumberAttribute) Equal ¶
func (g GeneratorNumberAttribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorNumberAttribute) From ¶
func (g GeneratorNumberAttribute) From() (schema.ToFromConversion, error)
func (GeneratorNumberAttribute) GeneratorSchemaType ¶
func (g GeneratorNumberAttribute) GeneratorSchemaType() schema.Type
func (GeneratorNumberAttribute) Imports ¶
func (g GeneratorNumberAttribute) Imports() *schema.Imports
func (GeneratorNumberAttribute) ModelField ¶
func (g GeneratorNumberAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorNumberAttribute) Schema ¶
func (g GeneratorNumberAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorNumberAttribute) To ¶
func (g GeneratorNumberAttribute) To() (schema.ToFromConversion, error)
func (GeneratorNumberAttribute) ToFromFunctions ¶
func (g GeneratorNumberAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorObjectAttribute ¶
type GeneratorObjectAttribute struct { AssociatedExternalType *generatorschema.AssocExtType AttributeTypes specschema.ObjectAttributeTypes AttributeTypesObject convert.ObjectAttributeTypes OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeObject DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorObjectAttribute ¶
func NewGeneratorObjectAttribute(name string, a *provider.ObjectAttribute) (GeneratorObjectAttribute, error)
func (GeneratorObjectAttribute) AttrType ¶
func (g GeneratorObjectAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.ObjectTypable type.
func (GeneratorObjectAttribute) AttrTypes ¶
func (g GeneratorObjectAttribute) AttrTypes() specschema.ObjectAttributeTypes
func (GeneratorObjectAttribute) AttrValue ¶
func (g GeneratorObjectAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.ListValuable type.
func (GeneratorObjectAttribute) CustomTypeAndValue ¶
func (g GeneratorObjectAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorObjectAttribute) Equal ¶
func (g GeneratorObjectAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorObjectAttribute) From ¶
func (g GeneratorObjectAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorObjectAttribute) GeneratorSchemaType ¶
func (g GeneratorObjectAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorObjectAttribute) Imports ¶
func (g GeneratorObjectAttribute) Imports() *generatorschema.Imports
func (GeneratorObjectAttribute) ModelField ¶
func (g GeneratorObjectAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorObjectAttribute) Schema ¶
func (g GeneratorObjectAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorObjectAttribute) To ¶
func (g GeneratorObjectAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorObjectAttribute) ToFromFunctions ¶
func (g GeneratorObjectAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSetAttribute ¶
type GeneratorSetAttribute struct { AssociatedExternalType *generatorschema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeCollection DeprecationMessage convert.DeprecationMessage Description convert.Description ElementType specschema.ElementType ElementTypeCollection convert.ElementType Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorSetAttribute ¶
func NewGeneratorSetAttribute(name string, a *provider.SetAttribute) (GeneratorSetAttribute, error)
func (GeneratorSetAttribute) AttrType ¶
func (g GeneratorSetAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.SetTypable type.
func (GeneratorSetAttribute) AttrValue ¶
func (g GeneratorSetAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.SetValuable type.
func (GeneratorSetAttribute) CollectionType ¶
func (g GeneratorSetAttribute) CollectionType() (map[string]string, error)
CollectionType returns string representations of the element type (e.g., types.BoolType), and type value function (e.g., types.SetValue) if there is no associated external type.
func (GeneratorSetAttribute) CustomTypeAndValue ¶
func (g GeneratorSetAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSetAttribute) ElemType ¶
func (g GeneratorSetAttribute) ElemType() specschema.ElementType
func (GeneratorSetAttribute) Equal ¶
func (g GeneratorSetAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
Equal does not delegate to g.SetAttribute.Equal(h.SetAttribute) as the call returns false when the ElementType is nil.
func (GeneratorSetAttribute) From ¶
func (g GeneratorSetAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorSetAttribute) GeneratorSchemaType ¶
func (g GeneratorSetAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorSetAttribute) Imports ¶
func (g GeneratorSetAttribute) Imports() *generatorschema.Imports
func (GeneratorSetAttribute) ModelField ¶
func (g GeneratorSetAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSetAttribute) Schema ¶
func (g GeneratorSetAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorSetAttribute) To ¶
func (g GeneratorSetAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorSetAttribute) ToFromFunctions ¶
func (g GeneratorSetAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSetNestedAttribute ¶
type GeneratorSetNestedAttribute struct { OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeNestedCollection DeprecationMessage convert.DeprecationMessage Description convert.Description NestedObject GeneratorNestedAttributeObject NestedAttributeObject convert.NestedAttributeObject Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorSetNestedAttribute ¶
func NewGeneratorSetNestedAttribute(name string, a *provider.SetNestedAttribute) (GeneratorSetNestedAttribute, error)
func (GeneratorSetNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorSetNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSetNestedAttribute) Equal ¶
func (g GeneratorSetNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorSetNestedAttribute) From ¶
func (g GeneratorSetNestedAttribute) From() (schema.ToFromConversion, error)
func (GeneratorSetNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorSetNestedAttribute) GeneratorSchemaType() schema.Type
func (GeneratorSetNestedAttribute) GetAttributes ¶
func (g GeneratorSetNestedAttribute) GetAttributes() schema.GeneratorAttributes
func (GeneratorSetNestedAttribute) Imports ¶
func (g GeneratorSetNestedAttribute) Imports() *schema.Imports
func (GeneratorSetNestedAttribute) ModelField ¶
func (g GeneratorSetNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSetNestedAttribute) Schema ¶
func (g GeneratorSetNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorSetNestedAttribute) To ¶
func (g GeneratorSetNestedAttribute) To() (schema.ToFromConversion, error)
func (GeneratorSetNestedAttribute) ToFromFunctions ¶
func (g GeneratorSetNestedAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSetNestedBlock ¶
type GeneratorSetNestedBlock struct { OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeNestedCollection DeprecationMessage convert.DeprecationMessage Description convert.Description NestedObject GeneratorNestedBlockObject NestedBlockObject convert.NestedBlockObject Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorSetNestedBlock ¶
func NewGeneratorSetNestedBlock(name string, b *provider.SetNestedBlock) (GeneratorSetNestedBlock, error)
func (GeneratorSetNestedBlock) CustomTypeAndValue ¶
func (g GeneratorSetNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSetNestedBlock) Equal ¶
func (g GeneratorSetNestedBlock) Equal(ga schema.GeneratorBlock) bool
func (GeneratorSetNestedBlock) From ¶
func (g GeneratorSetNestedBlock) From() (schema.ToFromConversion, error)
func (GeneratorSetNestedBlock) GeneratorSchemaType ¶
func (g GeneratorSetNestedBlock) GeneratorSchemaType() schema.Type
func (GeneratorSetNestedBlock) GetAttributes ¶
func (g GeneratorSetNestedBlock) GetAttributes() schema.GeneratorAttributes
func (GeneratorSetNestedBlock) GetBlocks ¶
func (g GeneratorSetNestedBlock) GetBlocks() schema.GeneratorBlocks
func (GeneratorSetNestedBlock) Imports ¶
func (g GeneratorSetNestedBlock) Imports() *schema.Imports
func (GeneratorSetNestedBlock) ModelField ¶
func (g GeneratorSetNestedBlock) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSetNestedBlock) Schema ¶
func (g GeneratorSetNestedBlock) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorSetNestedBlock) To ¶
func (g GeneratorSetNestedBlock) To() (schema.ToFromConversion, error)
func (GeneratorSetNestedBlock) ToFromFunctions ¶
func (g GeneratorSetNestedBlock) ToFromFunctions(name string) ([]byte, error)
type GeneratorSingleNestedAttribute ¶
type GeneratorSingleNestedAttribute struct { AssociatedExternalType *schema.AssocExtType Attributes schema.GeneratorAttributes OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeNestedObject DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorSingleNestedAttribute ¶
func NewGeneratorSingleNestedAttribute(name string, a *provider.SingleNestedAttribute) (GeneratorSingleNestedAttribute, error)
func (GeneratorSingleNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorSingleNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSingleNestedAttribute) Equal ¶
func (g GeneratorSingleNestedAttribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorSingleNestedAttribute) From ¶
func (g GeneratorSingleNestedAttribute) From() (schema.ToFromConversion, error)
func (GeneratorSingleNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorSingleNestedAttribute) GeneratorSchemaType() schema.Type
func (GeneratorSingleNestedAttribute) GetAttributes ¶
func (g GeneratorSingleNestedAttribute) GetAttributes() schema.GeneratorAttributes
func (GeneratorSingleNestedAttribute) Imports ¶
func (g GeneratorSingleNestedAttribute) Imports() *schema.Imports
func (GeneratorSingleNestedAttribute) ModelField ¶
func (g GeneratorSingleNestedAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSingleNestedAttribute) Schema ¶
func (g GeneratorSingleNestedAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorSingleNestedAttribute) To ¶
func (g GeneratorSingleNestedAttribute) To() (schema.ToFromConversion, error)
func (GeneratorSingleNestedAttribute) ToFromFunctions ¶
func (g GeneratorSingleNestedAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSingleNestedBlock ¶
type GeneratorSingleNestedBlock struct { AssociatedExternalType *schema.AssocExtType Attributes schema.GeneratorAttributes Blocks schema.GeneratorBlocks OptionalRequired convert.OptionalRequired CustomType convert.CustomTypeNestedObject DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorSingleNestedBlock ¶
func NewGeneratorSingleNestedBlock(name string, b *provider.SingleNestedBlock) (GeneratorSingleNestedBlock, error)
func (GeneratorSingleNestedBlock) CustomTypeAndValue ¶
func (g GeneratorSingleNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSingleNestedBlock) Equal ¶
func (g GeneratorSingleNestedBlock) Equal(ga schema.GeneratorBlock) bool
func (GeneratorSingleNestedBlock) From ¶
func (g GeneratorSingleNestedBlock) From() (schema.ToFromConversion, error)
func (GeneratorSingleNestedBlock) GeneratorSchemaType ¶
func (g GeneratorSingleNestedBlock) GeneratorSchemaType() schema.Type
func (GeneratorSingleNestedBlock) GetAttributes ¶
func (g GeneratorSingleNestedBlock) GetAttributes() schema.GeneratorAttributes
func (GeneratorSingleNestedBlock) GetBlocks ¶
func (g GeneratorSingleNestedBlock) GetBlocks() schema.GeneratorBlocks
func (GeneratorSingleNestedBlock) Imports ¶
func (g GeneratorSingleNestedBlock) Imports() *schema.Imports
func (GeneratorSingleNestedBlock) ModelField ¶
func (g GeneratorSingleNestedBlock) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSingleNestedBlock) Schema ¶
func (g GeneratorSingleNestedBlock) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorSingleNestedBlock) To ¶
func (g GeneratorSingleNestedBlock) To() (schema.ToFromConversion, error)
func (GeneratorSingleNestedBlock) ToFromFunctions ¶
func (g GeneratorSingleNestedBlock) ToFromFunctions(name string) ([]byte, error)
type GeneratorStringAttribute ¶
type GeneratorStringAttribute struct { AssociatedExternalType *schema.AssocExtType OptionalRequired convert.OptionalRequired CustomType convert.CustomTypePrimitive DeprecationMessage convert.DeprecationMessage Description convert.Description Sensitive convert.Sensitive Validators convert.Validators }
func NewGeneratorStringAttribute ¶
func NewGeneratorStringAttribute(name string, a *provider.StringAttribute) (GeneratorStringAttribute, error)
func (GeneratorStringAttribute) AttrType ¶
func (g GeneratorStringAttribute) AttrType(name schema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.StringTypable type.
func (GeneratorStringAttribute) AttrValue ¶
func (g GeneratorStringAttribute) AttrValue(name schema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.StringValuable type.
func (GeneratorStringAttribute) CustomTypeAndValue ¶
func (g GeneratorStringAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorStringAttribute) Equal ¶
func (g GeneratorStringAttribute) Equal(ga schema.GeneratorAttribute) bool
func (GeneratorStringAttribute) From ¶
func (g GeneratorStringAttribute) From() (schema.ToFromConversion, error)
func (GeneratorStringAttribute) GeneratorSchemaType ¶
func (g GeneratorStringAttribute) GeneratorSchemaType() schema.Type
func (GeneratorStringAttribute) Imports ¶
func (g GeneratorStringAttribute) Imports() *schema.Imports
func (GeneratorStringAttribute) ModelField ¶
func (g GeneratorStringAttribute) ModelField(name schema.FrameworkIdentifier) (model.Field, error)
func (GeneratorStringAttribute) Schema ¶
func (g GeneratorStringAttribute) Schema(name schema.FrameworkIdentifier) (string, error)
func (GeneratorStringAttribute) To ¶
func (g GeneratorStringAttribute) To() (schema.ToFromConversion, error)
func (GeneratorStringAttribute) ToFromFunctions ¶
func (g GeneratorStringAttribute) ToFromFunctions(name string) ([]byte, error)
Source Files
¶
- bool_attribute.go
- convert.go
- float64_attribute.go
- int64_attribute.go
- list_attribute.go
- list_nested_attribute.go
- list_nested_block.go
- map_attribute.go
- map_nested_attribute.go
- number_attribute.go
- object_attribute.go
- set_attribute.go
- set_nested_attribute.go
- set_nested_block.go
- single_nested_attribute.go
- single_nested_block.go
- string_attribute.go
- types.go