Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewBatteryDataSource() datasource.DataSource
- func NewDeviceDataSource() datasource.DataSource
- func NewHealthDataSource() datasource.DataSource
- func NewMovementLockDataSource() datasource.DataSource
- func NewMovementResource() resource.Resource
- func NewReadyDataSource() datasource.DataSource
- func NewWifiNetworksDataSource() datasource.DataSource
- type BatteryDataSource
- func (d *BatteryDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *BatteryDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *BatteryDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *BatteryDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type BatteryDataSourceModel
- type DeviceDataSource
- func (d *DeviceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DeviceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DeviceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DeviceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DeviceDataSourceModel
- type DeviceResponseIdentifiersModel
- type DeviceResponseVersionsModel
- type HealthDataSource
- func (d *HealthDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *HealthDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *HealthDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *HealthDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type HealthDataSourceModel
- type MovementLockDataSource
- func (d *MovementLockDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *MovementLockDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *MovementLockDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *MovementLockDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type MovementLockDataSourceModel
- type MovementResource
- func (r *MovementResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *MovementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *MovementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *MovementResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *MovementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *MovementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *MovementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type MovementResourceModel
- type MovementStepsModel
- type PathfinderProvider
- func (p *PathfinderProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PathfinderProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *PathfinderProvider) Functions(ctx context.Context) []func() function.Function
- func (p *PathfinderProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PathfinderProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *PathfinderProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PathfinderProviderModel
- type ProviderFrameworkConfiguration
- type ReadyDataSource
- func (d *ReadyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ReadyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ReadyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ReadyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ReadyDataSourceModel
- type WifiNetworkModel
- type WifiNetworksDataSource
- func (d *WifiNetworksDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *WifiNetworksDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *WifiNetworksDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WifiNetworksDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type WifiNetworksDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBatteryDataSource ¶
func NewBatteryDataSource() datasource.DataSource
func NewDeviceDataSource ¶
func NewDeviceDataSource() datasource.DataSource
func NewHealthDataSource ¶
func NewHealthDataSource() datasource.DataSource
func NewMovementLockDataSource ¶
func NewMovementLockDataSource() datasource.DataSource
func NewMovementResource ¶
func NewReadyDataSource ¶
func NewReadyDataSource() datasource.DataSource
func NewWifiNetworksDataSource ¶
func NewWifiNetworksDataSource() datasource.DataSource
Types ¶
type BatteryDataSource ¶
type BatteryDataSource struct {
// contains filtered or unexported fields
}
BatteryDataSource defines the data source implementation.
func (*BatteryDataSource) Configure ¶
func (d *BatteryDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*BatteryDataSource) Metadata ¶
func (d *BatteryDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*BatteryDataSource) Read ¶
func (d *BatteryDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*BatteryDataSource) Schema ¶
func (d *BatteryDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type BatteryDataSourceModel ¶
type BatteryDataSourceModel struct { Value types.Int64 `tfsdk:"value"` Unit types.String `tfsdk:"unit"` }
BatteryDataSourceModel describes the data source data model.
type DeviceDataSource ¶
type DeviceDataSource struct {
// contains filtered or unexported fields
}
DeviceDataSource defines the data source implementation.
func (*DeviceDataSource) Configure ¶
func (d *DeviceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DeviceDataSource) Metadata ¶
func (d *DeviceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DeviceDataSource) Read ¶
func (d *DeviceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DeviceDataSource) Schema ¶
func (d *DeviceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DeviceDataSourceModel ¶
type DeviceDataSourceModel struct { Name types.String `tfsdk:"name"` Uptime types.Float64 `tfsdk:"uptime"` Identifiers *DeviceResponseIdentifiersModel `tfsdk:"identifiers"` Versions *DeviceResponseVersionsModel `tfsdk:"versions"` Features types.Map `tfsdk:"features"` }
DeviceDataSourceModel describes the data source data model.
type HealthDataSource ¶
type HealthDataSource struct {
// contains filtered or unexported fields
}
HealthDataSource defines the data source implementation.
func (*HealthDataSource) Configure ¶
func (d *HealthDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*HealthDataSource) Metadata ¶
func (d *HealthDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*HealthDataSource) Read ¶
func (d *HealthDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*HealthDataSource) Schema ¶
func (d *HealthDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type HealthDataSourceModel ¶
HealthDataSourceModel describes the data source data model.
type MovementLockDataSource ¶
type MovementLockDataSource struct {
// contains filtered or unexported fields
}
MovementLockDataSource defines the data source implementation.
func (*MovementLockDataSource) Configure ¶
func (d *MovementLockDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*MovementLockDataSource) Metadata ¶
func (d *MovementLockDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*MovementLockDataSource) Read ¶
func (d *MovementLockDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*MovementLockDataSource) Schema ¶
func (d *MovementLockDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type MovementLockDataSourceModel ¶
MovementLockDataSourceModel describes the data source data model.
type MovementResource ¶
type MovementResource struct {
// contains filtered or unexported fields
}
MovementResource defines the resource implementation.
func (*MovementResource) Configure ¶
func (r *MovementResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*MovementResource) Create ¶
func (r *MovementResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*MovementResource) Delete ¶
func (r *MovementResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*MovementResource) Metadata ¶
func (r *MovementResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*MovementResource) Read ¶
func (r *MovementResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*MovementResource) Schema ¶
func (r *MovementResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*MovementResource) Update ¶
func (r *MovementResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type MovementResourceModel ¶
type MovementResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Persist types.Bool `tfsdk:"persist"` Steps []MovementStepsModel `tfsdk:"steps"` }
MoveForwardResourceModel describes the resource data model.
type MovementStepsModel ¶
type PathfinderProvider ¶
type PathfinderProvider struct {
// contains filtered or unexported fields
}
PathfinderProvider defines the provider implementation.
func (*PathfinderProvider) Configure ¶
func (p *PathfinderProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*PathfinderProvider) DataSources ¶
func (p *PathfinderProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*PathfinderProvider) Functions ¶
func (p *PathfinderProvider) Functions(ctx context.Context) []func() function.Function
func (*PathfinderProvider) Metadata ¶
func (p *PathfinderProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*PathfinderProvider) Resources ¶
func (p *PathfinderProvider) Resources(ctx context.Context) []func() resource.Resource
func (*PathfinderProvider) Schema ¶
func (p *PathfinderProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type PathfinderProviderModel ¶
type PathfinderProviderModel struct { Address types.String `tfsdk:"address"` ApiKey types.String `tfsdk:"api_key"` }
PathfinderProviderModel describes the provider data model.
type ReadyDataSource ¶
type ReadyDataSource struct {
// contains filtered or unexported fields
}
ReadyDataSource defines the data source implementation.
func (*ReadyDataSource) Configure ¶
func (d *ReadyDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ReadyDataSource) Metadata ¶
func (d *ReadyDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ReadyDataSource) Read ¶
func (d *ReadyDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ReadyDataSource) Schema ¶
func (d *ReadyDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ReadyDataSourceModel ¶
ReadyDataSourceModel describes the data source data model.
type WifiNetworkModel ¶
type WifiNetworksDataSource ¶
type WifiNetworksDataSource struct {
// contains filtered or unexported fields
}
WifiNetworksDataSource defines the data source implementation.
func (*WifiNetworksDataSource) Configure ¶
func (d *WifiNetworksDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*WifiNetworksDataSource) Metadata ¶
func (d *WifiNetworksDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*WifiNetworksDataSource) Read ¶
func (d *WifiNetworksDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*WifiNetworksDataSource) Schema ¶
func (d *WifiNetworksDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type WifiNetworksDataSourceModel ¶
type WifiNetworksDataSourceModel struct {
Networks []WifiNetworkModel `tfsdk:"networks"`
}
WifiNetworksDataSourceModel describes the data source data model.