client

package
v0.0.0-...-6cf1bc9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnitFacadeClient

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

UnitFacadeClient provides methods for interacting with Juju's internal RPC API, relative to payloads.

func NewUnitFacadeClient

func NewUnitFacadeClient(caller facadeCaller) UnitFacadeClient

NewUnitFacadeClient builds a new payload API client.

func (UnitFacadeClient) List

func (c UnitFacadeClient) List(fullIDs ...string) ([]payload.Result, error)

List calls the List API server method.

func (UnitFacadeClient) LookUp

func (c UnitFacadeClient) LookUp(fullIDs ...string) ([]payload.Result, error)

LookUp calls the LookUp API server method.

func (UnitFacadeClient) SetStatus

func (c UnitFacadeClient) SetStatus(status string, fullIDs ...string) ([]payload.Result, error)

SetStatus calls the SetStatus API server method.

func (UnitFacadeClient) Track

func (c UnitFacadeClient) Track(payloads ...payload.Payload) ([]payload.Result, error)

Track calls the Track API server method.

func (UnitFacadeClient) Untrack

func (c UnitFacadeClient) Untrack(fullIDs ...string) ([]payload.Result, error)

Untrack calls the Untrack API server method.

Jump to

Keyboard shortcuts

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