resource_queue

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueueResourceSchema

func QueueResourceSchema(ctx context.Context) schema.Schema

Types

type AmqpType

type AmqpType struct {
	basetypes.ObjectType
}

func (AmqpType) Equal

func (t AmqpType) Equal(o attr.Type) bool

func (AmqpType) String

func (t AmqpType) String() string

func (AmqpType) ValueFromObject

func (AmqpType) ValueFromTerraform

func (t AmqpType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (AmqpType) ValueType

func (t AmqpType) ValueType(ctx context.Context) attr.Value

type AmqpValue

type AmqpValue struct {
	QueueName basetypes.StringValue `tfsdk:"queue_name"`
	Uri       basetypes.StringValue `tfsdk:"uri"`
	// contains filtered or unexported fields
}

func NewAmqpValue

func NewAmqpValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AmqpValue, diag.Diagnostics)

func NewAmqpValueMust

func NewAmqpValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AmqpValue

func NewAmqpValueNull

func NewAmqpValueNull() AmqpValue

func NewAmqpValueUnknown

func NewAmqpValueUnknown() AmqpValue

func (AmqpValue) AttributeTypes

func (v AmqpValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (AmqpValue) Equal

func (v AmqpValue) Equal(o attr.Value) bool

func (AmqpValue) IsNull

func (v AmqpValue) IsNull() bool

func (AmqpValue) IsUnknown

func (v AmqpValue) IsUnknown() bool

func (AmqpValue) String

func (v AmqpValue) String() string

func (AmqpValue) ToObjectValue

func (v AmqpValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (AmqpValue) ToTerraformValue

func (v AmqpValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (AmqpValue) Type

func (v AmqpValue) Type(ctx context.Context) attr.Type

type MessagesType

type MessagesType struct {
	basetypes.ObjectType
}

func (MessagesType) Equal

func (t MessagesType) Equal(o attr.Type) bool

func (MessagesType) String

func (t MessagesType) String() string

func (MessagesType) ValueFromObject

func (MessagesType) ValueFromTerraform

func (t MessagesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (MessagesType) ValueType

func (t MessagesType) ValueType(ctx context.Context) attr.Value

type MessagesValue

type MessagesValue struct {
	Ready          basetypes.Int64Value `tfsdk:"ready"`
	Total          basetypes.Int64Value `tfsdk:"total"`
	Unacknowledged basetypes.Int64Value `tfsdk:"unacknowledged"`
	// contains filtered or unexported fields
}

func NewMessagesValue

func NewMessagesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MessagesValue, diag.Diagnostics)

func NewMessagesValueMust

func NewMessagesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MessagesValue

func NewMessagesValueNull

func NewMessagesValueNull() MessagesValue

func NewMessagesValueUnknown

func NewMessagesValueUnknown() MessagesValue

func (MessagesValue) AttributeTypes

func (v MessagesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (MessagesValue) Equal

func (v MessagesValue) Equal(o attr.Value) bool

func (MessagesValue) IsNull

func (v MessagesValue) IsNull() bool

func (MessagesValue) IsUnknown

func (v MessagesValue) IsUnknown() bool

func (MessagesValue) String

func (v MessagesValue) String() string

func (MessagesValue) ToObjectValue

func (MessagesValue) ToTerraformValue

func (v MessagesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (MessagesValue) Type

func (v MessagesValue) Type(ctx context.Context) attr.Type

type QueueModel

type QueueModel struct {
	Amqp         AmqpValue     `tfsdk:"amqp"`
	AppId        types.String  `tfsdk:"app_id"`
	Deadletter   types.Bool    `tfsdk:"deadletter"`
	DeadletterId types.String  `tfsdk:"deadletter_id"`
	Id           types.String  `tfsdk:"id"`
	MaxLength    types.Int64   `tfsdk:"max_length"`
	Messages     MessagesValue `tfsdk:"messages"`
	Name         types.String  `tfsdk:"name"`
	ParentAppId  types.String  `tfsdk:"parent_app_id"`
	Region       types.String  `tfsdk:"region"`
	State        types.String  `tfsdk:"state"`
	Stats        StatsValue    `tfsdk:"stats"`
	Stomp        StompValue    `tfsdk:"stomp"`
	Ttl          types.Int64   `tfsdk:"ttl"`
}

type StatsType

type StatsType struct {
	basetypes.ObjectType
}

func (StatsType) Equal

func (t StatsType) Equal(o attr.Type) bool

func (StatsType) String

func (t StatsType) String() string

func (StatsType) ValueFromObject

func (StatsType) ValueFromTerraform

func (t StatsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (StatsType) ValueType

func (t StatsType) ValueType(ctx context.Context) attr.Value

type StatsValue

type StatsValue struct {
	AcknowledgementRate basetypes.NumberValue `tfsdk:"acknowledgement_rate"`
	DeliveryRate        basetypes.NumberValue `tfsdk:"delivery_rate"`
	PublishRate         basetypes.NumberValue `tfsdk:"publish_rate"`
	// contains filtered or unexported fields
}

func NewStatsValue

func NewStatsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (StatsValue, diag.Diagnostics)

func NewStatsValueMust

func NewStatsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StatsValue

func NewStatsValueNull

func NewStatsValueNull() StatsValue

func NewStatsValueUnknown

func NewStatsValueUnknown() StatsValue

func (StatsValue) AttributeTypes

func (v StatsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (StatsValue) Equal

func (v StatsValue) Equal(o attr.Value) bool

func (StatsValue) IsNull

func (v StatsValue) IsNull() bool

func (StatsValue) IsUnknown

func (v StatsValue) IsUnknown() bool

func (StatsValue) String

func (v StatsValue) String() string

func (StatsValue) ToObjectValue

func (StatsValue) ToTerraformValue

func (v StatsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (StatsValue) Type

func (v StatsValue) Type(ctx context.Context) attr.Type

type StompType

type StompType struct {
	basetypes.ObjectType
}

func (StompType) Equal

func (t StompType) Equal(o attr.Type) bool

func (StompType) String

func (t StompType) String() string

func (StompType) ValueFromObject

func (StompType) ValueFromTerraform

func (t StompType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (StompType) ValueType

func (t StompType) ValueType(ctx context.Context) attr.Value

type StompValue

type StompValue struct {
	Destination basetypes.StringValue `tfsdk:"destination"`
	Host        basetypes.StringValue `tfsdk:"host"`
	Uri         basetypes.StringValue `tfsdk:"uri"`
	// contains filtered or unexported fields
}

func NewStompValue

func NewStompValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (StompValue, diag.Diagnostics)

func NewStompValueMust

func NewStompValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StompValue

func NewStompValueNull

func NewStompValueNull() StompValue

func NewStompValueUnknown

func NewStompValueUnknown() StompValue

func (StompValue) AttributeTypes

func (v StompValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (StompValue) Equal

func (v StompValue) Equal(o attr.Value) bool

func (StompValue) IsNull

func (v StompValue) IsNull() bool

func (StompValue) IsUnknown

func (v StompValue) IsUnknown() bool

func (StompValue) String

func (v StompValue) String() string

func (StompValue) ToObjectValue

func (StompValue) ToTerraformValue

func (v StompValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (StompValue) Type

func (v StompValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

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