postgresflexalpha

package
v0.0.19-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserDataSourceSchema

func UserDataSourceSchema(ctx context.Context) schema.Schema

func UsersDataSourceSchema

func UsersDataSourceSchema(ctx context.Context) schema.Schema

Types

type PaginationType

type PaginationType struct {
	basetypes.ObjectType
}

func (PaginationType) Equal

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

func (PaginationType) String

func (t PaginationType) String() string

func (PaginationType) ValueFromObject

func (PaginationType) ValueFromTerraform

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

func (PaginationType) ValueType

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

type PaginationValue

type PaginationValue struct {
	Page       basetypes.Int64Value  `tfsdk:"page"`
	Size       basetypes.Int64Value  `tfsdk:"size"`
	Sort       basetypes.StringValue `tfsdk:"sort"`
	TotalPages basetypes.Int64Value  `tfsdk:"total_pages"`
	TotalRows  basetypes.Int64Value  `tfsdk:"total_rows"`
	// contains filtered or unexported fields
}

func NewPaginationValue

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

func NewPaginationValueMust

func NewPaginationValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PaginationValue

func NewPaginationValueNull

func NewPaginationValueNull() PaginationValue

func NewPaginationValueUnknown

func NewPaginationValueUnknown() PaginationValue

func (PaginationValue) AttributeTypes

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

func (PaginationValue) Equal

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

func (PaginationValue) IsNull

func (v PaginationValue) IsNull() bool

func (PaginationValue) IsUnknown

func (v PaginationValue) IsUnknown() bool

func (PaginationValue) String

func (v PaginationValue) String() string

func (PaginationValue) ToObjectValue

func (PaginationValue) ToTerraformValue

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

func (PaginationValue) Type

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

type UserModel

type UserModel struct {
	Id         types.Int64  `tfsdk:"tf_original_api_id"`
	InstanceId types.String `tfsdk:"instance_id"`
	Name       types.String `tfsdk:"name"`
	ProjectId  types.String `tfsdk:"project_id"`
	Region     types.String `tfsdk:"region"`
	Roles      types.List   `tfsdk:"roles"`
	Status     types.String `tfsdk:"status"`
	UserId     types.Int64  `tfsdk:"user_id"`
}

type UsersModel

type UsersModel struct {
	InstanceId types.String    `tfsdk:"instance_id"`
	Page       types.Int64     `tfsdk:"page"`
	Pagination PaginationValue `tfsdk:"pagination"`
	ProjectId  types.String    `tfsdk:"project_id"`
	Region     types.String    `tfsdk:"region"`
	Size       types.Int64     `tfsdk:"size"`
	Sort       types.String    `tfsdk:"sort"`
	Users      types.List      `tfsdk:"users"`
}

type UsersType

type UsersType struct {
	basetypes.ObjectType
}

func (UsersType) Equal

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

func (UsersType) String

func (t UsersType) String() string

func (UsersType) ValueFromObject

func (UsersType) ValueFromTerraform

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

func (UsersType) ValueType

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

type UsersValue

type UsersValue struct {
	Id     basetypes.Int64Value  `tfsdk:"id"`
	Name   basetypes.StringValue `tfsdk:"name"`
	Status basetypes.StringValue `tfsdk:"status"`
	// contains filtered or unexported fields
}

func NewUsersValue

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

func NewUsersValueMust

func NewUsersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UsersValue

func NewUsersValueNull

func NewUsersValueNull() UsersValue

func NewUsersValueUnknown

func NewUsersValueUnknown() UsersValue

func (UsersValue) AttributeTypes

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

func (UsersValue) Equal

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

func (UsersValue) IsNull

func (v UsersValue) IsNull() bool

func (UsersValue) IsUnknown

func (v UsersValue) IsUnknown() bool

func (UsersValue) String

func (v UsersValue) String() string

func (UsersValue) ToObjectValue

func (UsersValue) ToTerraformValue

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

func (UsersValue) Type

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

Jump to

Keyboard shortcuts

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