Documentation
¶
Index ¶
- type GeneratorBoolAttribute
- func (g GeneratorBoolAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorBoolAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorBoolAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorBoolAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorBoolAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorBoolAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorBoolAttribute) Imports() *generatorschema.Imports
- func (g GeneratorBoolAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorBoolAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorBoolAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorBoolAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorFloat64Attribute
- func (g GeneratorFloat64Attribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorFloat64Attribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorFloat64Attribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorFloat64Attribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorFloat64Attribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorFloat64Attribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorFloat64Attribute) Imports() *generatorschema.Imports
- func (g GeneratorFloat64Attribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorFloat64Attribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorFloat64Attribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorFloat64Attribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorInt64Attribute
- func (g GeneratorInt64Attribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorInt64Attribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorInt64Attribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorInt64Attribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorInt64Attribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorInt64Attribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorInt64Attribute) Imports() *generatorschema.Imports
- func (g GeneratorInt64Attribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorInt64Attribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorInt64Attribute) To() (generatorschema.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) AssocExtType() *generatorschema.AssocExtType
- func (g GeneratorListNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorListNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorListNestedAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorListNestedAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorListNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
- func (g GeneratorListNestedAttribute) Imports() *generatorschema.Imports
- func (g GeneratorListNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorListNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorListNestedAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorListNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorListNestedBlock
- func (g GeneratorListNestedBlock) AssocExtType() *generatorschema.AssocExtType
- func (g GeneratorListNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorListNestedBlock) Equal(ga generatorschema.GeneratorBlock) bool
- func (g GeneratorListNestedBlock) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorListNestedBlock) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorListNestedBlock) GetAttributes() generatorschema.GeneratorAttributes
- func (g GeneratorListNestedBlock) GetBlocks() generatorschema.GeneratorBlocks
- func (g GeneratorListNestedBlock) Imports() *generatorschema.Imports
- func (g GeneratorListNestedBlock) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorListNestedBlock) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorListNestedBlock) To() (generatorschema.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) AssocExtType() *generatorschema.AssocExtType
- func (g GeneratorMapNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorMapNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorMapNestedAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorMapNestedAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorMapNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
- func (g GeneratorMapNestedAttribute) Imports() *generatorschema.Imports
- func (g GeneratorMapNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorMapNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorMapNestedAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorMapNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorNestedAttributeObject
- type GeneratorNestedBlockObject
- type GeneratorNumberAttribute
- func (g GeneratorNumberAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorNumberAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorNumberAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorNumberAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorNumberAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorNumberAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorNumberAttribute) Imports() *generatorschema.Imports
- func (g GeneratorNumberAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorNumberAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorNumberAttribute) To() (generatorschema.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) AssocExtType() *generatorschema.AssocExtType
- func (g GeneratorSetNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSetNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorSetNestedAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorSetNestedAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorSetNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
- func (g GeneratorSetNestedAttribute) Imports() *generatorschema.Imports
- func (g GeneratorSetNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSetNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorSetNestedAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorSetNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSetNestedBlock
- func (g GeneratorSetNestedBlock) AssocExtType() *generatorschema.AssocExtType
- func (g GeneratorSetNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSetNestedBlock) Equal(ga generatorschema.GeneratorBlock) bool
- func (g GeneratorSetNestedBlock) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorSetNestedBlock) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorSetNestedBlock) GetAttributes() generatorschema.GeneratorAttributes
- func (g GeneratorSetNestedBlock) GetBlocks() generatorschema.GeneratorBlocks
- func (g GeneratorSetNestedBlock) Imports() *generatorschema.Imports
- func (g GeneratorSetNestedBlock) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSetNestedBlock) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorSetNestedBlock) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorSetNestedBlock) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSingleNestedAttribute
- func (g GeneratorSingleNestedAttribute) AssocExtType() *generatorschema.AssocExtType
- func (g GeneratorSingleNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSingleNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorSingleNestedAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorSingleNestedAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorSingleNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
- func (g GeneratorSingleNestedAttribute) Imports() *generatorschema.Imports
- func (g GeneratorSingleNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSingleNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorSingleNestedAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorSingleNestedAttribute) ToFromFunctions(name string) ([]byte, error)
- type GeneratorSingleNestedBlock
- func (g GeneratorSingleNestedBlock) AssocExtType() *generatorschema.AssocExtType
- func (g GeneratorSingleNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorSingleNestedBlock) Equal(ga generatorschema.GeneratorBlock) bool
- func (g GeneratorSingleNestedBlock) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorSingleNestedBlock) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorSingleNestedBlock) GetAttributes() generatorschema.GeneratorAttributes
- func (g GeneratorSingleNestedBlock) GetBlocks() generatorschema.GeneratorBlocks
- func (g GeneratorSingleNestedBlock) Imports() *generatorschema.Imports
- func (g GeneratorSingleNestedBlock) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorSingleNestedBlock) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorSingleNestedBlock) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorSingleNestedBlock) ToFromFunctions(name string) ([]byte, error)
- type GeneratorStringAttribute
- func (g GeneratorStringAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorStringAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
- func (g GeneratorStringAttribute) CustomTypeAndValue(name string) ([]byte, error)
- func (g GeneratorStringAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
- func (g GeneratorStringAttribute) From() (generatorschema.ToFromConversion, error)
- func (g GeneratorStringAttribute) GeneratorSchemaType() generatorschema.Type
- func (g GeneratorStringAttribute) Imports() *generatorschema.Imports
- func (g GeneratorStringAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
- func (g GeneratorStringAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
- func (g GeneratorStringAttribute) To() (generatorschema.ToFromConversion, error)
- func (g GeneratorStringAttribute) ToFromFunctions(name string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratorBoolAttribute ¶
type GeneratorBoolAttribute struct { schema.BoolAttribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType Validators specschema.BoolValidators }
func (GeneratorBoolAttribute) AttrType ¶ added in v0.2.0
func (g GeneratorBoolAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.BoolTypable type.
func (GeneratorBoolAttribute) AttrValue ¶ added in v0.2.0
func (g GeneratorBoolAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.BoolValuable type.
func (GeneratorBoolAttribute) CustomTypeAndValue ¶ added in v0.2.0
func (g GeneratorBoolAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorBoolAttribute) Equal ¶
func (g GeneratorBoolAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorBoolAttribute) From ¶ added in v0.2.0
func (g GeneratorBoolAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorBoolAttribute) GeneratorSchemaType ¶
func (g GeneratorBoolAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorBoolAttribute) Imports ¶
func (g GeneratorBoolAttribute) Imports() *generatorschema.Imports
func (GeneratorBoolAttribute) ModelField ¶
func (g GeneratorBoolAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorBoolAttribute) Schema ¶
func (g GeneratorBoolAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorBoolAttribute) To ¶ added in v0.2.0
func (g GeneratorBoolAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorBoolAttribute) ToFromFunctions ¶ added in v0.2.0
func (g GeneratorBoolAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorFloat64Attribute ¶
type GeneratorFloat64Attribute struct { schema.Float64Attribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType Validators specschema.Float64Validators }
func (GeneratorFloat64Attribute) AttrType ¶ added in v0.2.0
func (g GeneratorFloat64Attribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.Float64Typable type.
func (GeneratorFloat64Attribute) AttrValue ¶ added in v0.2.0
func (g GeneratorFloat64Attribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.Float64Valuable type.
func (GeneratorFloat64Attribute) CustomTypeAndValue ¶ added in v0.2.0
func (g GeneratorFloat64Attribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorFloat64Attribute) Equal ¶
func (g GeneratorFloat64Attribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorFloat64Attribute) From ¶ added in v0.2.0
func (g GeneratorFloat64Attribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorFloat64Attribute) GeneratorSchemaType ¶
func (g GeneratorFloat64Attribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorFloat64Attribute) Imports ¶
func (g GeneratorFloat64Attribute) Imports() *generatorschema.Imports
func (GeneratorFloat64Attribute) ModelField ¶
func (g GeneratorFloat64Attribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorFloat64Attribute) Schema ¶
func (g GeneratorFloat64Attribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorFloat64Attribute) To ¶ added in v0.2.0
func (g GeneratorFloat64Attribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorFloat64Attribute) ToFromFunctions ¶ added in v0.2.0
func (g GeneratorFloat64Attribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorInt64Attribute ¶
type GeneratorInt64Attribute struct { schema.Int64Attribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType Validators specschema.Int64Validators }
func (GeneratorInt64Attribute) AttrType ¶ added in v0.2.0
func (g GeneratorInt64Attribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.Int64Typable type.
func (GeneratorInt64Attribute) AttrValue ¶ added in v0.2.0
func (g GeneratorInt64Attribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.Int64Valuable type.
func (GeneratorInt64Attribute) CustomTypeAndValue ¶ added in v0.2.0
func (g GeneratorInt64Attribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorInt64Attribute) Equal ¶
func (g GeneratorInt64Attribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorInt64Attribute) From ¶ added in v0.2.0
func (g GeneratorInt64Attribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorInt64Attribute) GeneratorSchemaType ¶
func (g GeneratorInt64Attribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorInt64Attribute) Imports ¶
func (g GeneratorInt64Attribute) Imports() *generatorschema.Imports
func (GeneratorInt64Attribute) ModelField ¶
func (g GeneratorInt64Attribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorInt64Attribute) Schema ¶
func (g GeneratorInt64Attribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorInt64Attribute) To ¶ added in v0.2.0
func (g GeneratorInt64Attribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorInt64Attribute) ToFromFunctions ¶ added in v0.2.0
func (g GeneratorInt64Attribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorListAttribute ¶
type GeneratorListAttribute struct { schema.ListAttribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType ElementType specschema.ElementType Validators specschema.ListValidators }
func (GeneratorListAttribute) AttrType ¶ added in v0.3.0
func (g GeneratorListAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.ListTypable type.
func (GeneratorListAttribute) AttrValue ¶ added in v0.3.0
func (g GeneratorListAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.ListValuable type.
func (GeneratorListAttribute) CollectionType ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (g GeneratorListAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorListAttribute) ToFromFunctions ¶ added in v0.3.0
func (g GeneratorListAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorListNestedAttribute ¶
type GeneratorListNestedAttribute struct { schema.ListNestedAttribute // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType NestedObject GeneratorNestedAttributeObject Validators specschema.ListValidators }
func (GeneratorListNestedAttribute) AssocExtType ¶
func (g GeneratorListNestedAttribute) AssocExtType() *generatorschema.AssocExtType
func (GeneratorListNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorListNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorListNestedAttribute) Equal ¶
func (g GeneratorListNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorListNestedAttribute) From ¶ added in v0.3.0
func (g GeneratorListNestedAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorListNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorListNestedAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorListNestedAttribute) GetAttributes ¶
func (g GeneratorListNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
func (GeneratorListNestedAttribute) Imports ¶
func (g GeneratorListNestedAttribute) Imports() *generatorschema.Imports
func (GeneratorListNestedAttribute) ModelField ¶
func (g GeneratorListNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorListNestedAttribute) Schema ¶
func (g GeneratorListNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorListNestedAttribute) To ¶ added in v0.3.0
func (g GeneratorListNestedAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorListNestedAttribute) ToFromFunctions ¶
func (g GeneratorListNestedAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorListNestedBlock ¶
type GeneratorListNestedBlock struct { schema.ListNestedBlock // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType NestedObject GeneratorNestedBlockObject Validators specschema.ListValidators }
func (GeneratorListNestedBlock) AssocExtType ¶
func (g GeneratorListNestedBlock) AssocExtType() *generatorschema.AssocExtType
func (GeneratorListNestedBlock) CustomTypeAndValue ¶
func (g GeneratorListNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorListNestedBlock) Equal ¶
func (g GeneratorListNestedBlock) Equal(ga generatorschema.GeneratorBlock) bool
func (GeneratorListNestedBlock) From ¶ added in v0.3.0
func (g GeneratorListNestedBlock) From() (generatorschema.ToFromConversion, error)
func (GeneratorListNestedBlock) GeneratorSchemaType ¶
func (g GeneratorListNestedBlock) GeneratorSchemaType() generatorschema.Type
func (GeneratorListNestedBlock) GetAttributes ¶
func (g GeneratorListNestedBlock) GetAttributes() generatorschema.GeneratorAttributes
func (GeneratorListNestedBlock) GetBlocks ¶
func (g GeneratorListNestedBlock) GetBlocks() generatorschema.GeneratorBlocks
func (GeneratorListNestedBlock) Imports ¶
func (g GeneratorListNestedBlock) Imports() *generatorschema.Imports
func (GeneratorListNestedBlock) ModelField ¶
func (g GeneratorListNestedBlock) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorListNestedBlock) Schema ¶
func (g GeneratorListNestedBlock) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorListNestedBlock) To ¶ added in v0.3.0
func (g GeneratorListNestedBlock) To() (generatorschema.ToFromConversion, error)
func (GeneratorListNestedBlock) ToFromFunctions ¶
func (g GeneratorListNestedBlock) ToFromFunctions(name string) ([]byte, error)
type GeneratorMapAttribute ¶
type GeneratorMapAttribute struct { schema.MapAttribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType ElementType specschema.ElementType Validators specschema.MapValidators }
func (GeneratorMapAttribute) AttrType ¶ added in v0.3.0
func (g GeneratorMapAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.MapTypable type.
func (GeneratorMapAttribute) AttrValue ¶ added in v0.3.0
func (g GeneratorMapAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.MapValuable type.
func (GeneratorMapAttribute) CollectionType ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (g GeneratorMapAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorMapAttribute) ToFromFunctions ¶ added in v0.3.0
func (g GeneratorMapAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorMapNestedAttribute ¶
type GeneratorMapNestedAttribute struct { schema.MapNestedAttribute // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType NestedObject GeneratorNestedAttributeObject Validators specschema.MapValidators }
func (GeneratorMapNestedAttribute) AssocExtType ¶
func (g GeneratorMapNestedAttribute) AssocExtType() *generatorschema.AssocExtType
func (GeneratorMapNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorMapNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorMapNestedAttribute) Equal ¶
func (g GeneratorMapNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorMapNestedAttribute) From ¶ added in v0.3.0
func (g GeneratorMapNestedAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorMapNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorMapNestedAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorMapNestedAttribute) GetAttributes ¶
func (g GeneratorMapNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
func (GeneratorMapNestedAttribute) Imports ¶
func (g GeneratorMapNestedAttribute) Imports() *generatorschema.Imports
func (GeneratorMapNestedAttribute) ModelField ¶
func (g GeneratorMapNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorMapNestedAttribute) Schema ¶
func (g GeneratorMapNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorMapNestedAttribute) To ¶ added in v0.3.0
func (g GeneratorMapNestedAttribute) To() (generatorschema.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 { schema.NumberAttribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType Validators specschema.NumberValidators }
func (GeneratorNumberAttribute) AttrType ¶ added in v0.2.0
func (g GeneratorNumberAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.NumberTypable type.
func (GeneratorNumberAttribute) AttrValue ¶ added in v0.2.0
func (g GeneratorNumberAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.NumberValuable type.
func (GeneratorNumberAttribute) CustomTypeAndValue ¶ added in v0.2.0
func (g GeneratorNumberAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorNumberAttribute) Equal ¶
func (g GeneratorNumberAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorNumberAttribute) From ¶ added in v0.2.0
func (g GeneratorNumberAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorNumberAttribute) GeneratorSchemaType ¶
func (g GeneratorNumberAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorNumberAttribute) Imports ¶
func (g GeneratorNumberAttribute) Imports() *generatorschema.Imports
func (GeneratorNumberAttribute) ModelField ¶
func (g GeneratorNumberAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorNumberAttribute) Schema ¶
func (g GeneratorNumberAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorNumberAttribute) To ¶ added in v0.2.0
func (g GeneratorNumberAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorNumberAttribute) ToFromFunctions ¶ added in v0.2.0
func (g GeneratorNumberAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorObjectAttribute ¶
type GeneratorObjectAttribute struct { schema.ObjectAttribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. AttributeTypes specschema.ObjectAttributeTypes CustomType *specschema.CustomType Validators specschema.ObjectValidators }
func (GeneratorObjectAttribute) AttrType ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (g GeneratorObjectAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.ListValuable type.
func (GeneratorObjectAttribute) CustomTypeAndValue ¶ added in v0.3.0
func (g GeneratorObjectAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorObjectAttribute) Equal ¶
func (g GeneratorObjectAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorObjectAttribute) From ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (g GeneratorObjectAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorObjectAttribute) ToFromFunctions ¶ added in v0.3.0
func (g GeneratorObjectAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSetAttribute ¶
type GeneratorSetAttribute struct { schema.SetAttribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType ElementType specschema.ElementType Validators specschema.SetValidators }
func (GeneratorSetAttribute) AttrType ¶ added in v0.3.0
func (g GeneratorSetAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.SetTypable type.
func (GeneratorSetAttribute) AttrValue ¶ added in v0.3.0
func (g GeneratorSetAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.SetValuable type.
func (GeneratorSetAttribute) CollectionType ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (g GeneratorSetAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorSetAttribute) ToFromFunctions ¶ added in v0.3.0
func (g GeneratorSetAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSetNestedAttribute ¶
type GeneratorSetNestedAttribute struct { schema.SetNestedAttribute // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType NestedObject GeneratorNestedAttributeObject Validators specschema.SetValidators }
func (GeneratorSetNestedAttribute) AssocExtType ¶
func (g GeneratorSetNestedAttribute) AssocExtType() *generatorschema.AssocExtType
func (GeneratorSetNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorSetNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSetNestedAttribute) Equal ¶
func (g GeneratorSetNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorSetNestedAttribute) From ¶ added in v0.3.0
func (g GeneratorSetNestedAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorSetNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorSetNestedAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorSetNestedAttribute) GetAttributes ¶
func (g GeneratorSetNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
func (GeneratorSetNestedAttribute) Imports ¶
func (g GeneratorSetNestedAttribute) Imports() *generatorschema.Imports
func (GeneratorSetNestedAttribute) ModelField ¶
func (g GeneratorSetNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSetNestedAttribute) Schema ¶
func (g GeneratorSetNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorSetNestedAttribute) To ¶ added in v0.3.0
func (g GeneratorSetNestedAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorSetNestedAttribute) ToFromFunctions ¶
func (g GeneratorSetNestedAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSetNestedBlock ¶
type GeneratorSetNestedBlock struct { schema.SetNestedBlock // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType NestedObject GeneratorNestedBlockObject Validators specschema.SetValidators }
func (GeneratorSetNestedBlock) AssocExtType ¶
func (g GeneratorSetNestedBlock) AssocExtType() *generatorschema.AssocExtType
func (GeneratorSetNestedBlock) CustomTypeAndValue ¶
func (g GeneratorSetNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSetNestedBlock) Equal ¶
func (g GeneratorSetNestedBlock) Equal(ga generatorschema.GeneratorBlock) bool
func (GeneratorSetNestedBlock) From ¶ added in v0.3.0
func (g GeneratorSetNestedBlock) From() (generatorschema.ToFromConversion, error)
func (GeneratorSetNestedBlock) GeneratorSchemaType ¶
func (g GeneratorSetNestedBlock) GeneratorSchemaType() generatorschema.Type
func (GeneratorSetNestedBlock) GetAttributes ¶
func (g GeneratorSetNestedBlock) GetAttributes() generatorschema.GeneratorAttributes
func (GeneratorSetNestedBlock) GetBlocks ¶
func (g GeneratorSetNestedBlock) GetBlocks() generatorschema.GeneratorBlocks
func (GeneratorSetNestedBlock) Imports ¶
func (g GeneratorSetNestedBlock) Imports() *generatorschema.Imports
func (GeneratorSetNestedBlock) ModelField ¶
func (g GeneratorSetNestedBlock) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSetNestedBlock) Schema ¶
func (g GeneratorSetNestedBlock) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorSetNestedBlock) To ¶ added in v0.3.0
func (g GeneratorSetNestedBlock) To() (generatorschema.ToFromConversion, error)
func (GeneratorSetNestedBlock) ToFromFunctions ¶
func (g GeneratorSetNestedBlock) ToFromFunctions(name string) ([]byte, error)
type GeneratorSingleNestedAttribute ¶
type GeneratorSingleNestedAttribute struct { schema.SingleNestedAttribute AssociatedExternalType *generatorschema.AssocExtType Attributes generatorschema.GeneratorAttributes // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType Validators specschema.ObjectValidators }
func (GeneratorSingleNestedAttribute) AssocExtType ¶
func (g GeneratorSingleNestedAttribute) AssocExtType() *generatorschema.AssocExtType
func (GeneratorSingleNestedAttribute) CustomTypeAndValue ¶
func (g GeneratorSingleNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSingleNestedAttribute) Equal ¶
func (g GeneratorSingleNestedAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorSingleNestedAttribute) From ¶ added in v0.3.0
func (g GeneratorSingleNestedAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorSingleNestedAttribute) GeneratorSchemaType ¶
func (g GeneratorSingleNestedAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorSingleNestedAttribute) GetAttributes ¶
func (g GeneratorSingleNestedAttribute) GetAttributes() generatorschema.GeneratorAttributes
func (GeneratorSingleNestedAttribute) Imports ¶
func (g GeneratorSingleNestedAttribute) Imports() *generatorschema.Imports
func (GeneratorSingleNestedAttribute) ModelField ¶
func (g GeneratorSingleNestedAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSingleNestedAttribute) Schema ¶
func (g GeneratorSingleNestedAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorSingleNestedAttribute) To ¶ added in v0.3.0
func (g GeneratorSingleNestedAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorSingleNestedAttribute) ToFromFunctions ¶
func (g GeneratorSingleNestedAttribute) ToFromFunctions(name string) ([]byte, error)
type GeneratorSingleNestedBlock ¶
type GeneratorSingleNestedBlock struct { schema.SingleNestedBlock AssociatedExternalType *generatorschema.AssocExtType Attributes generatorschema.GeneratorAttributes Blocks generatorschema.GeneratorBlocks // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType Validators specschema.ObjectValidators }
func (GeneratorSingleNestedBlock) AssocExtType ¶
func (g GeneratorSingleNestedBlock) AssocExtType() *generatorschema.AssocExtType
func (GeneratorSingleNestedBlock) CustomTypeAndValue ¶
func (g GeneratorSingleNestedBlock) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorSingleNestedBlock) Equal ¶
func (g GeneratorSingleNestedBlock) Equal(ga generatorschema.GeneratorBlock) bool
func (GeneratorSingleNestedBlock) From ¶ added in v0.3.0
func (g GeneratorSingleNestedBlock) From() (generatorschema.ToFromConversion, error)
func (GeneratorSingleNestedBlock) GeneratorSchemaType ¶
func (g GeneratorSingleNestedBlock) GeneratorSchemaType() generatorschema.Type
func (GeneratorSingleNestedBlock) GetAttributes ¶
func (g GeneratorSingleNestedBlock) GetAttributes() generatorschema.GeneratorAttributes
func (GeneratorSingleNestedBlock) GetBlocks ¶
func (g GeneratorSingleNestedBlock) GetBlocks() generatorschema.GeneratorBlocks
func (GeneratorSingleNestedBlock) Imports ¶
func (g GeneratorSingleNestedBlock) Imports() *generatorschema.Imports
func (GeneratorSingleNestedBlock) ModelField ¶
func (g GeneratorSingleNestedBlock) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorSingleNestedBlock) Schema ¶
func (g GeneratorSingleNestedBlock) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorSingleNestedBlock) To ¶ added in v0.3.0
func (g GeneratorSingleNestedBlock) To() (generatorschema.ToFromConversion, error)
func (GeneratorSingleNestedBlock) ToFromFunctions ¶
func (g GeneratorSingleNestedBlock) ToFromFunctions(name string) ([]byte, error)
type GeneratorStringAttribute ¶
type GeneratorStringAttribute struct { schema.StringAttribute AssociatedExternalType *generatorschema.AssocExtType // The "specschema" types are used instead of the types within the attribute // because support for extracting custom import information is required. CustomType *specschema.CustomType Validators specschema.StringValidators }
func (GeneratorStringAttribute) AttrType ¶ added in v0.2.0
func (g GeneratorStringAttribute) AttrType(name generatorschema.FrameworkIdentifier) (string, error)
AttrType returns a string representation of a basetypes.StringTypable type.
func (GeneratorStringAttribute) AttrValue ¶ added in v0.2.0
func (g GeneratorStringAttribute) AttrValue(name generatorschema.FrameworkIdentifier) string
AttrValue returns a string representation of a basetypes.StringValuable type.
func (GeneratorStringAttribute) CustomTypeAndValue ¶ added in v0.2.0
func (g GeneratorStringAttribute) CustomTypeAndValue(name string) ([]byte, error)
func (GeneratorStringAttribute) Equal ¶
func (g GeneratorStringAttribute) Equal(ga generatorschema.GeneratorAttribute) bool
func (GeneratorStringAttribute) From ¶ added in v0.2.0
func (g GeneratorStringAttribute) From() (generatorschema.ToFromConversion, error)
func (GeneratorStringAttribute) GeneratorSchemaType ¶
func (g GeneratorStringAttribute) GeneratorSchemaType() generatorschema.Type
func (GeneratorStringAttribute) Imports ¶
func (g GeneratorStringAttribute) Imports() *generatorschema.Imports
func (GeneratorStringAttribute) ModelField ¶
func (g GeneratorStringAttribute) ModelField(name generatorschema.FrameworkIdentifier) (model.Field, error)
func (GeneratorStringAttribute) Schema ¶
func (g GeneratorStringAttribute) Schema(name generatorschema.FrameworkIdentifier) (string, error)
func (GeneratorStringAttribute) To ¶ added in v0.2.0
func (g GeneratorStringAttribute) To() (generatorschema.ToFromConversion, error)
func (GeneratorStringAttribute) ToFromFunctions ¶ added in v0.2.0
func (g GeneratorStringAttribute) ToFromFunctions(name string) ([]byte, error)
Source Files
¶
- bool_attribute.go
- embed.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