Documentation ¶
Index ¶
- type Application
- func (_m *Application) Data(key *ari.Key) (*ari.ApplicationData, error)
- func (_m *Application) Get(key *ari.Key) *ari.ApplicationHandle
- func (_m *Application) List(_a0 *ari.Key) ([]*ari.Key, error)
- func (_m *Application) Subscribe(key *ari.Key, eventSource string) error
- func (_m *Application) Unsubscribe(key *ari.Key, eventSource string) error
- type Asterisk
- type AsteriskVariables
- type Bridge
- func (_m *Bridge) AddChannel(key *ari.Key, channelID string) error
- func (_m *Bridge) AddChannelWithOptions(key *ari.Key, channelID string, options *ari.BridgeAddChannelOptions) error
- func (_m *Bridge) Create(key *ari.Key, btype string, name string) (*ari.BridgeHandle, error)
- func (_m *Bridge) Data(key *ari.Key) (*ari.BridgeData, error)
- func (_m *Bridge) Delete(key *ari.Key) error
- func (_m *Bridge) Get(key *ari.Key) *ari.BridgeHandle
- func (_m *Bridge) List(_a0 *ari.Key) ([]*ari.Key, error)
- func (_m *Bridge) MOH(key *ari.Key, moh string) error
- func (_m *Bridge) Play(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
- func (_m *Bridge) Record(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
- func (_m *Bridge) RemoveChannel(key *ari.Key, channelID string) error
- func (_m *Bridge) StageCreate(key *ari.Key, btype string, name string) (*ari.BridgeHandle, error)
- func (_m *Bridge) StagePlay(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
- func (_m *Bridge) StageRecord(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
- func (_m *Bridge) StopMOH(key *ari.Key) error
- func (_m *Bridge) Subscribe(key *ari.Key, n ...string) ari.Subscription
- func (_m *Bridge) VideoSource(key *ari.Key, channelID string) error
- func (_m *Bridge) VideoSourceDelete(key *ari.Key) error
- type Bus
- type Channel
- func (_m *Channel) Answer(key *ari.Key) error
- func (_m *Channel) Busy(key *ari.Key) error
- func (_m *Channel) Congestion(key *ari.Key) error
- func (_m *Channel) Continue(key *ari.Key, context string, extension string, priority int) error
- func (_m *Channel) Create(_a0 *ari.Key, _a1 ari.ChannelCreateRequest) (*ari.ChannelHandle, error)
- func (_m *Channel) Data(key *ari.Key) (*ari.ChannelData, error)
- func (_m *Channel) Dial(key *ari.Key, caller string, timeout time.Duration) error
- func (_m *Channel) ExternalMedia(key *ari.Key, opts ari.ExternalMediaOptions) (*ari.ChannelHandle, error)
- func (_m *Channel) Get(key *ari.Key) *ari.ChannelHandle
- func (_m *Channel) GetVariable(_a0 *ari.Key, _a1 string) (string, error)
- func (_m *Channel) Hangup(key *ari.Key, reason string) error
- func (_m *Channel) Hold(key *ari.Key) error
- func (_m *Channel) List(_a0 *ari.Key) ([]*ari.Key, error)
- func (_m *Channel) MOH(key *ari.Key, moh string) error
- func (_m *Channel) Mute(key *ari.Key, dir ari.Direction) error
- func (_m *Channel) Originate(_a0 *ari.Key, _a1 ari.OriginateRequest) (*ari.ChannelHandle, error)
- func (_m *Channel) Play(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
- func (_m *Channel) Record(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
- func (_m *Channel) Ring(key *ari.Key) error
- func (_m *Channel) SendDTMF(key *ari.Key, dtmf string, opts *ari.DTMFOptions) error
- func (_m *Channel) SetVariable(key *ari.Key, name string, value string) error
- func (_m *Channel) Silence(key *ari.Key) error
- func (_m *Channel) Snoop(key *ari.Key, snoopID string, opts *ari.SnoopOptions) (*ari.ChannelHandle, error)
- func (_m *Channel) StageExternalMedia(key *ari.Key, opts ari.ExternalMediaOptions) (*ari.ChannelHandle, error)
- func (_m *Channel) StageOriginate(_a0 *ari.Key, _a1 ari.OriginateRequest) (*ari.ChannelHandle, error)
- func (_m *Channel) StagePlay(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
- func (_m *Channel) StageRecord(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
- func (_m *Channel) StageSnoop(key *ari.Key, snoopID string, opts *ari.SnoopOptions) (*ari.ChannelHandle, error)
- func (_m *Channel) StopHold(key *ari.Key) error
- func (_m *Channel) StopMOH(key *ari.Key) error
- func (_m *Channel) StopRing(key *ari.Key) error
- func (_m *Channel) StopSilence(key *ari.Key) error
- func (_m *Channel) Subscribe(key *ari.Key, n ...string) ari.Subscription
- func (_m *Channel) Unmute(key *ari.Key, dir ari.Direction) error
- func (_m *Channel) UserEvent(key *ari.Key, ue *ari.ChannelUserevent) error
- type ChannelContextOptionFunc
- type Client
- func (_m *Client) Application() ari.Application
- func (_m *Client) ApplicationName() string
- func (_m *Client) Asterisk() ari.Asterisk
- func (_m *Client) Bridge() ari.Bridge
- func (_m *Client) Bus() ari.Bus
- func (_m *Client) Channel() ari.Channel
- func (_m *Client) Close()
- func (_m *Client) Connected() bool
- func (_m *Client) DeviceState() ari.DeviceState
- func (_m *Client) Endpoint() ari.Endpoint
- func (_m *Client) LiveRecording() ari.LiveRecording
- func (_m *Client) Mailbox() ari.Mailbox
- func (_m *Client) Playback() ari.Playback
- func (_m *Client) Sound() ari.Sound
- func (_m *Client) StoredRecording() ari.StoredRecording
- func (_m *Client) TextMessage() ari.TextMessage
- type Config
- type DTMFSender
- type DeviceState
- func (_m *DeviceState) Data(key *ari.Key) (*ari.DeviceStateData, error)
- func (_m *DeviceState) Delete(key *ari.Key) error
- func (_m *DeviceState) Get(key *ari.Key) *ari.DeviceStateHandle
- func (_m *DeviceState) List(filter *ari.Key) ([]*ari.Key, error)
- func (_m *DeviceState) Update(key *ari.Key, state string) error
- type Endpoint
- type Event
- type KeyOptionFunc
- type LiveRecording
- func (_m *LiveRecording) Data(key *ari.Key) (*ari.LiveRecordingData, error)
- func (_m *LiveRecording) Get(key *ari.Key) *ari.LiveRecordingHandle
- func (_m *LiveRecording) Mute(key *ari.Key) error
- func (_m *LiveRecording) Pause(key *ari.Key) error
- func (_m *LiveRecording) Resume(key *ari.Key) error
- func (_m *LiveRecording) Scrap(key *ari.Key) error
- func (_m *LiveRecording) Stop(key *ari.Key) error
- func (_m *LiveRecording) Stored(key *ari.Key) *ari.StoredRecordingHandle
- func (_m *LiveRecording) Subscribe(key *ari.Key, n ...string) ari.Subscription
- func (_m *LiveRecording) Unmute(key *ari.Key) error
- type Logging
- func (_m *Logging) Create(key *ari.Key, levels string) (*ari.LogHandle, error)
- func (_m *Logging) Data(key *ari.Key) (*ari.LogData, error)
- func (_m *Logging) Delete(key *ari.Key) error
- func (_m *Logging) Get(key *ari.Key) *ari.LogHandle
- func (_m *Logging) List(filter *ari.Key) ([]*ari.Key, error)
- func (_m *Logging) Rotate(key *ari.Key) error
- type Mailbox
- func (_m *Mailbox) Data(key *ari.Key) (*ari.MailboxData, error)
- func (_m *Mailbox) Delete(key *ari.Key) error
- func (_m *Mailbox) Get(key *ari.Key) *ari.MailboxHandle
- func (_m *Mailbox) List(filter *ari.Key) ([]*ari.Key, error)
- func (_m *Mailbox) Update(key *ari.Key, oldMessages int, newMessages int) error
- type MatchFunc
- type Matcher
- type Modules
- func (_m *Modules) Data(key *ari.Key) (*ari.ModuleData, error)
- func (_m *Modules) Get(key *ari.Key) *ari.ModuleHandle
- func (_m *Modules) List(filter *ari.Key) ([]*ari.Key, error)
- func (_m *Modules) Load(key *ari.Key) error
- func (_m *Modules) Reload(key *ari.Key) error
- func (_m *Modules) Unload(key *ari.Key) error
- type Playback
- func (_m *Playback) Control(key *ari.Key, op string) error
- func (_m *Playback) Data(key *ari.Key) (*ari.PlaybackData, error)
- func (_m *Playback) Get(key *ari.Key) *ari.PlaybackHandle
- func (_m *Playback) Stop(key *ari.Key) error
- func (_m *Playback) Subscribe(key *ari.Key, n ...string) ari.Subscription
- type Player
- type Recorder
- type Sender
- type Sound
- type StoredRecording
- func (_m *StoredRecording) Copy(key *ari.Key, dest string) (*ari.StoredRecordingHandle, error)
- func (_m *StoredRecording) Data(key *ari.Key) (*ari.StoredRecordingData, error)
- func (_m *StoredRecording) Delete(key *ari.Key) error
- func (_m *StoredRecording) Get(key *ari.Key) *ari.StoredRecordingHandle
- func (_m *StoredRecording) List(filter *ari.Key) ([]*ari.Key, error)
- type Subscriber
- type Subscription
- type TextMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is an autogenerated mock type for the Application type
func NewApplication ¶
func NewApplication(t mockConstructorTestingTNewApplication) *Application
NewApplication creates a new instance of Application. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Application) Data ¶
func (_m *Application) Data(key *ari.Key) (*ari.ApplicationData, error)
Data provides a mock function with given fields: key
func (*Application) Get ¶
func (_m *Application) Get(key *ari.Key) *ari.ApplicationHandle
Get provides a mock function with given fields: key
func (*Application) Subscribe ¶
func (_m *Application) Subscribe(key *ari.Key, eventSource string) error
Subscribe provides a mock function with given fields: key, eventSource
func (*Application) Unsubscribe ¶
func (_m *Application) Unsubscribe(key *ari.Key, eventSource string) error
Unsubscribe provides a mock function with given fields: key, eventSource
type Asterisk ¶
Asterisk is an autogenerated mock type for the Asterisk type
func NewAsterisk ¶
func NewAsterisk(t mockConstructorTestingTNewAsterisk) *Asterisk
NewAsterisk creates a new instance of Asterisk. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Asterisk) Variables ¶
func (_m *Asterisk) Variables() ari.AsteriskVariables
Variables provides a mock function with given fields:
type AsteriskVariables ¶
AsteriskVariables is an autogenerated mock type for the AsteriskVariables type
func NewAsteriskVariables ¶
func NewAsteriskVariables(t mockConstructorTestingTNewAsteriskVariables) *AsteriskVariables
NewAsteriskVariables creates a new instance of AsteriskVariables. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Bridge ¶
Bridge is an autogenerated mock type for the Bridge type
func NewBridge ¶
func NewBridge(t mockConstructorTestingTNewBridge) *Bridge
NewBridge creates a new instance of Bridge. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Bridge) AddChannel ¶
AddChannel provides a mock function with given fields: key, channelID
func (*Bridge) AddChannelWithOptions ¶
func (_m *Bridge) AddChannelWithOptions(key *ari.Key, channelID string, options *ari.BridgeAddChannelOptions) error
AddChannelWithOptions provides a mock function with given fields: key, channelID, options
func (*Bridge) Get ¶
func (_m *Bridge) Get(key *ari.Key) *ari.BridgeHandle
Get provides a mock function with given fields: key
func (*Bridge) Play ¶
func (_m *Bridge) Play(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
Play provides a mock function with given fields: key, playbackID, mediaURI
func (*Bridge) Record ¶
func (_m *Bridge) Record(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
Record provides a mock function with given fields: key, name, opts
func (*Bridge) RemoveChannel ¶
RemoveChannel provides a mock function with given fields: key, channelID
func (*Bridge) StageCreate ¶
StageCreate provides a mock function with given fields: key, btype, name
func (*Bridge) StagePlay ¶
func (_m *Bridge) StagePlay(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
StagePlay provides a mock function with given fields: key, playbackID, mediaURI
func (*Bridge) StageRecord ¶
func (_m *Bridge) StageRecord(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
StageRecord provides a mock function with given fields: key, name, opts
func (*Bridge) VideoSource ¶
VideoSource provides a mock function with given fields: key, channelID
type Bus ¶
Bus is an autogenerated mock type for the Bus type
func NewBus ¶
func NewBus(t mockConstructorTestingTNewBus) *Bus
NewBus creates a new instance of Bus. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Channel ¶
Channel is an autogenerated mock type for the Channel type
func NewChannel ¶
func NewChannel(t mockConstructorTestingTNewChannel) *Channel
NewChannel creates a new instance of Channel. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Channel) Congestion ¶
Congestion provides a mock function with given fields: key
func (*Channel) Continue ¶
Continue provides a mock function with given fields: key, context, extension, priority
func (*Channel) Create ¶
func (_m *Channel) Create(_a0 *ari.Key, _a1 ari.ChannelCreateRequest) (*ari.ChannelHandle, error)
Create provides a mock function with given fields: _a0, _a1
func (*Channel) ExternalMedia ¶
func (_m *Channel) ExternalMedia(key *ari.Key, opts ari.ExternalMediaOptions) (*ari.ChannelHandle, error)
ExternalMedia provides a mock function with given fields: key, opts
func (*Channel) Get ¶
func (_m *Channel) Get(key *ari.Key) *ari.ChannelHandle
Get provides a mock function with given fields: key
func (*Channel) GetVariable ¶
GetVariable provides a mock function with given fields: _a0, _a1
func (*Channel) Originate ¶
func (_m *Channel) Originate(_a0 *ari.Key, _a1 ari.OriginateRequest) (*ari.ChannelHandle, error)
Originate provides a mock function with given fields: _a0, _a1
func (*Channel) Play ¶
func (_m *Channel) Play(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
Play provides a mock function with given fields: key, playbackID, mediaURI
func (*Channel) Record ¶
func (_m *Channel) Record(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
Record provides a mock function with given fields: key, name, opts
func (*Channel) SetVariable ¶
SetVariable provides a mock function with given fields: key, name, value
func (*Channel) Snoop ¶
func (_m *Channel) Snoop(key *ari.Key, snoopID string, opts *ari.SnoopOptions) (*ari.ChannelHandle, error)
Snoop provides a mock function with given fields: key, snoopID, opts
func (*Channel) StageExternalMedia ¶
func (_m *Channel) StageExternalMedia(key *ari.Key, opts ari.ExternalMediaOptions) (*ari.ChannelHandle, error)
StageExternalMedia provides a mock function with given fields: key, opts
func (*Channel) StageOriginate ¶
func (_m *Channel) StageOriginate(_a0 *ari.Key, _a1 ari.OriginateRequest) (*ari.ChannelHandle, error)
StageOriginate provides a mock function with given fields: _a0, _a1
func (*Channel) StagePlay ¶
func (_m *Channel) StagePlay(key *ari.Key, playbackID string, mediaURI ...string) (*ari.PlaybackHandle, error)
StagePlay provides a mock function with given fields: key, playbackID, mediaURI
func (*Channel) StageRecord ¶
func (_m *Channel) StageRecord(key *ari.Key, name string, opts *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
StageRecord provides a mock function with given fields: key, name, opts
func (*Channel) StageSnoop ¶
func (_m *Channel) StageSnoop(key *ari.Key, snoopID string, opts *ari.SnoopOptions) (*ari.ChannelHandle, error)
StageSnoop provides a mock function with given fields: key, snoopID, opts
func (*Channel) StopSilence ¶
StopSilence provides a mock function with given fields: key
type ChannelContextOptionFunc ¶
ChannelContextOptionFunc is an autogenerated mock type for the ChannelContextOptionFunc type
func NewChannelContextOptionFunc ¶
func NewChannelContextOptionFunc(t mockConstructorTestingTNewChannelContextOptionFunc) *ChannelContextOptionFunc
NewChannelContextOptionFunc creates a new instance of ChannelContextOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChannelContextOptionFunc) Execute ¶
func (_m *ChannelContextOptionFunc) Execute(o *ari.ChannelContextOptions)
Execute provides a mock function with given fields: o
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) Application ¶
func (_m *Client) Application() ari.Application
Application provides a mock function with given fields:
func (*Client) ApplicationName ¶
ApplicationName provides a mock function with given fields:
func (*Client) DeviceState ¶
func (_m *Client) DeviceState() ari.DeviceState
DeviceState provides a mock function with given fields:
func (*Client) LiveRecording ¶
func (_m *Client) LiveRecording() ari.LiveRecording
LiveRecording provides a mock function with given fields:
func (*Client) StoredRecording ¶
func (_m *Client) StoredRecording() ari.StoredRecording
StoredRecording provides a mock function with given fields:
func (*Client) TextMessage ¶
func (_m *Client) TextMessage() ari.TextMessage
TextMessage provides a mock function with given fields:
type Config ¶
Config is an autogenerated mock type for the Config type
func NewConfig ¶
func NewConfig(t mockConstructorTestingTNewConfig) *Config
NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type DTMFSender ¶
DTMFSender is an autogenerated mock type for the DTMFSender type
func NewDTMFSender ¶
func NewDTMFSender(t mockConstructorTestingTNewDTMFSender) *DTMFSender
NewDTMFSender creates a new instance of DTMFSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DTMFSender) SendDTMF ¶
func (_m *DTMFSender) SendDTMF(dtmf string, opts *ari.DTMFOptions)
SendDTMF provides a mock function with given fields: dtmf, opts
type DeviceState ¶
DeviceState is an autogenerated mock type for the DeviceState type
func NewDeviceState ¶
func NewDeviceState(t mockConstructorTestingTNewDeviceState) *DeviceState
NewDeviceState creates a new instance of DeviceState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DeviceState) Data ¶
func (_m *DeviceState) Data(key *ari.Key) (*ari.DeviceStateData, error)
Data provides a mock function with given fields: key
func (*DeviceState) Delete ¶
func (_m *DeviceState) Delete(key *ari.Key) error
Delete provides a mock function with given fields: key
func (*DeviceState) Get ¶
func (_m *DeviceState) Get(key *ari.Key) *ari.DeviceStateHandle
Get provides a mock function with given fields: key
type Endpoint ¶
Endpoint is an autogenerated mock type for the Endpoint type
func NewEndpoint ¶
func NewEndpoint(t mockConstructorTestingTNewEndpoint) *Endpoint
NewEndpoint creates a new instance of Endpoint. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Endpoint) Get ¶
func (_m *Endpoint) Get(key *ari.Key) *ari.EndpointHandle
Get provides a mock function with given fields: key
type Event ¶
Event is an autogenerated mock type for the Event type
func NewEvent ¶
func NewEvent(t mockConstructorTestingTNewEvent) *Event
NewEvent creates a new instance of Event. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Event) GetApplication ¶
GetApplication provides a mock function with given fields:
type KeyOptionFunc ¶
KeyOptionFunc is an autogenerated mock type for the KeyOptionFunc type
func NewKeyOptionFunc ¶
func NewKeyOptionFunc(t mockConstructorTestingTNewKeyOptionFunc) *KeyOptionFunc
NewKeyOptionFunc creates a new instance of KeyOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type LiveRecording ¶
LiveRecording is an autogenerated mock type for the LiveRecording type
func NewLiveRecording ¶
func NewLiveRecording(t mockConstructorTestingTNewLiveRecording) *LiveRecording
NewLiveRecording creates a new instance of LiveRecording. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LiveRecording) Data ¶
func (_m *LiveRecording) Data(key *ari.Key) (*ari.LiveRecordingData, error)
Data provides a mock function with given fields: key
func (*LiveRecording) Get ¶
func (_m *LiveRecording) Get(key *ari.Key) *ari.LiveRecordingHandle
Get provides a mock function with given fields: key
func (*LiveRecording) Mute ¶
func (_m *LiveRecording) Mute(key *ari.Key) error
Mute provides a mock function with given fields: key
func (*LiveRecording) Pause ¶
func (_m *LiveRecording) Pause(key *ari.Key) error
Pause provides a mock function with given fields: key
func (*LiveRecording) Resume ¶
func (_m *LiveRecording) Resume(key *ari.Key) error
Resume provides a mock function with given fields: key
func (*LiveRecording) Scrap ¶
func (_m *LiveRecording) Scrap(key *ari.Key) error
Scrap provides a mock function with given fields: key
func (*LiveRecording) Stop ¶
func (_m *LiveRecording) Stop(key *ari.Key) error
Stop provides a mock function with given fields: key
func (*LiveRecording) Stored ¶
func (_m *LiveRecording) Stored(key *ari.Key) *ari.StoredRecordingHandle
Stored provides a mock function with given fields: key
func (*LiveRecording) Subscribe ¶
func (_m *LiveRecording) Subscribe(key *ari.Key, n ...string) ari.Subscription
Subscribe provides a mock function with given fields: key, n
type Logging ¶
Logging is an autogenerated mock type for the Logging type
func NewLogging ¶
func NewLogging(t mockConstructorTestingTNewLogging) *Logging
NewLogging creates a new instance of Logging. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Mailbox ¶
Mailbox is an autogenerated mock type for the Mailbox type
func NewMailbox ¶
func NewMailbox(t mockConstructorTestingTNewMailbox) *Mailbox
NewMailbox creates a new instance of Mailbox. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Mailbox) Get ¶
func (_m *Mailbox) Get(key *ari.Key) *ari.MailboxHandle
Get provides a mock function with given fields: key
type MatchFunc ¶
MatchFunc is an autogenerated mock type for the MatchFunc type
func NewMatchFunc ¶
func NewMatchFunc(t mockConstructorTestingTNewMatchFunc) *MatchFunc
NewMatchFunc creates a new instance of MatchFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Matcher ¶
Matcher is an autogenerated mock type for the Matcher type
func NewMatcher ¶
func NewMatcher(t mockConstructorTestingTNewMatcher) *Matcher
NewMatcher creates a new instance of Matcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Modules ¶
Modules is an autogenerated mock type for the Modules type
func NewModules ¶
func NewModules(t mockConstructorTestingTNewModules) *Modules
NewModules creates a new instance of Modules. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Modules) Get ¶
func (_m *Modules) Get(key *ari.Key) *ari.ModuleHandle
Get provides a mock function with given fields: key
type Playback ¶
Playback is an autogenerated mock type for the Playback type
func NewPlayback ¶
func NewPlayback(t mockConstructorTestingTNewPlayback) *Playback
NewPlayback creates a new instance of Playback. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Playback) Get ¶
func (_m *Playback) Get(key *ari.Key) *ari.PlaybackHandle
Get provides a mock function with given fields: key
type Player ¶
Player is an autogenerated mock type for the Player type
func NewPlayer ¶
func NewPlayer(t mockConstructorTestingTNewPlayer) *Player
NewPlayer creates a new instance of Player. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Recorder ¶
Recorder is an autogenerated mock type for the Recorder type
func NewRecorder ¶
func NewRecorder(t mockConstructorTestingTNewRecorder) *Recorder
NewRecorder creates a new instance of Recorder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Recorder) Record ¶
func (_m *Recorder) Record(_a0 string, _a1 *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
Record provides a mock function with given fields: _a0, _a1
func (*Recorder) StageRecord ¶
func (_m *Recorder) StageRecord(_a0 string, _a1 *ari.RecordingOptions) (*ari.LiveRecordingHandle, error)
StageRecord provides a mock function with given fields: _a0, _a1
type Sender ¶
Sender is an autogenerated mock type for the Sender type
type Sound ¶
Sound is an autogenerated mock type for the Sound type
func NewSound ¶
func NewSound(t mockConstructorTestingTNewSound) *Sound
NewSound creates a new instance of Sound. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type StoredRecording ¶
StoredRecording is an autogenerated mock type for the StoredRecording type
func NewStoredRecording ¶
func NewStoredRecording(t mockConstructorTestingTNewStoredRecording) *StoredRecording
NewStoredRecording creates a new instance of StoredRecording. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StoredRecording) Copy ¶
func (_m *StoredRecording) Copy(key *ari.Key, dest string) (*ari.StoredRecordingHandle, error)
Copy provides a mock function with given fields: key, dest
func (*StoredRecording) Data ¶
func (_m *StoredRecording) Data(key *ari.Key) (*ari.StoredRecordingData, error)
Data provides a mock function with given fields: key
func (*StoredRecording) Delete ¶
func (_m *StoredRecording) Delete(key *ari.Key) error
Delete provides a mock function with given fields: key
func (*StoredRecording) Get ¶
func (_m *StoredRecording) Get(key *ari.Key) *ari.StoredRecordingHandle
Get provides a mock function with given fields: key
type Subscriber ¶
Subscriber is an autogenerated mock type for the Subscriber type
func NewSubscriber ¶
func NewSubscriber(t mockConstructorTestingTNewSubscriber) *Subscriber
NewSubscriber creates a new instance of Subscriber. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Subscriber) Subscribe ¶
func (_m *Subscriber) Subscribe(key *ari.Key, n ...string) ari.Subscription
Subscribe provides a mock function with given fields: key, n
type Subscription ¶
Subscription is an autogenerated mock type for the Subscription type
func NewSubscription ¶
func NewSubscription(t mockConstructorTestingTNewSubscription) *Subscription
NewSubscription creates a new instance of Subscription. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Subscription) Cancel ¶
func (_m *Subscription) Cancel()
Cancel provides a mock function with given fields:
func (*Subscription) Events ¶
func (_m *Subscription) Events() <-chan ari.Event
Events provides a mock function with given fields:
type TextMessage ¶
TextMessage is an autogenerated mock type for the TextMessage type
func NewTextMessage ¶
func NewTextMessage(t mockConstructorTestingTNewTextMessage) *TextMessage
NewTextMessage creates a new instance of TextMessage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Source Files ¶
- Application.go
- Asterisk.go
- AsteriskVariables.go
- Bridge.go
- Bus.go
- Channel.go
- ChannelContextOptionFunc.go
- Client.go
- Config.go
- DTMFSender.go
- DeviceState.go
- Endpoint.go
- Event.go
- KeyOptionFunc.go
- LiveRecording.go
- Logging.go
- Mailbox.go
- MatchFunc.go
- Matcher.go
- Modules.go
- Playback.go
- Player.go
- Recorder.go
- Sender.go
- Sound.go
- StoredRecording.go
- Subscriber.go
- Subscription.go
- TextMessage.go