Documentation ¶
Index ¶
- func NewCommonClient(baseUrl string) interfaces.CommonClient
- func NewDeviceProfileClient(baseUrl string) interfaces.DeviceProfileClient
- func NewEventClient(baseUrl string) interfaces.EventClient
- 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)
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 NewDeviceProfileClient ¶ added in v0.1.123
func NewDeviceProfileClient(baseUrl string) interfaces.DeviceProfileClient
NewDeviceProfileClient creates an instance of DeviceProfileClient
func NewEventClient ¶ added in v0.1.115
func NewEventClient(baseUrl string) interfaces.EventClient
NewEventClient creates an instance of EventClient
Types ¶
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)
Click to show internal directories.
Click to hide internal directories.