juju: github.com/juju/juju/apiserver/facades/agent/upgradesteps Index | Files | Directories

package upgradesteps

import "github.com/juju/juju/apiserver/facades/agent/upgradesteps"


Package Files

interface.go shim.go upgradesteps.go

type Machine Uses

type Machine interface {
    ContainerType() instance.ContainerType
    ModificationStatus() (status.StatusInfo, error)
    SetModificationStatus(status.StatusInfo) error

Machine represents point of use methods from the state machine object

type UpgradeStepsAPI Uses

type UpgradeStepsAPI struct {
    // contains filtered or unexported fields

func NewFacadeV1 Uses

func NewFacadeV1(ctx facade.Context) (*UpgradeStepsAPI, error)

NewFacadeV1 is used for API registration.

func NewUpgradeStepsAPI Uses

func NewUpgradeStepsAPI(st UpgradeStepsState,
    resources facade.Resources,
    authorizer facade.Authorizer,
) (*UpgradeStepsAPI, error)

func (*UpgradeStepsAPI) ResetKVMMachineModificationStatusIdle Uses

func (api *UpgradeStepsAPI) ResetKVMMachineModificationStatusIdle(arg params.Entity) (params.ErrorResult, error)

ResetKVMMachineModificationStatusIdle sets the modification status of a kvm machine to idle if it is in an error state before upgrade. Related to lp:1829393.

type UpgradeStepsState Uses

type UpgradeStepsState interface {

type UpgradeStepsV1 Uses

type UpgradeStepsV1 interface {
    ResetKVMMachineModificationStatusIdle(params.Entity) (params.ErrorResult, error)


mocksPackage mocks is a generated GoMock package.

Package upgradesteps imports 9 packages (graph) and is imported by 2 packages. Updated 2019-08-24. Refresh now. Tools for package owners.