resource

package
v0.0.0-...-8e250b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type GeneratorBoolAttribute

type GeneratorBoolAttribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypePrimitive
	Default                  convert.DefaultBool
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorBoolAttribute

func NewGeneratorBoolAttribute(name string, a *resource.BoolAttribute) (GeneratorBoolAttribute, error)

func (GeneratorBoolAttribute) AttrType

AttrType returns a string representation of a basetypes.BoolTypable type.

func (GeneratorBoolAttribute) AttrValue

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 (GeneratorBoolAttribute) From

func (GeneratorBoolAttribute) GeneratorSchemaType

func (g GeneratorBoolAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorBoolAttribute) Imports

func (GeneratorBoolAttribute) ModelField

func (GeneratorBoolAttribute) Schema

func (GeneratorBoolAttribute) To

func (GeneratorBoolAttribute) ToFromFunctions

func (g GeneratorBoolAttribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorFloat64Attribute

type GeneratorFloat64Attribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypePrimitive
	Default                  convert.DefaultFloat64
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorFloat64Attribute

func NewGeneratorFloat64Attribute(name string, a *resource.Float64Attribute) (GeneratorFloat64Attribute, error)

func (GeneratorFloat64Attribute) AttrType

AttrType returns a string representation of a basetypes.Float64Typable type.

func (GeneratorFloat64Attribute) AttrValue

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 (GeneratorFloat64Attribute) From

func (GeneratorFloat64Attribute) GeneratorSchemaType

func (g GeneratorFloat64Attribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorFloat64Attribute) Imports

func (GeneratorFloat64Attribute) ModelField

func (GeneratorFloat64Attribute) Schema

func (GeneratorFloat64Attribute) To

func (GeneratorFloat64Attribute) ToFromFunctions

func (g GeneratorFloat64Attribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorInt64Attribute

type GeneratorInt64Attribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypePrimitive
	Default                  convert.DefaultInt64
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorInt64Attribute

func NewGeneratorInt64Attribute(name string, a *resource.Int64Attribute) (GeneratorInt64Attribute, error)

func (GeneratorInt64Attribute) AttrType

AttrType returns a string representation of a basetypes.Int64Typable type.

func (GeneratorInt64Attribute) AttrValue

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 (GeneratorInt64Attribute) From

func (GeneratorInt64Attribute) GeneratorSchemaType

func (g GeneratorInt64Attribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorInt64Attribute) Imports

func (GeneratorInt64Attribute) ModelField

func (GeneratorInt64Attribute) Schema

func (GeneratorInt64Attribute) To

func (GeneratorInt64Attribute) ToFromFunctions

func (g GeneratorInt64Attribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorListAttribute

type GeneratorListAttribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeCollection
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	ElementType              specschema.ElementType
	ElementTypeCollection    convert.ElementType
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorListAttribute

func NewGeneratorListAttribute(name string, a *resource.ListAttribute) (GeneratorListAttribute, error)

func (GeneratorListAttribute) AttrType

AttrType returns a string representation of a basetypes.ListTypable type.

func (GeneratorListAttribute) AttrValue

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 (GeneratorListAttribute) Equal

Equal does not delegate to g.ListAttribute.Equal(h.ListAttribute) as the call returns false when the ElementType is nil.

func (GeneratorListAttribute) From

func (GeneratorListAttribute) GeneratorSchemaType

func (g GeneratorListAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorListAttribute) Imports

func (GeneratorListAttribute) ModelField

func (GeneratorListAttribute) Schema

func (GeneratorListAttribute) To

func (GeneratorListAttribute) ToFromFunctions

func (g GeneratorListAttribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorListNestedAttribute

type GeneratorListNestedAttribute struct {
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeNestedCollection
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	NestedObject             GeneratorNestedAttributeObject
	NestedAttributeObject    NestedAttributeObject
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func (GeneratorListNestedAttribute) CustomTypeAndValue

func (g GeneratorListNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)

func (GeneratorListNestedAttribute) Equal

func (GeneratorListNestedAttribute) From

func (GeneratorListNestedAttribute) GeneratorSchemaType

func (g GeneratorListNestedAttribute) GeneratorSchemaType() schema.Type

func (GeneratorListNestedAttribute) GetAttributes

func (GeneratorListNestedAttribute) Imports

func (GeneratorListNestedAttribute) ModelField

func (GeneratorListNestedAttribute) Schema

func (GeneratorListNestedAttribute) To

func (GeneratorListNestedAttribute) ToFromFunctions

func (g GeneratorListNestedAttribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorListNestedBlock

type GeneratorListNestedBlock struct {
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeNestedCollection
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	NestedObject             GeneratorNestedBlockObject
	NestedBlockObject        NestedBlockObject
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorListNestedBlock

func NewGeneratorListNestedBlock(name string, b *resource.ListNestedBlock) (GeneratorListNestedBlock, error)

func (GeneratorListNestedBlock) CustomTypeAndValue

func (g GeneratorListNestedBlock) CustomTypeAndValue(name string) ([]byte, error)

func (GeneratorListNestedBlock) Equal

func (GeneratorListNestedBlock) From

func (GeneratorListNestedBlock) GeneratorSchemaType

func (g GeneratorListNestedBlock) GeneratorSchemaType() schema.Type

func (GeneratorListNestedBlock) GetAttributes

func (GeneratorListNestedBlock) GetBlocks

func (GeneratorListNestedBlock) Imports

func (GeneratorListNestedBlock) ModelField

func (GeneratorListNestedBlock) Schema

func (GeneratorListNestedBlock) To

func (GeneratorListNestedBlock) ToFromFunctions

func (g GeneratorListNestedBlock) ToFromFunctions(name string) ([]byte, error)

type GeneratorMapAttribute

type GeneratorMapAttribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeCollection
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	ElementType              specschema.ElementType
	ElementTypeCollection    convert.ElementType
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorMapAttribute

func NewGeneratorMapAttribute(name string, a *resource.MapAttribute) (GeneratorMapAttribute, error)

func (GeneratorMapAttribute) AttrType

AttrType returns a string representation of a basetypes.MapTypable type.

func (GeneratorMapAttribute) AttrValue

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 (GeneratorMapAttribute) Equal

Equal does not delegate to g.MapAttribute.Equal(h.MapAttribute) as the call returns false when the ElementType is nil.

func (GeneratorMapAttribute) From

func (GeneratorMapAttribute) GeneratorSchemaType

func (g GeneratorMapAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorMapAttribute) Imports

func (GeneratorMapAttribute) ModelField

func (GeneratorMapAttribute) Schema

func (GeneratorMapAttribute) To

func (GeneratorMapAttribute) ToFromFunctions

func (g GeneratorMapAttribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorMapNestedAttribute

type GeneratorMapNestedAttribute struct {
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeNestedCollection
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	NestedObject             GeneratorNestedAttributeObject
	NestedAttributeObject    NestedAttributeObject
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func (GeneratorMapNestedAttribute) CustomTypeAndValue

func (g GeneratorMapNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)

func (GeneratorMapNestedAttribute) Equal

func (GeneratorMapNestedAttribute) From

func (GeneratorMapNestedAttribute) GeneratorSchemaType

func (g GeneratorMapNestedAttribute) GeneratorSchemaType() schema.Type

func (GeneratorMapNestedAttribute) GetAttributes

func (GeneratorMapNestedAttribute) Imports

func (GeneratorMapNestedAttribute) ModelField

func (GeneratorMapNestedAttribute) Schema

func (GeneratorMapNestedAttribute) To

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
	PlanModifiers          specschema.ObjectPlanModifiers
	Validators             specschema.ObjectValidators
}

func (GeneratorNestedAttributeObject) Equal

type GeneratorNestedBlockObject

type GeneratorNestedBlockObject struct {
	Attributes schema.GeneratorAttributes
	Blocks     schema.GeneratorBlocks

	AssociatedExternalType *schema.AssocExtType
	CustomType             *specschema.CustomType
	PlanModifiers          specschema.ObjectPlanModifiers
	Validators             specschema.ObjectValidators
}

func (GeneratorNestedBlockObject) Equal

type GeneratorNumberAttribute

type GeneratorNumberAttribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypePrimitive
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorNumberAttribute

func NewGeneratorNumberAttribute(name string, a *resource.NumberAttribute) (GeneratorNumberAttribute, error)

func (GeneratorNumberAttribute) AttrType

AttrType returns a string representation of a basetypes.NumberTypable type.

func (GeneratorNumberAttribute) AttrValue

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 (GeneratorNumberAttribute) From

func (GeneratorNumberAttribute) GeneratorSchemaType

func (g GeneratorNumberAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorNumberAttribute) Imports

func (GeneratorNumberAttribute) ModelField

func (GeneratorNumberAttribute) Schema

func (GeneratorNumberAttribute) To

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
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeObject
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorObjectAttribute

func NewGeneratorObjectAttribute(name string, a *resource.ObjectAttribute) (GeneratorObjectAttribute, error)

func (GeneratorObjectAttribute) AttrType

AttrType returns a string representation of a basetypes.ObjectTypable type.

func (GeneratorObjectAttribute) AttrTypes

func (GeneratorObjectAttribute) AttrValue

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 (GeneratorObjectAttribute) From

func (GeneratorObjectAttribute) GeneratorSchemaType

func (g GeneratorObjectAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorObjectAttribute) Imports

func (GeneratorObjectAttribute) ModelField

func (GeneratorObjectAttribute) Schema

func (GeneratorObjectAttribute) To

func (GeneratorObjectAttribute) ToFromFunctions

func (g GeneratorObjectAttribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorSetAttribute

type GeneratorSetAttribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeCollection
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	ElementType              specschema.ElementType
	ElementTypeCollection    convert.ElementType
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorSetAttribute

func NewGeneratorSetAttribute(name string, a *resource.SetAttribute) (GeneratorSetAttribute, error)

func (GeneratorSetAttribute) AttrType

AttrType returns a string representation of a basetypes.SetTypable type.

func (GeneratorSetAttribute) AttrValue

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 (GeneratorSetAttribute) Equal

Equal does not delegate to g.SetAttribute.Equal(h.SetAttribute) as the call returns false when the ElementType is nil.

func (GeneratorSetAttribute) From

func (GeneratorSetAttribute) GeneratorSchemaType

func (g GeneratorSetAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorSetAttribute) Imports

func (GeneratorSetAttribute) ModelField

func (GeneratorSetAttribute) Schema

func (GeneratorSetAttribute) To

func (GeneratorSetAttribute) ToFromFunctions

func (g GeneratorSetAttribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorSetNestedAttribute

type GeneratorSetNestedAttribute struct {
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeNestedCollection
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	NestedObject             GeneratorNestedAttributeObject
	NestedAttributeObject    NestedAttributeObject
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func (GeneratorSetNestedAttribute) CustomTypeAndValue

func (g GeneratorSetNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)

func (GeneratorSetNestedAttribute) Equal

func (GeneratorSetNestedAttribute) From

func (GeneratorSetNestedAttribute) GeneratorSchemaType

func (g GeneratorSetNestedAttribute) GeneratorSchemaType() schema.Type

func (GeneratorSetNestedAttribute) GetAttributes

func (GeneratorSetNestedAttribute) Imports

func (GeneratorSetNestedAttribute) ModelField

func (GeneratorSetNestedAttribute) Schema

func (GeneratorSetNestedAttribute) To

func (GeneratorSetNestedAttribute) ToFromFunctions

func (g GeneratorSetNestedAttribute) ToFromFunctions(name string) ([]byte, error)

type GeneratorSetNestedBlock

type GeneratorSetNestedBlock struct {
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeNestedCollection
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	NestedObject             GeneratorNestedBlockObject
	NestedBlockObject        NestedBlockObject
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorSetNestedBlock

func NewGeneratorSetNestedBlock(name string, b *resource.SetNestedBlock) (GeneratorSetNestedBlock, error)

func (GeneratorSetNestedBlock) CustomTypeAndValue

func (g GeneratorSetNestedBlock) CustomTypeAndValue(name string) ([]byte, error)

func (GeneratorSetNestedBlock) Equal

func (GeneratorSetNestedBlock) From

func (GeneratorSetNestedBlock) GeneratorSchemaType

func (g GeneratorSetNestedBlock) GeneratorSchemaType() schema.Type

func (GeneratorSetNestedBlock) GetAttributes

func (GeneratorSetNestedBlock) GetBlocks

func (GeneratorSetNestedBlock) Imports

func (g GeneratorSetNestedBlock) Imports() *schema.Imports

func (GeneratorSetNestedBlock) ModelField

func (GeneratorSetNestedBlock) Schema

func (GeneratorSetNestedBlock) To

func (GeneratorSetNestedBlock) ToFromFunctions

func (g GeneratorSetNestedBlock) ToFromFunctions(name string) ([]byte, error)

type GeneratorSingleNestedAttribute

type GeneratorSingleNestedAttribute struct {
	AssociatedExternalType   *schema.AssocExtType
	Attributes               schema.GeneratorAttributes
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeNestedObject
	Default                  convert.DefaultCustom
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func (GeneratorSingleNestedAttribute) CustomTypeAndValue

func (g GeneratorSingleNestedAttribute) CustomTypeAndValue(name string) ([]byte, error)

func (GeneratorSingleNestedAttribute) Equal

func (GeneratorSingleNestedAttribute) From

func (GeneratorSingleNestedAttribute) GeneratorSchemaType

func (g GeneratorSingleNestedAttribute) GeneratorSchemaType() schema.Type

func (GeneratorSingleNestedAttribute) GetAttributes

func (GeneratorSingleNestedAttribute) Imports

func (GeneratorSingleNestedAttribute) ModelField

func (GeneratorSingleNestedAttribute) Schema

func (GeneratorSingleNestedAttribute) To

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
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypeNestedObject
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func (GeneratorSingleNestedBlock) CustomTypeAndValue

func (g GeneratorSingleNestedBlock) CustomTypeAndValue(name string) ([]byte, error)

func (GeneratorSingleNestedBlock) Equal

func (GeneratorSingleNestedBlock) From

func (GeneratorSingleNestedBlock) GeneratorSchemaType

func (g GeneratorSingleNestedBlock) GeneratorSchemaType() schema.Type

func (GeneratorSingleNestedBlock) GetAttributes

func (GeneratorSingleNestedBlock) GetBlocks

func (GeneratorSingleNestedBlock) Imports

func (GeneratorSingleNestedBlock) ModelField

func (GeneratorSingleNestedBlock) Schema

func (GeneratorSingleNestedBlock) To

func (GeneratorSingleNestedBlock) ToFromFunctions

func (g GeneratorSingleNestedBlock) ToFromFunctions(name string) ([]byte, error)

type GeneratorStringAttribute

type GeneratorStringAttribute struct {
	AssociatedExternalType   *generatorschema.AssocExtType
	ComputedOptionalRequired convert.ComputedOptionalRequired
	CustomType               convert.CustomTypePrimitive
	Default                  convert.DefaultString
	DeprecationMessage       convert.DeprecationMessage
	Description              convert.Description
	PlanModifiers            convert.PlanModifiers
	Sensitive                convert.Sensitive
	Validators               convert.Validators
}

func NewGeneratorStringAttribute

func NewGeneratorStringAttribute(name string, a *resource.StringAttribute) (GeneratorStringAttribute, error)

func (GeneratorStringAttribute) AttrType

AttrType returns a string representation of a basetypes.StringTypable type.

func (GeneratorStringAttribute) AttrValue

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 (GeneratorStringAttribute) From

func (GeneratorStringAttribute) GeneratorSchemaType

func (g GeneratorStringAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorStringAttribute) Imports

func (GeneratorStringAttribute) ModelField

func (GeneratorStringAttribute) Schema

func (GeneratorStringAttribute) To

func (GeneratorStringAttribute) ToFromFunctions

func (g GeneratorStringAttribute) ToFromFunctions(name string) ([]byte, error)

type NestedAttributeObject

type NestedAttributeObject struct {
	// contains filtered or unexported fields
}

func NewNestedAttributeObject

NewNestedAttributeObject constructs a NestedAttributeObject which is used to generate a nested attribute object in the schema.

func (NestedAttributeObject) Equal

func (NestedAttributeObject) Imports

func (NestedAttributeObject) Schema

func (n NestedAttributeObject) Schema() ([]byte, error)

type NestedBlockObject

type NestedBlockObject struct {
	// contains filtered or unexported fields
}

func NewNestedBlockObject

NewNestedBlockObject constructs a NestedBlockObject which is used to generate a nested attribute block in the schema.

func (NestedBlockObject) Equal

func (n NestedBlockObject) Equal(other NestedBlockObject) bool

func (NestedBlockObject) Imports

func (NestedBlockObject) Schema

func (n NestedBlockObject) Schema() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL