Versions in this module Expand all Collapse all v0 v0.4.1 Sep 24, 2024 v0.4.0 May 16, 2024 Changes in this version + type ComputedOptionalRequired struct + func NewComputedOptionalRequired(c specschema.ComputedOptionalRequired) ComputedOptionalRequired + func (c ComputedOptionalRequired) Equal(other ComputedOptionalRequired) bool + func (c ComputedOptionalRequired) IsComputed() bool + func (c ComputedOptionalRequired) IsOptional() bool + func (c ComputedOptionalRequired) IsRequired() bool + func (c ComputedOptionalRequired) Schema() []byte + type CustomCollectionTypes string + const CustomCollectionTypeList + const CustomCollectionTypeMap + const CustomCollectionTypeSet + func (c CustomCollectionTypes) Equal(other CustomCollectionTypes) bool + type CustomTypeCollection struct + func NewCustomTypeCollection(c *specschema.CustomType, a *specschema.AssociatedExternalType, ...) CustomTypeCollection + func (c CustomTypeCollection) Equal(other CustomTypeCollection) bool + func (c CustomTypeCollection) Imports() *schema.Imports + func (c CustomTypeCollection) Schema() []byte + func (c CustomTypeCollection) ValueType() string + type CustomTypeNestedCollection struct + func NewCustomTypeNestedCollection(c *specschema.CustomType) CustomTypeNestedCollection + func (c CustomTypeNestedCollection) Equal(other CustomTypeNestedCollection) bool + func (c CustomTypeNestedCollection) Imports() *schema.Imports + func (c CustomTypeNestedCollection) Schema() []byte + func (c CustomTypeNestedCollection) ValueType() string + type CustomTypeNestedObject struct + func NewCustomTypeNestedObject(c *specschema.CustomType, name string) CustomTypeNestedObject + func (c CustomTypeNestedObject) Equal(other CustomTypeNestedObject) bool + func (c CustomTypeNestedObject) Imports() *schema.Imports + func (c CustomTypeNestedObject) Schema() []byte + func (c CustomTypeNestedObject) ValueType() string + type CustomTypeObject struct + func NewCustomTypeObject(c *specschema.CustomType, a *specschema.AssociatedExternalType, name string) CustomTypeObject + func (c CustomTypeObject) Equal(other CustomTypeObject) bool + func (c CustomTypeObject) Imports() *schema.Imports + func (c CustomTypeObject) Schema() []byte + func (c CustomTypeObject) ValueType() string + type CustomTypePrimitive struct + func NewCustomTypePrimitive(c *specschema.CustomType, a *specschema.AssociatedExternalType, name string) CustomTypePrimitive + func (c CustomTypePrimitive) Equal(other CustomTypePrimitive) bool + func (c CustomTypePrimitive) Imports() *schema.Imports + func (c CustomTypePrimitive) Schema() []byte + func (c CustomTypePrimitive) ValueType() string + type DefaultBool struct + func NewDefaultBool(b *specschema.BoolDefault) DefaultBool + func (d DefaultBool) Equal(other DefaultBool) bool + func (d DefaultBool) Imports() *generatorschema.Imports + func (d DefaultBool) Schema() []byte + type DefaultCustom struct + func NewDefaultCustom(c *specschema.CustomDefault) DefaultCustom + func (d DefaultCustom) Equal(other DefaultCustom) bool + func (d DefaultCustom) Imports() *generatorschema.Imports + func (d DefaultCustom) Schema() []byte + type DefaultFloat64 struct + func NewDefaultFloat64(b *specschema.Float64Default) DefaultFloat64 + func (d DefaultFloat64) Equal(other DefaultFloat64) bool + func (d DefaultFloat64) Imports() *generatorschema.Imports + func (d DefaultFloat64) Schema() []byte + type DefaultInt64 struct + func NewDefaultInt64(b *specschema.Int64Default) DefaultInt64 + func (d DefaultInt64) Equal(other DefaultInt64) bool + func (d DefaultInt64) Imports() *generatorschema.Imports + func (d DefaultInt64) Schema() []byte + type DefaultString struct + func NewDefaultString(b *specschema.StringDefault) DefaultString + func (d DefaultString) Equal(other DefaultString) bool + func (d DefaultString) Imports() *generatorschema.Imports + func (d DefaultString) Schema() []byte + type DeprecationMessage struct + func NewDeprecationMessage(d *string) DeprecationMessage + func (d DeprecationMessage) DeprecationMessage() string + func (d DeprecationMessage) Equal(other DeprecationMessage) bool + func (d DeprecationMessage) Schema() []byte + type Description struct + func NewDescription(d *string) Description + func (d Description) Description() string + func (d Description) Equal(other Description) bool + func (d Description) Schema() []byte + type ElementType struct + func NewElementType(e specschema.ElementType) ElementType + func (e ElementType) ElementType() []byte + func (e ElementType) Equal(other ElementType) bool + func (e ElementType) Imports() *schema.Imports + func (e ElementType) Schema() []byte + type NestedAttributeObject struct + func NewNestedAttributeObject(a schema.GeneratorAttributes, c *specschema.CustomType, v Validators, ...) NestedAttributeObject + func (n NestedAttributeObject) Equal(other NestedAttributeObject) bool + func (n NestedAttributeObject) Imports() *schema.Imports + func (n NestedAttributeObject) Schema() ([]byte, error) + type NestedBlockObject struct + func NewNestedBlockObject(a schema.GeneratorAttributes, b schema.GeneratorBlocks, ...) NestedBlockObject + func (n NestedBlockObject) Equal(other NestedBlockObject) bool + func (n NestedBlockObject) Imports() *schema.Imports + func (n NestedBlockObject) Schema() ([]byte, error) + type ObjectAttributeTypes struct + func NewObjectAttributeTypes(o specschema.ObjectAttributeTypes) ObjectAttributeTypes + func (o ObjectAttributeTypes) AttributeTypes() []byte + func (o ObjectAttributeTypes) Equal(other ObjectAttributeTypes) bool + func (o ObjectAttributeTypes) Imports() *schema.Imports + func (o ObjectAttributeTypes) Schema() []byte + type OptionalRequired struct + func NewOptionalRequired(c specschema.OptionalRequired) OptionalRequired + func (o OptionalRequired) Equal(other OptionalRequired) bool + func (o OptionalRequired) IsOptional() bool + func (o OptionalRequired) IsRequired() bool + func (o OptionalRequired) Schema() []byte + type PlanModifierType string + const PlanModifierTypeBool + const PlanModifierTypeFloat64 + const PlanModifierTypeInt64 + const PlanModifierTypeList + const PlanModifierTypeMap + const PlanModifierTypeNumber + const PlanModifierTypeObject + const PlanModifierTypeSet + const PlanModifierTypeString + type PlanModifiers struct + func NewPlanModifiers(t PlanModifierType, c specschema.CustomPlanModifiers) PlanModifiers + func (v PlanModifiers) Equal(other PlanModifiers) bool + func (v PlanModifiers) Imports() *schema.Imports + func (v PlanModifiers) Schema() []byte + type Sensitive struct + func NewSensitive(s *bool) Sensitive + func (s Sensitive) Equal(other Sensitive) bool + func (s Sensitive) IsSensitive() bool + func (s Sensitive) Schema() []byte + type ValidatorType string + const ValidatorTypeBool + const ValidatorTypeFloat64 + const ValidatorTypeInt64 + const ValidatorTypeList + const ValidatorTypeMap + const ValidatorTypeNumber + const ValidatorTypeObject + const ValidatorTypeSet + const ValidatorTypeString + type Validators struct + func NewValidators(t ValidatorType, c specschema.CustomValidators) Validators + func (v Validators) Equal(other Validators) bool + func (v Validators) Imports() *schema.Imports + func (v Validators) Schema() []byte