juju: github.com/wallyworld/juju/payload/api/private/client Index | Files

package client

import "github.com/wallyworld/juju/payload/api/private/client"


Package Files

client.go unitfacade.go

type UnitFacadeClient Uses

type UnitFacadeClient struct {
    // contains filtered or unexported fields

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

func NewUnitFacadeClient Uses

func NewUnitFacadeClient(caller facadeCaller) UnitFacadeClient

NewUnitFacadeClient builds a new payload API client.

func (UnitFacadeClient) List Uses

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

List calls the List API server method.

func (UnitFacadeClient) LookUp Uses

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

LookUp calls the LookUp API server method.

func (UnitFacadeClient) SetStatus Uses

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

SetStatus calls the SetStatus API server method.

func (UnitFacadeClient) Track Uses

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

Track calls the Track API server method.

func (UnitFacadeClient) Untrack Uses

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

Untrack calls the Untrack API server method.

Package client imports 5 packages (graph). Updated 2020-08-06. Refresh now. Tools for package owners.