# Functions
NewClientFromEnv read the config from the environment variables.
NewMock create a new portal mock client.
NewOpaClientBuilder create a new ClientBuilder.
# Structs
Authorization struct for authz "result": { "authorized": false, "data": { "userIds": [ "00004" ] }, "route": "tidewhisperer-get" }.
ClientBuilder same as Client but with a different API.
ClientStruct used to store infos for this API.
HTTPInput struct sent to OPA.
MockClient The mocked interface to portal-api.
# Interfaces
Client is the interface to opa.