juju: github.com/juju/juju/apiserver/facades/client/payloads Index | Files

package payloads

import "github.com/juju/juju/apiserver/facades/client/payloads"

Index

Package Files

facade.go

type API Uses

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

API serves payload-specific API methods.

func NewAPI Uses

func NewAPI(backend payloadBackend) *API

NewAPI builds a new facade for the given backend.

func NewFacade Uses

func NewFacade(st *state.State, resources facade.Resources, authorizer facade.Authorizer) (*API, error)

NewFacade provides the signature required for facade registration.

func (API) List Uses

func (a API) List(args params.PayloadListArgs) (params.PayloadListResults, error)

List builds the list of payloads being tracked for the given unit and IDs. If no IDs are provided then all tracked payloads for the unit are returned.

Package payloads imports 7 packages (graph) and is imported by 3 packages. Updated 2019-08-23. Refresh now. Tools for package owners.