arimocks

package
v4.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

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) List

func (_m *Application) List(_a0 *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: _a0

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

type Asterisk struct {
	mock.Mock
}

Asterisk is an autogenerated mock type for the Asterisk type

func (*Asterisk) Config

func (_m *Asterisk) Config() ari.Config

Config provides a mock function with given fields:

func (*Asterisk) Info

func (_m *Asterisk) Info(key *ari.Key) (*ari.AsteriskInfo, error)

Info provides a mock function with given fields: key

func (*Asterisk) Logging

func (_m *Asterisk) Logging() ari.Logging

Logging provides a mock function with given fields:

func (*Asterisk) Modules

func (_m *Asterisk) Modules() ari.Modules

Modules provides a mock function with given fields:

func (*Asterisk) Variables

func (_m *Asterisk) Variables() ari.AsteriskVariables

Variables provides a mock function with given fields:

type AsteriskVariables

type AsteriskVariables struct {
	mock.Mock
}

AsteriskVariables is an autogenerated mock type for the AsteriskVariables type

func (*AsteriskVariables) Get

func (_m *AsteriskVariables) Get(key *ari.Key) (string, error)

Get provides a mock function with given fields: key

func (*AsteriskVariables) Set

func (_m *AsteriskVariables) Set(key *ari.Key, value string) error

Set provides a mock function with given fields: key, value

type Bridge

type Bridge struct {
	mock.Mock
}

Bridge is an autogenerated mock type for the Bridge type

func (*Bridge) AddChannel

func (_m *Bridge) AddChannel(key *ari.Key, channelID string) error

AddChannel provides a mock function with given fields: key, channelID

func (*Bridge) Create

func (_m *Bridge) Create(key *ari.Key, btype string, name string) (*ari.BridgeHandle, error)

Create provides a mock function with given fields: key, btype, name

func (*Bridge) Data

func (_m *Bridge) Data(key *ari.Key) (*ari.BridgeData, error)

Data provides a mock function with given fields: key

func (*Bridge) Delete

func (_m *Bridge) Delete(key *ari.Key) error

Delete provides a mock function with given fields: key

func (*Bridge) Get

func (_m *Bridge) Get(key *ari.Key) *ari.BridgeHandle

Get provides a mock function with given fields: key

func (*Bridge) List

func (_m *Bridge) List(_a0 *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: _a0

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

func (_m *Bridge) RemoveChannel(key *ari.Key, channelID string) error

RemoveChannel provides a mock function with given fields: key, channelID

func (*Bridge) StageCreate

func (_m *Bridge) StageCreate(key *ari.Key, btype string, name string) (*ari.BridgeHandle, error)

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) Subscribe

func (_m *Bridge) Subscribe(key *ari.Key, n ...string) ari.Subscription

Subscribe provides a mock function with given fields: key, n

type Bus

type Bus struct {
	mock.Mock
}

Bus is an autogenerated mock type for the Bus type

func (*Bus) Close

func (_m *Bus) Close()

Close provides a mock function with given fields:

func (*Bus) Send

func (_m *Bus) Send(e ari.Event)

Send provides a mock function with given fields: e

func (*Bus) Subscribe

func (_m *Bus) Subscribe(key *ari.Key, n ...string) ari.Subscription

Subscribe provides a mock function with given fields: key, n

type Channel

type Channel struct {
	mock.Mock
}

Channel is an autogenerated mock type for the Channel type

func (*Channel) Answer

func (_m *Channel) Answer(key *ari.Key) error

Answer provides a mock function with given fields: key

func (*Channel) Busy

func (_m *Channel) Busy(key *ari.Key) error

Busy provides a mock function with given fields: key

func (*Channel) Congestion

func (_m *Channel) Congestion(key *ari.Key) error

Congestion provides a mock function with given fields: key

func (*Channel) Continue

func (_m *Channel) Continue(key *ari.Key, context string, extension string, priority int) error

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) Data

func (_m *Channel) Data(key *ari.Key) (*ari.ChannelData, error)

Data provides a mock function with given fields: key

func (*Channel) Dial

func (_m *Channel) Dial(key *ari.Key, caller string, timeout time.Duration) error

Dial provides a mock function with given fields: key, caller, timeout

func (*Channel) Get

func (_m *Channel) Get(key *ari.Key) *ari.ChannelHandle

Get provides a mock function with given fields: key

func (*Channel) GetVariable

func (_m *Channel) GetVariable(_a0 *ari.Key, _a1 string) (string, error)

GetVariable provides a mock function with given fields: _a0, _a1

func (*Channel) Hangup

func (_m *Channel) Hangup(key *ari.Key, reason string) error

Hangup provides a mock function with given fields: key, reason

func (*Channel) Hold

func (_m *Channel) Hold(key *ari.Key) error

Hold provides a mock function with given fields: key

func (*Channel) List

func (_m *Channel) List(_a0 *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: _a0

func (*Channel) MOH

func (_m *Channel) MOH(key *ari.Key, moh string) error

MOH provides a mock function with given fields: key, moh

func (*Channel) Mute

func (_m *Channel) Mute(key *ari.Key, dir ari.Direction) error

Mute provides a mock function with given fields: key, dir

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) Ring

func (_m *Channel) Ring(key *ari.Key) error

Ring provides a mock function with given fields: key

func (*Channel) SendDTMF

func (_m *Channel) SendDTMF(key *ari.Key, dtmf string, opts *ari.DTMFOptions) error

SendDTMF provides a mock function with given fields: key, dtmf, opts

func (*Channel) SetVariable

func (_m *Channel) SetVariable(key *ari.Key, name string, value string) error

SetVariable provides a mock function with given fields: key, name, value

func (*Channel) Silence

func (_m *Channel) Silence(key *ari.Key) error

Silence provides a mock function with given fields: key

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) 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) StopHold

func (_m *Channel) StopHold(key *ari.Key) error

StopHold provides a mock function with given fields: key

func (*Channel) StopMOH

func (_m *Channel) StopMOH(key *ari.Key) error

StopMOH provides a mock function with given fields: key

func (*Channel) StopRing

func (_m *Channel) StopRing(key *ari.Key) error

StopRing provides a mock function with given fields: key

func (*Channel) StopSilence

func (_m *Channel) StopSilence(key *ari.Key) error

StopSilence provides a mock function with given fields: key

func (*Channel) Subscribe

func (_m *Channel) Subscribe(key *ari.Key, n ...string) ari.Subscription

Subscribe provides a mock function with given fields: key, n

func (*Channel) Unmute

func (_m *Channel) Unmute(key *ari.Key, dir ari.Direction) error

Unmute provides a mock function with given fields: key, dir

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Application

func (_m *Client) Application() ari.Application

Application provides a mock function with given fields:

func (*Client) ApplicationName

func (_m *Client) ApplicationName() string

ApplicationName provides a mock function with given fields:

func (*Client) Asterisk

func (_m *Client) Asterisk() ari.Asterisk

Asterisk provides a mock function with given fields:

func (*Client) Bridge

func (_m *Client) Bridge() ari.Bridge

Bridge provides a mock function with given fields:

func (*Client) Bus

func (_m *Client) Bus() ari.Bus

Bus provides a mock function with given fields:

func (*Client) Channel

func (_m *Client) Channel() ari.Channel

Channel provides a mock function with given fields:

func (*Client) Close

func (_m *Client) Close()

Close 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) Endpoint

func (_m *Client) Endpoint() ari.Endpoint

Endpoint 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) Mailbox

func (_m *Client) Mailbox() ari.Mailbox

Mailbox provides a mock function with given fields:

func (*Client) Playback

func (_m *Client) Playback() ari.Playback

Playback provides a mock function with given fields:

func (*Client) Sound

func (_m *Client) Sound() ari.Sound

Sound 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

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func (*Config) Data

func (_m *Config) Data(key *ari.Key) (*ari.ConfigData, error)

Data provides a mock function with given fields: key

func (*Config) Delete

func (_m *Config) Delete(key *ari.Key) error

Delete provides a mock function with given fields: key

func (*Config) Get

func (_m *Config) Get(key *ari.Key) *ari.ConfigHandle

Get provides a mock function with given fields: key

func (*Config) Update

func (_m *Config) Update(key *ari.Key, tuples []ari.ConfigTuple) error

Update provides a mock function with given fields: key, tuples

type DTMFSender

type DTMFSender struct {
	mock.Mock
}

DTMFSender is an autogenerated mock type for the DTMFSender type

func (*DTMFSender) SendDTMF

func (_m *DTMFSender) SendDTMF(dtmf string, opts *ari.DTMFOptions)

SendDTMF provides a mock function with given fields: dtmf, opts

type DeviceState

type DeviceState struct {
	mock.Mock
}

DeviceState is an autogenerated mock type for the DeviceState type

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

func (*DeviceState) List

func (_m *DeviceState) List(filter *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: filter

func (*DeviceState) Update

func (_m *DeviceState) Update(key *ari.Key, state string) error

Update provides a mock function with given fields: key, state

type Endpoint

type Endpoint struct {
	mock.Mock
}

Endpoint is an autogenerated mock type for the Endpoint type

func (*Endpoint) Data

func (_m *Endpoint) Data(key *ari.Key) (*ari.EndpointData, error)

Data provides a mock function with given fields: key

func (*Endpoint) Get

func (_m *Endpoint) Get(key *ari.Key) *ari.EndpointHandle

Get provides a mock function with given fields: key

func (*Endpoint) List

func (_m *Endpoint) List(filter *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: filter

func (*Endpoint) ListByTech

func (_m *Endpoint) ListByTech(tech string, filter *ari.Key) ([]*ari.Key, error)

ListByTech provides a mock function with given fields: tech, filter

type Event

type Event struct {
	mock.Mock
}

Event is an autogenerated mock type for the Event type

func (*Event) GetApplication

func (_m *Event) GetApplication() string

GetApplication provides a mock function with given fields:

func (*Event) GetDialog

func (_m *Event) GetDialog() string

GetDialog provides a mock function with given fields:

func (*Event) GetNode

func (_m *Event) GetNode() string

GetNode provides a mock function with given fields:

func (*Event) GetType

func (_m *Event) GetType() string

GetType provides a mock function with given fields:

func (*Event) Key

func (_m *Event) Key(kind string, id string) *ari.Key

Key provides a mock function with given fields: kind, id

func (*Event) Keys

func (_m *Event) Keys() ari.Keys

Keys provides a mock function with given fields:

func (*Event) SetDialog

func (_m *Event) SetDialog(_a0 string)

SetDialog provides a mock function with given fields: _a0

type LiveRecording

type LiveRecording struct {
	mock.Mock
}

LiveRecording is an autogenerated mock type for the LiveRecording type

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

func (*LiveRecording) Unmute

func (_m *LiveRecording) Unmute(key *ari.Key) error

Unmute provides a mock function with given fields: key

type Logging

type Logging struct {
	mock.Mock
}

Logging is an autogenerated mock type for the Logging type

func (*Logging) Create

func (_m *Logging) Create(key *ari.Key, levels string) (*ari.LogHandle, error)

Create provides a mock function with given fields: key, levels

func (*Logging) Data

func (_m *Logging) Data(key *ari.Key) (*ari.LogData, error)

Data provides a mock function with given fields: key

func (*Logging) Delete

func (_m *Logging) Delete(key *ari.Key) error

Delete provides a mock function with given fields: key

func (*Logging) Get

func (_m *Logging) Get(key *ari.Key) *ari.LogHandle

Get provides a mock function with given fields: key

func (*Logging) List

func (_m *Logging) List(filter *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: filter

func (*Logging) Rotate

func (_m *Logging) Rotate(key *ari.Key) error

Rotate provides a mock function with given fields: key

type Mailbox

type Mailbox struct {
	mock.Mock
}

Mailbox is an autogenerated mock type for the Mailbox type

func (*Mailbox) Data

func (_m *Mailbox) Data(key *ari.Key) (*ari.MailboxData, error)

Data provides a mock function with given fields: key

func (*Mailbox) Delete

func (_m *Mailbox) Delete(key *ari.Key) error

Delete provides a mock function with given fields: key

func (*Mailbox) Get

func (_m *Mailbox) Get(key *ari.Key) *ari.MailboxHandle

Get provides a mock function with given fields: key

func (*Mailbox) List

func (_m *Mailbox) List(filter *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: filter

func (*Mailbox) Update

func (_m *Mailbox) Update(key *ari.Key, oldMessages int, newMessages int) error

Update provides a mock function with given fields: key, oldMessages, newMessages

type Matcher

type Matcher struct {
	mock.Mock
}

Matcher is an autogenerated mock type for the Matcher type

func (*Matcher) Match

func (_m *Matcher) Match(o *ari.Key) bool

Match provides a mock function with given fields: o

type Modules

type Modules struct {
	mock.Mock
}

Modules is an autogenerated mock type for the Modules type

func (*Modules) Data

func (_m *Modules) Data(key *ari.Key) (*ari.ModuleData, error)

Data provides a mock function with given fields: key

func (*Modules) Get

func (_m *Modules) Get(key *ari.Key) *ari.ModuleHandle

Get provides a mock function with given fields: key

func (*Modules) List

func (_m *Modules) List(filter *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: filter

func (*Modules) Load

func (_m *Modules) Load(key *ari.Key) error

Load provides a mock function with given fields: key

func (*Modules) Reload

func (_m *Modules) Reload(key *ari.Key) error

Reload provides a mock function with given fields: key

func (*Modules) Unload

func (_m *Modules) Unload(key *ari.Key) error

Unload provides a mock function with given fields: key

type Playback

type Playback struct {
	mock.Mock
}

Playback is an autogenerated mock type for the Playback type

func (*Playback) Control

func (_m *Playback) Control(key *ari.Key, op string) error

Control provides a mock function with given fields: key, op

func (*Playback) Data

func (_m *Playback) Data(key *ari.Key) (*ari.PlaybackData, error)

Data provides a mock function with given fields: key

func (*Playback) Get

func (_m *Playback) Get(key *ari.Key) *ari.PlaybackHandle

Get provides a mock function with given fields: key

func (*Playback) Stop

func (_m *Playback) Stop(key *ari.Key) error

Stop provides a mock function with given fields: key

func (*Playback) Subscribe

func (_m *Playback) Subscribe(key *ari.Key, n ...string) ari.Subscription

Subscribe provides a mock function with given fields: key, n

type Player

type Player struct {
	mock.Mock
}

Player is an autogenerated mock type for the Player type

func (*Player) Play

func (_m *Player) Play(_a0 string, _a1 string) (*ari.PlaybackHandle, error)

Play provides a mock function with given fields: _a0, _a1

func (*Player) StagePlay

func (_m *Player) StagePlay(_a0 string, _a1 string) (*ari.PlaybackHandle, error)

StagePlay provides a mock function with given fields: _a0, _a1

func (*Player) Subscribe

func (_m *Player) Subscribe(n ...string) ari.Subscription

Subscribe provides a mock function with given fields: n

type Recorder

type Recorder struct {
	mock.Mock
}

Recorder is an autogenerated mock type for the Recorder type

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

func (*Recorder) Subscribe

func (_m *Recorder) Subscribe(n ...string) ari.Subscription

Subscribe provides a mock function with given fields: n

type RequestError

type RequestError struct {
	mock.Mock
}

RequestError is an autogenerated mock type for the RequestError type

func (*RequestError) Code

func (_m *RequestError) Code() int

Code provides a mock function with given fields:

func (*RequestError) Error

func (_m *RequestError) Error() string

Error provides a mock function with given fields:

type Sender

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func (*Sender) Send

func (_m *Sender) Send(e ari.Event)

Send provides a mock function with given fields: e

type Session

type Session struct {
	mock.Mock
}

Session is an autogenerated mock type for the Session type

func (*Session) Add

func (_m *Session) Add(list ...string)

Add provides a mock function with given fields: list

func (*Session) Done

func (_m *Session) Done() <-chan struct{}

Done provides a mock function with given fields:

func (*Session) Err

func (_m *Session) Err() error

Err provides a mock function with given fields:

func (*Session) Result

func (_m *Session) Result() (*play.Result, error)

Result provides a mock function with given fields:

func (*Session) Stop

func (_m *Session) Stop()

Stop provides a mock function with given fields:

func (*Session) StopAudio

func (_m *Session) StopAudio()

StopAudio provides a mock function with given fields:

type Sound

type Sound struct {
	mock.Mock
}

Sound is an autogenerated mock type for the Sound type

func (*Sound) Data

func (_m *Sound) Data(key *ari.Key) (*ari.SoundData, error)

Data provides a mock function with given fields: key

func (*Sound) List

func (_m *Sound) List(filters map[string]string, keyFilter *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: filters, keyFilter

type StoredRecording

type StoredRecording struct {
	mock.Mock
}

StoredRecording is an autogenerated mock type for the StoredRecording type

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

Get provides a mock function with given fields: key

func (*StoredRecording) List

func (_m *StoredRecording) List(filter *ari.Key) ([]*ari.Key, error)

List provides a mock function with given fields: filter

type Subscriber

type Subscriber struct {
	mock.Mock
}

Subscriber is an autogenerated mock type for the Subscriber type

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

type Subscription struct {
	mock.Mock
}

Subscription is an autogenerated mock type for the Subscription type

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

type TextMessage struct {
	mock.Mock
}

TextMessage is an autogenerated mock type for the TextMessage type

func (*TextMessage) Send

func (_m *TextMessage) Send(from string, tech string, resource string, body string, vars map[string]string) error

Send provides a mock function with given fields: from, tech, resource, body, vars

func (*TextMessage) SendByURI

func (_m *TextMessage) SendByURI(from string, to string, body string, vars map[string]string) error

SendByURI provides a mock function with given fields: from, to, body, vars

Jump to

Keyboard shortcuts

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