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

Method Update

client/config.go:27–35  ·  view source on GitHub ↗
(key *ari.Key, tuples []ari.ConfigTuple)

Source from the content-addressed store, hash-verified

25}
26
27func (c *config) Update(key *ari.Key, tuples []ari.ConfigTuple) error {
28 return c.c.commandRequest(&proxy.Request{
29 Kind: "AsteriskConfigUpdate",
30 Key: key,
31 AsteriskConfig: &proxy.AsteriskConfig{
32 Tuples: tuples,
33 },
34 })
35}
36
37func (c *config) Delete(key *ari.Key) error {
38 return c.c.commandRequest(&proxy.Request{

Callers 7

maintainClusterMethod · 0.45
TestDeviceUpdateFunction · 0.45
TestMailboxUpdateFunction · 0.45
TestConfigUpdateFunction · 0.45
deviceStateUpdateMethod · 0.45
mailboxUpdateMethod · 0.45
asteriskConfigUpdateMethod · 0.45

Calls 1

commandRequestMethod · 0.80

Tested by 3

TestDeviceUpdateFunction · 0.36
TestMailboxUpdateFunction · 0.36
TestConfigUpdateFunction · 0.36