payloads

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 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 provides the signature required 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