Documentation

Overview

    Package service provides access to the service api facade. This facade contains api calls that are specific to services. As a rule of thumb, if the argument for an api requries a service name and affects only that service then the call belongs here.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Client

    type Client struct {
    	base.ClientFacade
    	// contains filtered or unexported fields
    }

      Client allows access to the service API end point.

      func NewClient

      func NewClient(st *api.State) *Client

        NewClient creates a new client for accessing the service api.

        func (*Client) SetMetricCredentials

        func (c *Client) SetMetricCredentials(service string, credentials []byte) error

          SetMetricCredentials sets the metric credentials for the service specified.

          Source Files