Documentation ¶
Overview ¶
Package service contains api calls for accessing service functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API implements the service interface and is the concrete implementation of the api end point.
func NewAPI ¶
func NewAPI( st *state.State, resources *common.Resources, authorizer common.Authorizer, ) (*API, error)
NewAPI returns a new service API facade.
func (*API) SetMetricCredentials ¶
func (api *API) SetMetricCredentials(args params.ServiceMetricCredentials) (params.ErrorResults, error)
SetMetricCredentials sets credentials on the service.
type Service ¶
type Service interface {
SetMetricCredentials(args params.ServiceMetricCredentials) (params.ErrorResults, error)
}
Service defines the methods on the service API end point.
Click to show internal directories.
Click to hide internal directories.