Documentation ¶
Index ¶
- func NewDataSource() datasource.DataSource
- type DeviceBeaconIdParamsDatasourceModel
- type DeviceDatasourceModel
- type DeviceDevicesDatasourceModel
- type NetworkDevicesDataSource
- func (d *NetworkDevicesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *NetworkDevicesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *NetworkDevicesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *NetworkDevicesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataSource ¶
func NewDataSource() datasource.DataSource
Types ¶
type DeviceDatasourceModel ¶
type DeviceDevicesDatasourceModel ¶
type DeviceDevicesDatasourceModel struct { Id types.String `tfsdk:"id"` Serial types.String `tfsdk:"serial"` Name types.String `tfsdk:"name"` Mac types.String `tfsdk:"mac"` Model types.String `tfsdk:"model"` Tags types.List `tfsdk:"tags"` Details types.List `tfsdk:"details"` LanIp types.String `tfsdk:"lan_ip"` Firmware types.String `tfsdk:"firmware"` Lat types.Float64 `tfsdk:"lat"` Lng types.Float64 `tfsdk:"lng"` Address types.String `tfsdk:"address"` Notes types.String `tfsdk:"notes"` Url types.String `tfsdk:"url"` FloorPlanId types.String `tfsdk:"floor_plan_id"` NetworkId types.String `tfsdk:"network_id"` BeaconIdParams types.Object `tfsdk:"beacon_id_params"` SwitchProfileId types.String `tfsdk:"switch_profile_id"` MoveMapMarker types.Bool `tfsdk:"move_map_marker"` }
type NetworkDevicesDataSource ¶
type NetworkDevicesDataSource struct {
// contains filtered or unexported fields
}
func (*NetworkDevicesDataSource) Configure ¶
func (d *NetworkDevicesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*NetworkDevicesDataSource) Metadata ¶
func (d *NetworkDevicesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*NetworkDevicesDataSource) Read ¶
func (d *NetworkDevicesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*NetworkDevicesDataSource) Schema ¶
func (d *NetworkDevicesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.