Documentation ¶ Index ¶ type Client func New(r requests.Requester, org string) Client func (c Client) AllServices(envID string) ([]types.Service, error) func (c Client) EnvByID(id string) (*types.Response, error) func (c Client) FindService(serviceName, envID string) (*types.Service, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Requester requests.Requester Org string } func New ¶ func New(r requests.Requester, org string) Client func (Client) AllServices ¶ func (c Client) AllServices(envID string) ([]types.Service, error) AllServices tries to fetch an environment's services. func (Client) EnvByID ¶ func (c Client) EnvByID(id string) (*types.Response, error) EnvByID tries to fetch an environment given its ID. func (Client) FindService ¶ func (c Client) FindService(serviceName, envID string) (*types.Service, error) FindService tries to fetch a single service. Source Files ¶ View all Source files client.goenv.goservices.go Click to show internal directories. Click to hide internal directories.