juju: github.com/juju/juju/api/charmrevisionupdater Index | Files

package charmrevisionupdater

import "github.com/juju/juju/api/charmrevisionupdater"

Index

Package Files

updater.go

type State Uses

type State struct {
    // contains filtered or unexported fields
}

State provides access to a worker's view of the state.

func NewState Uses

func NewState(caller base.APICaller) *State

NewState returns a version of the state that provides functionality required by the worker.

func (*State) UpdateLatestRevisions Uses

func (st *State) UpdateLatestRevisions() error

UpdateLatestRevisions retrieves charm revision info from a repository and updates the revision info in state.

Package charmrevisionupdater imports 2 packages (graph) and is imported by 74 packages. Updated 2019-02-06. Refresh now. Tools for package owners.