Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registry facade.FacadeRegistry)
Register is called to expose a package of facades onto a given registry.
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 (API) List ¶
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.
Click to show internal directories.
Click to hide internal directories.