Versions in this module Expand all Collapse all v1 v1.0.0 Feb 7, 2022 Changes in this version + func APIRoot(url string) func(h *client) error + func HTTPClient(c httpClient) func(h *client) error + func NewClient(options ...ClientOption) (*client, error) + type AuthorizationClient interface + Authorize func(environmentUUID, charmURL, serviceName, plan string, ...) (*macaroon.Macaroon, error) + func NewAuthorizationClient(options ...ClientOption) (AuthorizationClient, error) + type Client interface + GetAssociatedPlans func(charmURL string) ([]wireformat.Plan, error) + type ClientOption func(h *client) error