resource_generate

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type GeneratorBoolAttribute ¶

type GeneratorBoolAttribute struct {
	schema.BoolAttribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.BoolDefault
	PlanModifiers specschema.BoolPlanModifiers
	Validators    specschema.BoolValidators
}

func (GeneratorBoolAttribute) Equal ¶

func (GeneratorBoolAttribute) GeneratorSchemaType ¶

func (g GeneratorBoolAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorBoolAttribute) Imports ¶

func (GeneratorBoolAttribute) ModelField ¶

func (GeneratorBoolAttribute) Schema ¶

type GeneratorFloat64Attribute ¶

type GeneratorFloat64Attribute struct {
	schema.Float64Attribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.Float64Default
	PlanModifiers specschema.Float64PlanModifiers
	Validators    specschema.Float64Validators
}

func (GeneratorFloat64Attribute) Equal ¶

func (GeneratorFloat64Attribute) GeneratorSchemaType ¶

func (g GeneratorFloat64Attribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorFloat64Attribute) Imports ¶

func (GeneratorFloat64Attribute) ModelField ¶

func (GeneratorFloat64Attribute) Schema ¶

type GeneratorInt64Attribute ¶

type GeneratorInt64Attribute struct {
	schema.Int64Attribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.Int64Default
	PlanModifiers specschema.Int64PlanModifiers
	Validators    specschema.Int64Validators
}

func (GeneratorInt64Attribute) Equal ¶

func (GeneratorInt64Attribute) GeneratorSchemaType ¶

func (g GeneratorInt64Attribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorInt64Attribute) Imports ¶

func (GeneratorInt64Attribute) ModelField ¶

func (GeneratorInt64Attribute) Schema ¶

type GeneratorListAttribute ¶

type GeneratorListAttribute struct {
	schema.ListAttribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.ListDefault
	ElementType   specschema.ElementType
	PlanModifiers specschema.ListPlanModifiers
	Validators    specschema.ListValidators
}

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) GeneratorSchemaType ¶

func (g GeneratorListAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorListAttribute) Imports ¶

func (GeneratorListAttribute) ModelField ¶

func (GeneratorListAttribute) Schema ¶

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
	Default       *specschema.ListDefault
	NestedObject  GeneratorNestedAttributeObject
	PlanModifiers specschema.ListPlanModifiers
	Validators    specschema.ListValidators
}

func (GeneratorListNestedAttribute) AssocExtType ¶

func (GeneratorListNestedAttribute) CustomTypeAndValue ¶

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

func (GeneratorListNestedAttribute) Equal ¶

func (GeneratorListNestedAttribute) GeneratorSchemaType ¶

func (g GeneratorListNestedAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorListNestedAttribute) GetAttributes ¶

func (GeneratorListNestedAttribute) Imports ¶

func (GeneratorListNestedAttribute) ModelField ¶

func (GeneratorListNestedAttribute) Schema ¶

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
	PlanModifiers specschema.ListPlanModifiers
	Validators    specschema.ListValidators
}

func (GeneratorListNestedBlock) AssocExtType ¶

func (GeneratorListNestedBlock) CustomTypeAndValue ¶

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

func (GeneratorListNestedBlock) Equal ¶

func (GeneratorListNestedBlock) GeneratorSchemaType ¶

func (g GeneratorListNestedBlock) GeneratorSchemaType() generatorschema.Type

func (GeneratorListNestedBlock) GetAttributes ¶

func (GeneratorListNestedBlock) GetBlocks ¶

func (GeneratorListNestedBlock) Imports ¶

func (GeneratorListNestedBlock) ModelField ¶

func (GeneratorListNestedBlock) Schema ¶

func (GeneratorListNestedBlock) ToFromFunctions ¶

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

type GeneratorMapAttribute ¶

type GeneratorMapAttribute struct {
	schema.MapAttribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.MapDefault
	ElementType   specschema.ElementType
	PlanModifiers specschema.MapPlanModifiers
	Validators    specschema.MapValidators
}

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) GeneratorSchemaType ¶

func (g GeneratorMapAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorMapAttribute) Imports ¶

func (GeneratorMapAttribute) ModelField ¶

func (GeneratorMapAttribute) Schema ¶

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
	Default       *specschema.MapDefault
	NestedObject  GeneratorNestedAttributeObject
	PlanModifiers specschema.MapPlanModifiers
	Validators    specschema.MapValidators
}

func (GeneratorMapNestedAttribute) AssocExtType ¶

func (GeneratorMapNestedAttribute) CustomTypeAndValue ¶

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

func (GeneratorMapNestedAttribute) Equal ¶

func (GeneratorMapNestedAttribute) GeneratorSchemaType ¶

func (g GeneratorMapNestedAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorMapNestedAttribute) GetAttributes ¶

func (GeneratorMapNestedAttribute) Imports ¶

func (GeneratorMapNestedAttribute) ModelField ¶

func (GeneratorMapNestedAttribute) Schema ¶

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 {
	schema.NumberAttribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.NumberDefault
	PlanModifiers specschema.NumberPlanModifiers
	Validators    specschema.NumberValidators
}

func (GeneratorNumberAttribute) Equal ¶

func (GeneratorNumberAttribute) GeneratorSchemaType ¶

func (g GeneratorNumberAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorNumberAttribute) Imports ¶

func (GeneratorNumberAttribute) ModelField ¶

func (GeneratorNumberAttribute) Schema ¶

type GeneratorObjectAttribute ¶

type GeneratorObjectAttribute struct {
	schema.ObjectAttribute

	// 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
	Default        *specschema.ObjectDefault
	PlanModifiers  specschema.ObjectPlanModifiers
	Validators     specschema.ObjectValidators
}

func (GeneratorObjectAttribute) AttrTypes ¶

func (GeneratorObjectAttribute) Equal ¶

func (GeneratorObjectAttribute) GeneratorSchemaType ¶

func (g GeneratorObjectAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorObjectAttribute) Imports ¶

func (GeneratorObjectAttribute) ModelField ¶

func (GeneratorObjectAttribute) Schema ¶

type GeneratorSetAttribute ¶

type GeneratorSetAttribute struct {
	schema.SetAttribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.SetDefault
	ElementType   specschema.ElementType
	PlanModifiers specschema.SetPlanModifiers
	Validators    specschema.SetValidators
}

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) GeneratorSchemaType ¶

func (g GeneratorSetAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorSetAttribute) Imports ¶

func (GeneratorSetAttribute) ModelField ¶

func (GeneratorSetAttribute) Schema ¶

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
	Default       *specschema.SetDefault
	NestedObject  GeneratorNestedAttributeObject
	PlanModifiers specschema.SetPlanModifiers
	Validators    specschema.SetValidators
}

func (GeneratorSetNestedAttribute) AssocExtType ¶

func (GeneratorSetNestedAttribute) CustomTypeAndValue ¶

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

func (GeneratorSetNestedAttribute) Equal ¶

func (GeneratorSetNestedAttribute) GeneratorSchemaType ¶

func (g GeneratorSetNestedAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorSetNestedAttribute) GetAttributes ¶

func (GeneratorSetNestedAttribute) Imports ¶

func (GeneratorSetNestedAttribute) ModelField ¶

func (GeneratorSetNestedAttribute) Schema ¶

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
	PlanModifiers specschema.SetPlanModifiers
	Validators    specschema.SetValidators
}

func (GeneratorSetNestedBlock) AssocExtType ¶

func (GeneratorSetNestedBlock) CustomTypeAndValue ¶

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

func (GeneratorSetNestedBlock) Equal ¶

func (GeneratorSetNestedBlock) GeneratorSchemaType ¶

func (g GeneratorSetNestedBlock) GeneratorSchemaType() generatorschema.Type

func (GeneratorSetNestedBlock) GetAttributes ¶

func (GeneratorSetNestedBlock) GetBlocks ¶

func (GeneratorSetNestedBlock) Imports ¶

func (GeneratorSetNestedBlock) ModelField ¶

func (GeneratorSetNestedBlock) Schema ¶

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

func (GeneratorSingleNestedAttribute) AssocExtType ¶

func (GeneratorSingleNestedAttribute) CustomTypeAndValue ¶

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

func (GeneratorSingleNestedAttribute) Equal ¶

func (GeneratorSingleNestedAttribute) GeneratorSchemaType ¶

func (g GeneratorSingleNestedAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorSingleNestedAttribute) GetAttributes ¶

func (GeneratorSingleNestedAttribute) Imports ¶

func (GeneratorSingleNestedAttribute) ModelField ¶

func (GeneratorSingleNestedAttribute) Schema ¶

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

func (GeneratorSingleNestedBlock) AssocExtType ¶

func (GeneratorSingleNestedBlock) CustomTypeAndValue ¶

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

func (GeneratorSingleNestedBlock) Equal ¶

func (GeneratorSingleNestedBlock) GeneratorSchemaType ¶

func (g GeneratorSingleNestedBlock) GeneratorSchemaType() generatorschema.Type

func (GeneratorSingleNestedBlock) GetAttributes ¶

func (GeneratorSingleNestedBlock) GetBlocks ¶

func (GeneratorSingleNestedBlock) Imports ¶

func (GeneratorSingleNestedBlock) ModelField ¶

func (GeneratorSingleNestedBlock) Schema ¶

func (GeneratorSingleNestedBlock) ToFromFunctions ¶

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

type GeneratorStringAttribute ¶

type GeneratorStringAttribute struct {
	schema.StringAttribute

	// The "specschema" types are used instead of the types within the attribute
	// because support for extracting custom import information is required.
	CustomType    *specschema.CustomType
	Default       *specschema.StringDefault
	PlanModifiers specschema.StringPlanModifiers
	Validators    specschema.StringValidators
}

func (GeneratorStringAttribute) Equal ¶

func (GeneratorStringAttribute) GeneratorSchemaType ¶

func (g GeneratorStringAttribute) GeneratorSchemaType() generatorschema.Type

func (GeneratorStringAttribute) Imports ¶

func (GeneratorStringAttribute) ModelField ¶

func (GeneratorStringAttribute) Schema ¶

Jump to

Keyboard shortcuts

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