postgresflexalpha

package
v0.0.9-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstanceResourceSchema

func InstanceResourceSchema(ctx context.Context) schema.Schema

Types

type ConnectionInfoType

type ConnectionInfoType struct {
	basetypes.ObjectType
}

func (ConnectionInfoType) Equal

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

func (ConnectionInfoType) String

func (t ConnectionInfoType) String() string

func (ConnectionInfoType) ValueFromObject

func (ConnectionInfoType) ValueFromTerraform

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

func (ConnectionInfoType) ValueType

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

type ConnectionInfoValue

type ConnectionInfoValue struct {
	Host basetypes.StringValue `tfsdk:"host"`
	Port basetypes.Int64Value  `tfsdk:"port"`
	// contains filtered or unexported fields
}

func NewConnectionInfoValue

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

func NewConnectionInfoValueMust

func NewConnectionInfoValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ConnectionInfoValue

func NewConnectionInfoValueNull

func NewConnectionInfoValueNull() ConnectionInfoValue

func NewConnectionInfoValueUnknown

func NewConnectionInfoValueUnknown() ConnectionInfoValue

func (ConnectionInfoValue) AttributeTypes

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

func (ConnectionInfoValue) Equal

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

func (ConnectionInfoValue) IsNull

func (v ConnectionInfoValue) IsNull() bool

func (ConnectionInfoValue) IsUnknown

func (v ConnectionInfoValue) IsUnknown() bool

func (ConnectionInfoValue) String

func (v ConnectionInfoValue) String() string

func (ConnectionInfoValue) ToObjectValue

func (ConnectionInfoValue) ToTerraformValue

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

func (ConnectionInfoValue) Type

type EncryptionType

type EncryptionType struct {
	basetypes.ObjectType
}

func (EncryptionType) Equal

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

func (EncryptionType) String

func (t EncryptionType) String() string

func (EncryptionType) ValueFromObject

func (EncryptionType) ValueFromTerraform

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

func (EncryptionType) ValueType

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

type EncryptionValue

type EncryptionValue struct {
	KekKeyId       basetypes.StringValue `tfsdk:"kek_key_id"`
	KekKeyRingId   basetypes.StringValue `tfsdk:"kek_key_ring_id"`
	KekKeyVersion  basetypes.StringValue `tfsdk:"kek_key_version"`
	ServiceAccount basetypes.StringValue `tfsdk:"service_account"`
	// contains filtered or unexported fields
}

func NewEncryptionValue

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

func NewEncryptionValueMust

func NewEncryptionValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EncryptionValue

func NewEncryptionValueNull

func NewEncryptionValueNull() EncryptionValue

func NewEncryptionValueUnknown

func NewEncryptionValueUnknown() EncryptionValue

func (EncryptionValue) AttributeTypes

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

func (EncryptionValue) Equal

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

func (EncryptionValue) IsNull

func (v EncryptionValue) IsNull() bool

func (EncryptionValue) IsUnknown

func (v EncryptionValue) IsUnknown() bool

func (EncryptionValue) String

func (v EncryptionValue) String() string

func (EncryptionValue) ToObjectValue

func (EncryptionValue) ToTerraformValue

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

func (EncryptionValue) Type

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

type InstanceModel

type InstanceModel struct {
	Acl            types.List          `tfsdk:"acl"`
	BackupSchedule types.String        `tfsdk:"backup_schedule"`
	ConnectionInfo ConnectionInfoValue `tfsdk:"connection_info"`
	Encryption     EncryptionValue     `tfsdk:"encryption"`
	FlavorId       types.String        `tfsdk:"flavor_id"`
	Id             types.String        `tfsdk:"id"`
	InstanceId     types.String        `tfsdk:"instance_id"`
	IsDeletable    types.Bool          `tfsdk:"is_deletable"`
	Name           types.String        `tfsdk:"name"`
	Network        NetworkValue        `tfsdk:"network"`
	ProjectId      types.String        `tfsdk:"project_id"`
	Region         types.String        `tfsdk:"region"`
	Replicas       types.Int64         `tfsdk:"replicas"`
	RetentionDays  types.Int64         `tfsdk:"retention_days"`
	Status         types.String        `tfsdk:"status"`
	Storage        StorageValue        `tfsdk:"storage"`
	Version        types.String        `tfsdk:"version"`
}

type NetworkType

type NetworkType struct {
	basetypes.ObjectType
}

func (NetworkType) Equal

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

func (NetworkType) String

func (t NetworkType) String() string

func (NetworkType) ValueFromObject

func (NetworkType) ValueFromTerraform

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

func (NetworkType) ValueType

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

type NetworkValue

type NetworkValue struct {
	AccessScope     basetypes.StringValue `tfsdk:"access_scope"`
	Acl             basetypes.ListValue   `tfsdk:"acl"`
	InstanceAddress basetypes.StringValue `tfsdk:"instance_address"`
	RouterAddress   basetypes.StringValue `tfsdk:"router_address"`
	// contains filtered or unexported fields
}

func NewNetworkValue

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

func NewNetworkValueMust

func NewNetworkValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NetworkValue

func NewNetworkValueNull

func NewNetworkValueNull() NetworkValue

func NewNetworkValueUnknown

func NewNetworkValueUnknown() NetworkValue

func (NetworkValue) AttributeTypes

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

func (NetworkValue) Equal

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

func (NetworkValue) IsNull

func (v NetworkValue) IsNull() bool

func (NetworkValue) IsUnknown

func (v NetworkValue) IsUnknown() bool

func (NetworkValue) String

func (v NetworkValue) String() string

func (NetworkValue) ToObjectValue

func (NetworkValue) ToTerraformValue

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

func (NetworkValue) Type

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

type StorageType

type StorageType struct {
	basetypes.ObjectType
}

func (StorageType) Equal

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

func (StorageType) String

func (t StorageType) String() string

func (StorageType) ValueFromObject

func (StorageType) ValueFromTerraform

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

func (StorageType) ValueType

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

type StorageValue

type StorageValue struct {
	PerformanceClass basetypes.StringValue `tfsdk:"performance_class"`
	Size             basetypes.Int64Value  `tfsdk:"size"`
	// contains filtered or unexported fields
}

func NewStorageValue

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

func NewStorageValueMust

func NewStorageValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StorageValue

func NewStorageValueNull

func NewStorageValueNull() StorageValue

func NewStorageValueUnknown

func NewStorageValueUnknown() StorageValue

func (StorageValue) AttributeTypes

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

func (StorageValue) Equal

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

func (StorageValue) IsNull

func (v StorageValue) IsNull() bool

func (StorageValue) IsUnknown

func (v StorageValue) IsUnknown() bool

func (StorageValue) String

func (v StorageValue) String() string

func (StorageValue) ToObjectValue

func (StorageValue) ToTerraformValue

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

func (StorageValue) Type

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

Jump to

Keyboard shortcuts

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