Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HarvesterAPIClient ¶
type HarvesterAPIClient interface { GetRelationships(context.Context, api.ConsentStatus) ([]*entity.Relationship, error) UpdateRelationship(context.Context, uuid.UUID, api.ConsentStatus) (*entity.Relationship, error) }
HarvesterAPIClient represents an API client for the Harvester.
func NewUDSClient ¶
func NewUDSClient(socketPath string, httpClient *http.Client) (HarvesterAPIClient, error)
NewUDSClient creates a Harvester API client that connects to the Harvester using a Unix Domain Socket (UDS) specified by the socketPath parameter.
Click to show internal directories.
Click to hide internal directories.