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

package private

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

Index

Package Files

helpers.go

func API2Result Uses

func API2Result(r params.PayloadResult) (payload.Result, error)

API2Result converts the API result to a payload.Result.

func FullIDs2LookUpArgs Uses

func FullIDs2LookUpArgs(fullIDs []string) params.LookUpPayloadArgs

FullIDs2LookUpArgs converts the provided payload "full" IDs into arguments for the LookUp API endpoint.

func IDs2ListArgs Uses

func IDs2ListArgs(ids []string) params.Entities

IDs2ListArgs converts the provided payload IDs into arguments for the List API endpoint.

func IDs2SetStatusArgs Uses

func IDs2SetStatusArgs(ids []string, status string) params.SetPayloadStatusArgs

IDs2SetStatusArgs converts the provided payload IDs into arguments for the SetStatus API endpoint.

func IDs2UntrackArgs Uses

func IDs2UntrackArgs(ids []string) params.Entities

IDs2UntrackArgs converts the provided payload IDs into arguments for the Untrack API endpoint.

func Payloads2TrackArgs Uses

func Payloads2TrackArgs(payloads []payload.Payload) params.TrackPayloadArgs

Payloads2TrackArgs converts the provided payload info into arguments for the Track API endpoint.

Directories

PathSynopsis
client

Package private imports 6 packages (graph) and is imported by 40 packages. Updated 2019-08-27. Refresh now. Tools for package owners.