Documentation
¶
Index ¶
- func MeDataSourceSchema(ctx context.Context) schema.Schema
- type AccountType
- func (t AccountType) Equal(o attr.Type) bool
- func (t AccountType) String() string
- func (t AccountType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t AccountType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t AccountType) ValueType(ctx context.Context) attr.Value
- type AccountValue
- func NewAccountValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AccountValue, diag.Diagnostics)
- func NewAccountValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AccountValue
- func NewAccountValueNull() AccountValue
- func NewAccountValueUnknown() AccountValue
- func (v AccountValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v AccountValue) Equal(o attr.Value) bool
- func (v AccountValue) IsNull() bool
- func (v AccountValue) IsUnknown() bool
- func (v AccountValue) String() string
- func (v AccountValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v AccountValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v AccountValue) Type(ctx context.Context) attr.Type
- type MeModel
- type TokenType
- func (t TokenType) Equal(o attr.Type) bool
- func (t TokenType) String() string
- func (t TokenType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t TokenType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t TokenType) ValueType(ctx context.Context) attr.Value
- type TokenValue
- func NewTokenValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TokenValue, diag.Diagnostics)
- func NewTokenValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TokenValue
- func NewTokenValueNull() TokenValue
- func NewTokenValueUnknown() TokenValue
- func (v TokenValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v TokenValue) Equal(o attr.Value) bool
- func (v TokenValue) IsNull() bool
- func (v TokenValue) IsUnknown() bool
- func (v TokenValue) String() string
- func (v TokenValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v TokenValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v TokenValue) Type(ctx context.Context) attr.Type
- type UserType
- func (t UserType) Equal(o attr.Type) bool
- func (t UserType) String() string
- func (t UserType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t UserType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t UserType) ValueType(ctx context.Context) attr.Value
- type UserValue
- func (v UserValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v UserValue) Equal(o attr.Value) bool
- func (v UserValue) IsNull() bool
- func (v UserValue) IsUnknown() bool
- func (v UserValue) String() string
- func (v UserValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v UserValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v UserValue) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountType ¶
type AccountType struct {
basetypes.ObjectType
}
func (AccountType) String ¶
func (t AccountType) String() string
func (AccountType) ValueFromObject ¶
func (t AccountType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (AccountType) ValueFromTerraform ¶
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 NewAccountValueNull ¶
func NewAccountValueNull() AccountValue
func NewAccountValueUnknown ¶
func NewAccountValueUnknown() AccountValue
func (AccountValue) AttributeTypes ¶
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 (v AccountValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (AccountValue) ToTerraformValue ¶
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) ValueFromObject ¶
func (t TokenType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (TokenType) ValueFromTerraform ¶
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 NewTokenValueNull ¶
func NewTokenValueNull() TokenValue
func NewTokenValueUnknown ¶
func NewTokenValueUnknown() TokenValue
func (TokenValue) AttributeTypes ¶
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 (v TokenValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (TokenValue) ToTerraformValue ¶
type UserType ¶
type UserType struct {
basetypes.ObjectType
}
func (UserType) ValueFromObject ¶
func (t UserType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (UserType) ValueFromTerraform ¶
type UserValue ¶
type UserValue struct {
Email basetypes.StringValue `tfsdk:"email"`
Id basetypes.Int64Value `tfsdk:"id"`
// contains filtered or unexported fields
}
func NewUserValue ¶
func NewUserValueMust ¶
func NewUserValueNull ¶
func NewUserValueNull() UserValue
func NewUserValueUnknown ¶
func NewUserValueUnknown() UserValue
func (UserValue) AttributeTypes ¶
func (UserValue) ToObjectValue ¶
func (v UserValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (UserValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.