Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonClient ¶
type CommonClient interface { // Configuration obtains configuration information from the target service. Configuration(ctx context.Context) (common.ConfigResponse, errors.EdgeX) // Metrics obtains metrics information from the target service. Metrics(ctx context.Context) (common.MetricsResponse, errors.EdgeX) // Ping tests whether the service is working Ping(ctx context.Context) (common.PingResponse, errors.EdgeX) // Version obtains version information from the target service. Version(ctx context.Context) (common.VersionResponse, errors.EdgeX) }
type DeviceProfileClient ¶ added in v0.1.123
type DeviceProfileClient interface { // Add adds new profiles Add(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseWithIdResponse, errors.EdgeX) // Update updates profiles Update(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseResponse, errors.EdgeX) // AddByYaml adds new profile by uploading a file in YAML format AddByYaml(ctx context.Context, yamlFilePath string) (common.BaseWithIdResponse, errors.EdgeX) // UpdateByYaml updates profile by uploading a file in YAML format UpdateByYaml(ctx context.Context, yamlFilePath string) (common.BaseResponse, errors.EdgeX) }
DeviceProfileClient defines the interface for interactions with the DeviceProfile endpoint on the EdgeX Foundry core-metadata service.
type EventClient ¶ added in v0.1.115
type EventClient interface { // Add adds new events Add(ctx context.Context, reqs []requests.AddEventRequest) ([]common.BaseWithIdResponse, errors.EdgeX) }
EventClient defines the interface for interactions with the Event endpoint on the EdgeX Foundry core-data service.
Click to show internal directories.
Click to hide internal directories.