Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewGeofencingResource() resource.Resource
- func NewHeatingScheduleResource() resource.Resource
- func NewHomeDataSource() datasource.DataSource
- func NewZoneDataSource() datasource.DataSource
- type GeofencingResource
- func (r *GeofencingResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r GeofencingResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (GeofencingResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (GeofencingResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (*GeofencingResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r GeofencingResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (GeofencingResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r GeofencingResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type GeofencingResourceModel
- type HeatingScheduleResource
- func (r *HeatingScheduleResource) Configure(_ context.Context, req resource.ConfigureRequest, ...)
- func (r HeatingScheduleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (HeatingScheduleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (HeatingScheduleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (*HeatingScheduleResource) Metadata(_ context.Context, req resource.MetadataRequest, ...)
- func (r HeatingScheduleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (HeatingScheduleResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r HeatingScheduleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type HeatingScheduleResourceModel
- type HomeDataSource
- func (d *HomeDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*HomeDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d HomeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (HomeDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type HomeDataSourceModel
- type TadoProvider
- func (*TadoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (*TadoProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *TadoProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (*TadoProvider) Resources(_ context.Context) []func() resource.Resource
- func (*TadoProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type TadoProviderModel
- type TimeBlockModel
- type ZoneDataSource
- func (d *ZoneDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (*ZoneDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d ZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (ZoneDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type ZoneDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGeofencingResource ¶
func NewHomeDataSource ¶
func NewHomeDataSource() datasource.DataSource
func NewZoneDataSource ¶
func NewZoneDataSource() datasource.DataSource
Types ¶
type GeofencingResource ¶
type GeofencingResource struct {
// contains filtered or unexported fields
}
func (*GeofencingResource) Configure ¶
func (r *GeofencingResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (GeofencingResource) Create ¶
func (r GeofencingResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (GeofencingResource) Delete ¶
func (GeofencingResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (GeofencingResource) ImportState ¶
func (GeofencingResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*GeofencingResource) Metadata ¶
func (*GeofencingResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (GeofencingResource) Read ¶
func (r GeofencingResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (GeofencingResource) Schema ¶
func (GeofencingResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (GeofencingResource) Update ¶
func (r GeofencingResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type GeofencingResourceModel ¶
type HeatingScheduleResource ¶
type HeatingScheduleResource struct {
// contains filtered or unexported fields
}
func (*HeatingScheduleResource) Configure ¶
func (r *HeatingScheduleResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (HeatingScheduleResource) Create ¶
func (r HeatingScheduleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (HeatingScheduleResource) Delete ¶
func (HeatingScheduleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (HeatingScheduleResource) ImportState ¶
func (HeatingScheduleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*HeatingScheduleResource) Metadata ¶
func (*HeatingScheduleResource) Metadata(_ context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (HeatingScheduleResource) Read ¶
func (r HeatingScheduleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (HeatingScheduleResource) Schema ¶
func (HeatingScheduleResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (HeatingScheduleResource) Update ¶
func (r HeatingScheduleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type HeatingScheduleResourceModel ¶
type HeatingScheduleResourceModel struct { ID types.String `tfsdk:"id"` HomeName types.String `tfsdk:"home_name"` ZoneName types.String `tfsdk:"zone_name"` MonSun []TimeBlockModel `tfsdk:"mon_sun"` MonFri []TimeBlockModel `tfsdk:"mon_fri"` Mon []TimeBlockModel `tfsdk:"mon"` Tue []TimeBlockModel `tfsdk:"tue"` Wed []TimeBlockModel `tfsdk:"wed"` Thu []TimeBlockModel `tfsdk:"thu"` Fri []TimeBlockModel `tfsdk:"fri"` Sat []TimeBlockModel `tfsdk:"sat"` Sun []TimeBlockModel `tfsdk:"sun"` }
type HomeDataSource ¶
type HomeDataSource struct {
// contains filtered or unexported fields
}
func (*HomeDataSource) Configure ¶
func (d *HomeDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*HomeDataSource) Metadata ¶
func (*HomeDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (HomeDataSource) Read ¶
func (d HomeDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (HomeDataSource) Schema ¶
func (HomeDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type HomeDataSourceModel ¶
type HomeDataSourceModel struct { ID types.Int64 `tfsdk:"id"` Name types.String `tfsdk:"name"` TemperatureUnit types.String `tfsdk:"temperature_unit"` ContactName types.String `tfsdk:"contact_name"` ContactEmail types.String `tfsdk:"contact_email"` ContactPhone types.String `tfsdk:"contact_phone"` AddressLine1 types.String `tfsdk:"address_line1"` AddressLine2 types.String `tfsdk:"address_line2"` AddressZipcode types.String `tfsdk:"address_zipcode"` AddressCity types.String `tfsdk:"address_city"` AddressState types.String `tfsdk:"address_state"` AddressCountry types.String `tfsdk:"address_country"` GeolocationLat types.Float64 `tfsdk:"geolocation_lat"` GeolocationLong types.Float64 `tfsdk:"geolocation_long"` }
type TadoProvider ¶
type TadoProvider struct {
// contains filtered or unexported fields
}
TadoProvider defines the provider implementation.
func (*TadoProvider) Configure ¶
func (*TadoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*TadoProvider) DataSources ¶
func (*TadoProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*TadoProvider) Metadata ¶
func (p *TadoProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
func (*TadoProvider) Resources ¶
func (*TadoProvider) Resources(_ context.Context) []func() resource.Resource
func (*TadoProvider) Schema ¶
func (*TadoProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
type TadoProviderModel ¶
type TadoProviderModel struct { Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` }
TadoProviderModel describes the provider data model.
type TimeBlockModel ¶
type ZoneDataSource ¶
type ZoneDataSource struct {
// contains filtered or unexported fields
}
func (*ZoneDataSource) Configure ¶
func (d *ZoneDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ZoneDataSource) Metadata ¶
func (*ZoneDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (ZoneDataSource) Read ¶
func (d ZoneDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (ZoneDataSource) Schema ¶
func (ZoneDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ZoneDataSourceModel ¶
type ZoneDataSourceModel struct { ID types.Int64 `tfsdk:"id"` Name types.String `tfsdk:"name"` Home types.String `tfsdk:"home"` Type types.String `tfsdk:"type"` EarlyStart types.Bool `tfsdk:"early_start"` DazzleModeEnabled types.Bool `tfsdk:"dazzle_mode_enabled"` OpenWindowDetectionEnabled types.Bool `tfsdk:"open_window_detection_enabled"` }
Click to show internal directories.
Click to hide internal directories.