Documentation ¶
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 charms 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 charms API facade.
func (*API) List ¶
func (a *API) List(args params.CharmsList) (params.CharmsListResult, error)
List returns a list of charm URLs currently in the state. If supplied parameter contains any names, the result will be filtered to return only the charms with supplied names.
Click to show internal directories.
Click to hide internal directories.