resource_device_gateway_cluster

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeviceGatewayClusterResourceSchema

func DeviceGatewayClusterResourceSchema(ctx context.Context) schema.Schema

Types

type DeviceGatewayClusterModel

type DeviceGatewayClusterModel struct {
	DeviceId types.String `tfsdk:"device_id"`
	Nodes    types.List   `tfsdk:"nodes"`
	SiteId   types.String `tfsdk:"site_id"`
}

func SdkToTerraform

func SdkToTerraform(ctx context.Context, siteId uuid.UUID, deviceId uuid.UUID, data *models.GatewayCluster) (DeviceGatewayClusterModel, diag.Diagnostics)

type NodesType

type NodesType struct {
	basetypes.ObjectType
}

func (NodesType) Equal

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

func (NodesType) String

func (t NodesType) String() string

func (NodesType) ValueFromObject

func (NodesType) ValueFromTerraform

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

func (NodesType) ValueType

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

type NodesValue

type NodesValue struct {
	Mac basetypes.StringValue `tfsdk:"mac"`
	// contains filtered or unexported fields
}

func NewNodesValue

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

func NewNodesValueMust

func NewNodesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) NodesValue

func NewNodesValueNull

func NewNodesValueNull() NodesValue

func NewNodesValueUnknown

func NewNodesValueUnknown() NodesValue

func (NodesValue) AttributeTypes

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

func (NodesValue) Equal

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

func (NodesValue) IsNull

func (v NodesValue) IsNull() bool

func (NodesValue) IsUnknown

func (v NodesValue) IsUnknown() bool

func (NodesValue) String

func (v NodesValue) String() string

func (NodesValue) ToObjectValue

func (NodesValue) ToTerraformValue

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

func (NodesValue) Type

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

Jump to

Keyboard shortcuts

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