payloads

package
v0.0.0-...-a0d7459 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2017 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API serves payload-specific API methods.

func NewAPI

func NewAPI(backend payloadBackend) *API

NewAPI builds a new facade for the given backend.

func NewFacade

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

NewFacade returns a new handler for the "Payloads" facade. It is used for facade registration.

func (API) List

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL