datasource_me

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MeDataSourceSchema

func MeDataSourceSchema(ctx context.Context) schema.Schema

Types

type AccountType

type AccountType struct {
	basetypes.ObjectType
}

func (AccountType) Equal

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

func (AccountType) String

func (t AccountType) String() string

func (AccountType) ValueFromObject

func (AccountType) ValueFromTerraform

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

func (AccountType) ValueType

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

type AccountValue

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

func NewAccountValue

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

func NewAccountValueMust

func NewAccountValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AccountValue

func NewAccountValueNull

func NewAccountValueNull() AccountValue

func NewAccountValueUnknown

func NewAccountValueUnknown() AccountValue

func (AccountValue) AttributeTypes

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

func (AccountValue) Equal

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

func (AccountValue) IsNull

func (v AccountValue) IsNull() bool

func (AccountValue) IsUnknown

func (v AccountValue) IsUnknown() bool

func (AccountValue) String

func (v AccountValue) String() string

func (AccountValue) ToObjectValue

func (AccountValue) ToTerraformValue

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

func (AccountValue) Type

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

type MeModel

type MeModel struct {
	Account AccountValue `tfsdk:"account"`
	Token   TokenValue   `tfsdk:"token"`
	User    UserValue    `tfsdk:"user"`
}

type TokenType

type TokenType struct {
	basetypes.ObjectType
}

func (TokenType) Equal

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

func (TokenType) String

func (t TokenType) String() string

func (TokenType) ValueFromObject

func (TokenType) ValueFromTerraform

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

func (TokenType) ValueType

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

type TokenValue

type TokenValue struct {
	Capabilities basetypes.ListValue   `tfsdk:"capabilities"`
	ExpiresAt    basetypes.StringValue `tfsdk:"expires_at"`
	Id           basetypes.StringValue `tfsdk:"id"`
	LastUsedAt   basetypes.StringValue `tfsdk:"last_used_at"`
	Name         basetypes.StringValue `tfsdk:"name"`
	// contains filtered or unexported fields
}

func NewTokenValue

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

func NewTokenValueMust

func NewTokenValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TokenValue

func NewTokenValueNull

func NewTokenValueNull() TokenValue

func NewTokenValueUnknown

func NewTokenValueUnknown() TokenValue

func (TokenValue) AttributeTypes

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

func (TokenValue) Equal

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

func (TokenValue) IsNull

func (v TokenValue) IsNull() bool

func (TokenValue) IsUnknown

func (v TokenValue) IsUnknown() bool

func (TokenValue) String

func (v TokenValue) String() string

func (TokenValue) ToObjectValue

func (TokenValue) ToTerraformValue

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

func (TokenValue) Type

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

type UserType

type UserType struct {
	basetypes.ObjectType
}

func (UserType) Equal

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

func (UserType) String

func (t UserType) String() string

func (UserType) ValueFromObject

func (UserType) ValueFromTerraform

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

func (UserType) ValueType

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

type UserValue

type UserValue struct {
	Email basetypes.StringValue `tfsdk:"email"`
	Id    basetypes.Int64Value  `tfsdk:"id"`
	// contains filtered or unexported fields
}

func NewUserValue

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

func NewUserValueMust

func NewUserValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UserValue

func NewUserValueNull

func NewUserValueNull() UserValue

func NewUserValueUnknown

func NewUserValueUnknown() UserValue

func (UserValue) AttributeTypes

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

func (UserValue) Equal

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

func (UserValue) IsNull

func (v UserValue) IsNull() bool

func (UserValue) IsUnknown

func (v UserValue) IsUnknown() bool

func (UserValue) String

func (v UserValue) String() string

func (UserValue) ToObjectValue

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

func (UserValue) ToTerraformValue

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

func (UserValue) Type

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

Jump to

Keyboard shortcuts

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