mocks

package
v0.0.0-...-8341997 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bloodlines

type Bloodlines struct {
	mock.Mock
}

Bloodlines is an autogenerated mock type for the Bloodlines type

func (*Bloodlines) ActivateTrigger

func (_m *Bloodlines) ActivateTrigger(key string, receipt *models.Receipt) (*models.SendRequest, error)

ActivateTrigger provides a mock function with given fields: key, receipt

func (*Bloodlines) DeleteContent

func (_m *Bloodlines) DeleteContent(id uuid.UUID) error

DeleteContent provides a mock function with given fields: id

func (*Bloodlines) DeletePreference

func (_m *Bloodlines) DeletePreference(id uuid.UUID) error

DeletePreference provides a mock function with given fields: id

func (*Bloodlines) DeleteTrigger

func (_m *Bloodlines) DeleteTrigger(key string) error

DeleteTrigger provides a mock function with given fields: key

func (*Bloodlines) GetAllContent

func (_m *Bloodlines) GetAllContent(offset int, limit int) ([]*models.Content, error)

GetAllContent provides a mock function with given fields: offset, limit

func (*Bloodlines) GetAllReceipts

func (_m *Bloodlines) GetAllReceipts(offset int, limit int) ([]*models.Receipt, error)

GetAllReceipts provides a mock function with given fields: offset, limit

func (*Bloodlines) GetAllTriggers

func (_m *Bloodlines) GetAllTriggers(offset int, limit int) ([]*models.Trigger, error)

GetAllTriggers provides a mock function with given fields: offset, limit

func (*Bloodlines) GetContentByID

func (_m *Bloodlines) GetContentByID(id uuid.UUID) (*models.Content, error)

GetContentByID provides a mock function with given fields: id

func (*Bloodlines) GetPreference

func (_m *Bloodlines) GetPreference(id uuid.UUID) (*models.Preference, error)

GetPreference provides a mock function with given fields: id

func (*Bloodlines) GetReceiptByID

func (_m *Bloodlines) GetReceiptByID(id uuid.UUID) (*models.Receipt, error)

GetReceiptByID provides a mock function with given fields: id

func (*Bloodlines) GetTriggerByKey

func (_m *Bloodlines) GetTriggerByKey(key string) (*models.Trigger, error)

GetTriggerByKey provides a mock function with given fields: key

func (*Bloodlines) NewContent

func (_m *Bloodlines) NewContent(newContent *models.Content) (*models.Content, error)

NewContent provides a mock function with given fields: newContent

func (*Bloodlines) NewPreference

func (_m *Bloodlines) NewPreference(id uuid.UUID) (*models.Preference, error)

NewPreference provides a mock function with given fields: id

func (*Bloodlines) NewTrigger

func (_m *Bloodlines) NewTrigger(t *models.Trigger) (*models.Trigger, error)

NewTrigger provides a mock function with given fields: t

func (*Bloodlines) SendReceipt

func (_m *Bloodlines) SendReceipt(receipt *models.Receipt) (*models.Receipt, error)

SendReceipt provides a mock function with given fields: receipt

func (*Bloodlines) UpdateContent

func (_m *Bloodlines) UpdateContent(update *models.Content) (*models.Content, error)

UpdateContent provides a mock function with given fields: update

func (*Bloodlines) UpdatePreference

func (_m *Bloodlines) UpdatePreference(_a0 *models.Preference) (*models.Preference, error)

UpdatePreference provides a mock function with given fields: _a0

func (*Bloodlines) UpdateTrigger

func (_m *Bloodlines) UpdateTrigger(update *models.Trigger) (*models.Trigger, error)

UpdateTrigger provides a mock function with given fields: update

type RabbitI

type RabbitI struct {
	mock.Mock
}

RabbitI is an autogenerated mock type for the RabbitI type

func (*RabbitI) Consume

func (_m *RabbitI) Consume() (<-chan amqp.Delivery, error)

Consume provides a mock function with given fields:

func (*RabbitI) Destroy

func (_m *RabbitI) Destroy()

Destroy provides a mock function with given fields:

func (*RabbitI) Produce

func (_m *RabbitI) Produce(_a0 interface{}) error

Produce provides a mock function with given fields: _a0

type S3

type S3 struct {
	mock.Mock
}

S3 is an autogenerated mock type for the S3 type

func (*S3) Upload

func (_m *S3) Upload(bucket string, name string, body io.Reader) (string, error)

Upload provides a mock function with given fields: bucket, name, body

type SQL

type SQL struct {
	mock.Mock
}

SQL is an autogenerated mock type for the SQL type

func (*SQL) Destroy

func (_m *SQL) Destroy()

Destroy provides a mock function with given fields:

func (*SQL) Modify

func (_m *SQL) Modify(_a0 string, _a1 ...interface{}) error

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

func (*SQL) Select

func (_m *SQL) Select(_a0 string, _a1 ...interface{}) (*sql.Rows, error)

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

type Search struct {
	mock.Mock
}

Search is an autogenerated mock type for the Search type

func (*Search) Limit

func (_m *Search) Limit(_a0 string) string

Limit provides a mock function with given fields: _a0

func (*Search) Order

func (_m *Search) Order(_a0 string, _a1 ...*sql.SortTerm) string

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

func (*Search) ToQuery

func (_m *Search) ToQuery() string

ToQuery provides a mock function with given fields:

func (*Search) Where

func (_m *Search) Where(_a0 string, _a1 ...*sql.SortTerm) string

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

type SendgridI

type SendgridI struct {
	mock.Mock
}

SendgridI is an autogenerated mock type for the SendgridI type

func (*SendgridI) SendEmail

func (_m *SendgridI) SendEmail(_a0 string, _a1 string, _a2 string) error

SendEmail provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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