resource_ssh_key

package
v0.0.0-...-104bfea Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SshKeyResourceSchema

func SshKeyResourceSchema(ctx context.Context) schema.Schema

Types

type DataType

type DataType struct {
	basetypes.ObjectType
}

func (DataType) Equal

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

func (DataType) String

func (t DataType) String() string

func (DataType) ValueFromObject

func (DataType) ValueFromTerraform

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

func (DataType) ValueType

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

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 NewDataValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DataValue, diag.Diagnostics)

func NewDataValueMust

func NewDataValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DataValue

func NewDataValueNull

func NewDataValueNull() DataValue

func NewDataValueUnknown

func NewDataValueUnknown() DataValue

func (DataValue) AttributeTypes

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

func (DataValue) Equal

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

func (DataValue) IsNull

func (v DataValue) IsNull() bool

func (DataValue) IsUnknown

func (v DataValue) IsUnknown() bool

func (DataValue) String

func (v DataValue) String() string

func (DataValue) ToObjectValue

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

func (DataValue) ToTerraformValue

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

func (DataValue) Type

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

type SshKeyModel

type SshKeyModel struct {
	Data      types.List   `tfsdk:"data"`
	Name      types.String `tfsdk:"name"`
	PublicKey types.String `tfsdk:"public_key"`
}

Jump to

Keyboard shortcuts

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