rpc

package
v0.0.0-...-2f79454 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HyperionApply

func HyperionApply(ctx context.Context, req *api.ApplyRequest, host string) (*api.ApplyResponse, error)

HyperionApply is a wrapper around hyperion's `Apply` RPC

func HyperionDelete

func HyperionDelete(ctx context.Context, req *api.DeleteRequest, host string) (*api.DeleteResponse, error)

HyperionDelete is a wrapper around hyperion's `Delete` RPC

func HyperionGet

func HyperionGet(ctx context.Context, req *api.GetRequest, host string) (*api.GetResponse, error)

HyperionGet is a wrapper around hyperion's `Get` RPC

func HyperionList

func HyperionList(ctx context.Context, req *api.ListRequest, host string) (chan *api.GetResponse, error)

HyperionList is a wrapper around hyperion's `List` RPC

func HyperionWatchData

func HyperionWatchData(ctx context.Context, req *api.WatchDataRequest, host string) (chan *WatchDataResponse, error)

HyperionWatchData is a wrapper around hyperion's `WatchData` RPC

func HyperionWatchLog

func HyperionWatchLog(ctx context.Context, req *api.WatchLogRequest, host string) (chan string, error)

HyperionWatchLog is a wrapper around hyperion's `WatchLog` RPC

Types

type WatchDataResponse

type WatchDataResponse struct {
	Data map[string]interface{} `json:"data,omitempty"`
}

WatchDataResponse represents the response of the watch RPCs

Jump to

Keyboard shortcuts

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