MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / Get

Method Get

client/device.go:12–22  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

10}
11
12func (ds *deviceState) Get(key *ari.Key) *ari.DeviceStateHandle {
13 k, err := ds.c.getRequest(&proxy.Request{
14 Kind: "DeviceStateGet",
15 Key: key,
16 })
17 if err != nil {
18 ds.c.log.Warn("failed to get device state for handle")
19 return ari.NewDeviceStateHandle(key, ds)
20 }
21 return ari.NewDeviceStateHandle(k, ds)
22}
23
24func (ds *deviceState) List(filter *ari.Key) ([]*ari.Key, error) {
25 return ds.c.listRequest(&proxy.Request{

Callers

nothing calls this directly

Calls 1

getRequestMethod · 0.80

Tested by

no test coverage detected