Documentation ¶
Index ¶
- type Device
- type DeviceAttributes
- func (d DeviceAttributes) Description() terra.StringValue
- func (d DeviceAttributes) DeviceName() terra.StringValue
- func (d DeviceAttributes) InternalRef() (terra.Reference, error)
- func (d DeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DeviceAttributes) InternalWithRef(ref terra.Reference) DeviceAttributes
- func (d DeviceAttributes) IotThingName() terra.StringValue
- type DeviceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DeviceName: string, required DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"` // IotThingName: string, optional IotThingName terra.StringValue `hcl:"iot_thing_name,attr"` }
type DeviceAttributes ¶
type DeviceAttributes struct {
// contains filtered or unexported fields
}
func (DeviceAttributes) Description ¶
func (d DeviceAttributes) Description() terra.StringValue
func (DeviceAttributes) DeviceName ¶
func (d DeviceAttributes) DeviceName() terra.StringValue
func (DeviceAttributes) InternalRef ¶
func (d DeviceAttributes) InternalRef() (terra.Reference, error)
func (DeviceAttributes) InternalTokens ¶
func (d DeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeviceAttributes) InternalWithRef ¶
func (d DeviceAttributes) InternalWithRef(ref terra.Reference) DeviceAttributes
func (DeviceAttributes) IotThingName ¶
func (d DeviceAttributes) IotThingName() terra.StringValue
type DeviceState ¶
Click to show internal directories.
Click to hide internal directories.