Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewCharmStore = charmrepo.NewCharmStore
NewCharmStore instantiates a new charm store repository. It is defined at top level for testing purposes.
Functions ¶
This section is empty.
Types ¶
type CharmRevisionUpdater ¶
type CharmRevisionUpdater interface {
UpdateLatestRevisions() (params.ErrorResult, error)
}
CharmRevisionUpdater defines the methods on the charmrevisionupdater API end point.
type CharmRevisionUpdaterAPI ¶
type CharmRevisionUpdaterAPI struct {
// contains filtered or unexported fields
}
CharmRevisionUpdaterAPI implements the CharmRevisionUpdater interface and is the concrete implementation of the api end point.
func NewCharmRevisionUpdaterAPI ¶
func NewCharmRevisionUpdaterAPI( st *state.State, resources *common.Resources, authorizer common.Authorizer, ) (*CharmRevisionUpdaterAPI, error)
NewCharmRevisionUpdaterAPI creates a new server-side charmrevisionupdater API end point.
func (*CharmRevisionUpdaterAPI) UpdateLatestRevisions ¶
func (api *CharmRevisionUpdaterAPI) UpdateLatestRevisions() (params.ErrorResult, error)
UpdateLatestRevisions retrieves the latest revision information from the charm store for all deployed charms and records this information in state.
Click to show internal directories.
Click to hide internal directories.