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

package machine

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

The machiner package implements the API interface used by the machiner worker.

Index

Package Files

machiner.go

type MachinerAPI Uses

type MachinerAPI struct {
    *common.LifeGetter
    *common.StatusSetter
    *common.DeadEnsurer
    *common.AgentEntityWatcher
    *common.APIAddresser
    *networkingcommon.NetworkConfigAPI
    // contains filtered or unexported fields
}

MachinerAPI implements the API used by the machiner worker.

func NewMachinerAPI Uses

func NewMachinerAPI(st *state.State, resources facade.Resources, authorizer facade.Authorizer) (*MachinerAPI, error)

NewMachinerAPI creates a new instance of the Machiner API.

func (*MachinerAPI) Jobs Uses

func (api *MachinerAPI) Jobs(args params.Entities) (params.JobsResults, error)

Jobs returns the jobs assigned to the given entities.

func (*MachinerAPI) SetMachineAddresses Uses

func (api *MachinerAPI) SetMachineAddresses(args params.SetMachinesAddresses) (params.ErrorResults, error)

Package machine imports 8 packages (graph) and is imported by 3 packages. Updated 2019-10-02. Refresh now. Tools for package owners.