MCPcopy
hub / github.com/livekit/livekit / StoreSIPTrunk

Method StoreSIPTrunk

pkg/service/interfaces.go:90–90  ·  view source on GitHub ↗
(ctx context.Context, info *livekit.SIPTrunkInfo)

Source from the content-addressed store, hash-verified

88//counterfeiter:generate . SIPStore
89type SIPStore interface {
90 StoreSIPTrunk(ctx context.Context, info *livekit.SIPTrunkInfo) error
91 StoreSIPInboundTrunk(ctx context.Context, info *livekit.SIPInboundTrunkInfo) error
92 StoreSIPOutboundTrunk(ctx context.Context, info *livekit.SIPOutboundTrunkInfo) error
93 LoadSIPTrunk(ctx context.Context, sipTrunkID string) (*livekit.SIPTrunkInfo, error)

Callers 4

TestSIPStoreTrunkFunction · 0.65
TestSIPTrunkListFunction · 0.65
CreateSIPTrunkMethod · 0.65
TestSIPTrunkSelectFunction · 0.65

Implementers 2

RedisStorepkg/service/redisstore.go
FakeSIPStorepkg/service/servicefakes/fake_sipstore

Calls

no outgoing calls

Tested by 3

TestSIPStoreTrunkFunction · 0.52
TestSIPTrunkListFunction · 0.52
TestSIPTrunkSelectFunction · 0.52