Documentation
¶
Index ¶
- func SshKeyResourceSchema(ctx context.Context) schema.Schema
- type DataType
- func (t DataType) Equal(o attr.Type) bool
- func (t DataType) String() string
- func (t DataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t DataType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t DataType) ValueType(ctx context.Context) attr.Value
- type DataValue
- func (v DataValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v DataValue) Equal(o attr.Value) bool
- func (v DataValue) IsNull() bool
- func (v DataValue) IsUnknown() bool
- func (v DataValue) String() string
- func (v DataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v DataValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v DataValue) Type(ctx context.Context) attr.Type
- type SshKeyModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataType ¶
type DataType struct {
basetypes.ObjectType
}
func (DataType) ValueFromObject ¶
func (t DataType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (DataType) ValueFromTerraform ¶
type DataValue ¶
type DataValue struct { Id basetypes.StringValue `tfsdk:"id"` Name basetypes.StringValue `tfsdk:"name"` PublicKey basetypes.StringValue `tfsdk:"public_key"` // contains filtered or unexported fields }
func NewDataValue ¶
func NewDataValueMust ¶
func NewDataValueNull ¶
func NewDataValueNull() DataValue
func NewDataValueUnknown ¶
func NewDataValueUnknown() DataValue
func (DataValue) AttributeTypes ¶
func (DataValue) ToObjectValue ¶
func (v DataValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (DataValue) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.