Documentation ¶
Index ¶
- func NewCommonClient(baseUrl string) interfaces.CommonClient
- func NewDeviceClient(baseUrl string) interfaces.DeviceClient
- func NewDeviceProfileClient(baseUrl string) interfaces.DeviceProfileClient
- func NewDeviceServiceCallbackClient(baseUrl string) interfaces.DeviceServiceCallbackClient
- func NewDeviceServiceClient(baseUrl string) interfaces.DeviceServiceClient
- func NewEventClient(baseUrl string) interfaces.EventClient
- func NewReadingClient(baseUrl string) interfaces.ReadingClient
- type DeviceClient
- func (dc DeviceClient) Add(ctx context.Context, reqs []requests.AddDeviceRequest) (res []common.BaseWithIdResponse, err errors.EdgeX)
- func (dc DeviceClient) AllDevices(ctx context.Context, labels []string, offset int, limit int) (res responses.MultiDevicesResponse, err errors.EdgeX)
- func (dc DeviceClient) DeleteDeviceByName(ctx context.Context, name string) (res common.BaseResponse, err errors.EdgeX)
- func (dc DeviceClient) DeviceByName(ctx context.Context, name string) (res responses.DeviceResponse, err errors.EdgeX)
- func (dc DeviceClient) DeviceNameExists(ctx context.Context, name string) (res common.BaseResponse, err errors.EdgeX)
- func (dc DeviceClient) DevicesByProfileName(ctx context.Context, name string, offset int, limit int) (res responses.MultiDevicesResponse, err errors.EdgeX)
- func (dc DeviceClient) DevicesByServiceName(ctx context.Context, name string, offset int, limit int) (res responses.MultiDevicesResponse, err errors.EdgeX)
- func (dc DeviceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceRequest) (res []common.BaseResponse, err errors.EdgeX)
- type DeviceProfileClient
- func (client *DeviceProfileClient) Add(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
- func (client *DeviceProfileClient) AddByYaml(ctx context.Context, yamlFilePath string) (common.BaseWithIdResponse, errors.EdgeX)
- func (client *DeviceProfileClient) AllDeviceProfiles(ctx context.Context, labels []string, offset int, limit int) (res responses.MultiDeviceProfilesResponse, edgexError errors.EdgeX)
- func (client *DeviceProfileClient) DeleteByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (client *DeviceProfileClient) DeviceProfileByName(ctx context.Context, name string) (res responses.DeviceProfileResponse, edgexError errors.EdgeX)
- func (client *DeviceProfileClient) DeviceProfilesByManufacturer(ctx context.Context, manufacturer string, offset int, limit int) (res responses.MultiDeviceProfilesResponse, edgexError errors.EdgeX)
- func (client *DeviceProfileClient) DeviceProfilesByManufacturerAndModel(ctx context.Context, manufacturer string, model string, offset int, limit int) (res responses.MultiDeviceProfilesResponse, edgexError errors.EdgeX)
- func (client *DeviceProfileClient) DeviceProfilesByModel(ctx context.Context, model string, offset int, limit int) (res responses.MultiDeviceProfilesResponse, edgexError errors.EdgeX)
- func (client *DeviceProfileClient) Update(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseResponse, errors.EdgeX)
- func (client *DeviceProfileClient) UpdateByYaml(ctx context.Context, yamlFilePath string) (common.BaseResponse, errors.EdgeX)
- type DeviceServiceClient
- func (dsc DeviceServiceClient) Add(ctx context.Context, reqs []requests.AddDeviceServiceRequest) (res []common.BaseWithIdResponse, err errors.EdgeX)
- func (dsc DeviceServiceClient) AllDeviceServices(ctx context.Context, labels []string, offset int, limit int) (res responses.MultiDeviceServicesResponse, err errors.EdgeX)
- func (dsc DeviceServiceClient) DeleteByName(ctx context.Context, name string) (res common.BaseResponse, err errors.EdgeX)
- func (dsc DeviceServiceClient) DeviceServiceByName(ctx context.Context, name string) (res responses.DeviceServiceResponse, err errors.EdgeX)
- func (dsc DeviceServiceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceServiceRequest) (res []common.BaseResponse, err errors.EdgeX)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommonClient ¶
func NewCommonClient(baseUrl string) interfaces.CommonClient
NewCommonClient creates an instance of CommonClient
func NewDeviceClient ¶ added in v0.1.133
func NewDeviceClient(baseUrl string) interfaces.DeviceClient
NewDeviceClient creates an instance of DeviceClient
func NewDeviceProfileClient ¶ added in v0.1.123
func NewDeviceProfileClient(baseUrl string) interfaces.DeviceProfileClient
NewDeviceProfileClient creates an instance of DeviceProfileClient
func NewDeviceServiceCallbackClient ¶ added in v0.1.134
func NewDeviceServiceCallbackClient(baseUrl string) interfaces.DeviceServiceCallbackClient
NewDeviceServiceCallbackClient creates an instance of deviceServiceCallbackClient
func NewDeviceServiceClient ¶ added in v0.1.137
func NewDeviceServiceClient(baseUrl string) interfaces.DeviceServiceClient
NewDeviceServiceClient creates an instance of DeviceServiceClient
func NewEventClient ¶ added in v0.1.115
func NewEventClient(baseUrl string) interfaces.EventClient
NewEventClient creates an instance of EventClient
func NewReadingClient ¶ added in v0.1.142
func NewReadingClient(baseUrl string) interfaces.ReadingClient
NewReadingClient creates an instance of ReadingClient
Types ¶
type DeviceClient ¶ added in v0.1.133
type DeviceClient struct {
// contains filtered or unexported fields
}
func (DeviceClient) Add ¶ added in v0.1.133
func (dc DeviceClient) Add(ctx context.Context, reqs []requests.AddDeviceRequest) (res []common.BaseWithIdResponse, err errors.EdgeX)
func (DeviceClient) AllDevices ¶ added in v0.1.133
func (dc DeviceClient) AllDevices(ctx context.Context, labels []string, offset int, limit int) (res responses.MultiDevicesResponse, err errors.EdgeX)
func (DeviceClient) DeleteDeviceByName ¶ added in v0.1.133
func (dc DeviceClient) DeleteDeviceByName(ctx context.Context, name string) (res common.BaseResponse, err errors.EdgeX)
func (DeviceClient) DeviceByName ¶ added in v0.1.133
func (dc DeviceClient) DeviceByName(ctx context.Context, name string) (res responses.DeviceResponse, err errors.EdgeX)
func (DeviceClient) DeviceNameExists ¶ added in v0.1.133
func (dc DeviceClient) DeviceNameExists(ctx context.Context, name string) (res common.BaseResponse, err errors.EdgeX)
func (DeviceClient) DevicesByProfileName ¶ added in v0.1.133
func (dc DeviceClient) DevicesByProfileName(ctx context.Context, name string, offset int, limit int) (res responses.MultiDevicesResponse, err errors.EdgeX)
func (DeviceClient) DevicesByServiceName ¶ added in v0.1.133
func (dc DeviceClient) DevicesByServiceName(ctx context.Context, name string, offset int, limit int) (res responses.MultiDevicesResponse, err errors.EdgeX)
func (DeviceClient) Update ¶ added in v0.1.133
func (dc DeviceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceRequest) (res []common.BaseResponse, err errors.EdgeX)
type DeviceProfileClient ¶ added in v0.1.123
type DeviceProfileClient struct {
// contains filtered or unexported fields
}
func (*DeviceProfileClient) Add ¶ added in v0.1.123
func (client *DeviceProfileClient) Add(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
func (*DeviceProfileClient) AddByYaml ¶ added in v0.1.124
func (client *DeviceProfileClient) AddByYaml(ctx context.Context, yamlFilePath string) (common.BaseWithIdResponse, errors.EdgeX)
func (*DeviceProfileClient) AllDeviceProfiles ¶ added in v0.1.127
func (client *DeviceProfileClient) AllDeviceProfiles(ctx context.Context, labels []string, offset int, limit int) (res responses.MultiDeviceProfilesResponse, edgexError errors.EdgeX)
func (*DeviceProfileClient) DeleteByName ¶ added in v0.1.126
func (client *DeviceProfileClient) DeleteByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
func (*DeviceProfileClient) DeviceProfileByName ¶ added in v0.1.127
func (client *DeviceProfileClient) DeviceProfileByName(ctx context.Context, name string) (res responses.DeviceProfileResponse, edgexError errors.EdgeX)
func (*DeviceProfileClient) DeviceProfilesByManufacturer ¶ added in v0.1.127
func (client *DeviceProfileClient) DeviceProfilesByManufacturer(ctx context.Context, manufacturer string, offset int, limit int) (res responses.MultiDeviceProfilesResponse, edgexError errors.EdgeX)
func (*DeviceProfileClient) DeviceProfilesByManufacturerAndModel ¶ added in v0.1.127
func (*DeviceProfileClient) DeviceProfilesByModel ¶ added in v0.1.127
func (client *DeviceProfileClient) DeviceProfilesByModel(ctx context.Context, model string, offset int, limit int) (res responses.MultiDeviceProfilesResponse, edgexError errors.EdgeX)
func (*DeviceProfileClient) Update ¶ added in v0.1.123
func (client *DeviceProfileClient) Update(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseResponse, errors.EdgeX)
func (*DeviceProfileClient) UpdateByYaml ¶ added in v0.1.124
func (client *DeviceProfileClient) UpdateByYaml(ctx context.Context, yamlFilePath string) (common.BaseResponse, errors.EdgeX)
type DeviceServiceClient ¶ added in v0.1.137
type DeviceServiceClient struct {
// contains filtered or unexported fields
}
func (DeviceServiceClient) Add ¶ added in v0.1.137
func (dsc DeviceServiceClient) Add(ctx context.Context, reqs []requests.AddDeviceServiceRequest) ( res []common.BaseWithIdResponse, err errors.EdgeX)
func (DeviceServiceClient) AllDeviceServices ¶ added in v0.1.137
func (dsc DeviceServiceClient) AllDeviceServices(ctx context.Context, labels []string, offset int, limit int) ( res responses.MultiDeviceServicesResponse, err errors.EdgeX)
func (DeviceServiceClient) DeleteByName ¶ added in v0.1.137
func (dsc DeviceServiceClient) DeleteByName(ctx context.Context, name string) ( res common.BaseResponse, err errors.EdgeX)
func (DeviceServiceClient) DeviceServiceByName ¶ added in v0.1.137
func (dsc DeviceServiceClient) DeviceServiceByName(ctx context.Context, name string) ( res responses.DeviceServiceResponse, err errors.EdgeX)
func (DeviceServiceClient) Update ¶ added in v0.1.137
func (dsc DeviceServiceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceServiceRequest) ( res []common.BaseResponse, err errors.EdgeX)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.