mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ticketing

type Ticketing struct {
	mock.Mock
}

Ticketing is an autogenerated mock type for the Ticketing type

func (*Ticketing) Connect

func (_m *Ticketing) Connect(credentials ticketing.Credentials) error

Connect provides a mock function with given fields: credentials

func (*Ticketing) Create

func (_m *Ticketing) Create() error

Create provides a mock function with given fields:

func (*Ticketing) FetchCredentials

func (_m *Ticketing) FetchCredentials() (ticketing.Credentials, error)

FetchCredentials provides a mock function with given fields:

func (*Ticketing) FetchStatus

func (_m *Ticketing) FetchStatus() (ticketing.Status, error)

FetchStatus provides a mock function with given fields:

func (*Ticketing) FetchTicket

func (_m *Ticketing) FetchTicket(hash ticketing.Hash) (ticketing.TicketID, error)

FetchTicket provides a mock function with given fields: hash

func (*Ticketing) Update

func (_m *Ticketing) Update() error

Update provides a mock function with given fields:

type TicketingSystem

type TicketingSystem struct {
	mock.Mock
}

TicketingSystem is an autogenerated mock type for the TicketingSystem type

func (*TicketingSystem) Connect

func (_m *TicketingSystem) Connect() error

Connect provides a mock function with given fields:

func (*TicketingSystem) Create

func (_m *TicketingSystem) Create(_a0 ticketing.Ticket) error

Create provides a mock function with given fields: _a0

func (*TicketingSystem) Fetch

Fetch provides a mock function with given fields: _a0

func (*TicketingSystem) FetchRemoteTicket

func (_m *TicketingSystem) FetchRemoteTicket(_a0 interface{}) (ticketing.Ticket, error)

FetchRemoteTicket provides a mock function with given fields: _a0

func (*TicketingSystem) GenerateTemplate

func (_m *TicketingSystem) GenerateTemplate(_a0 ticketing.Ticket) (ticketing.TicketTemplate, error)

GenerateTemplate provides a mock function with given fields: _a0

func (*TicketingSystem) ParseCredentials

func (_m *TicketingSystem) ParseCredentials(_a0 interface{}) error

ParseCredentials provides a mock function with given fields: _a0

func (*TicketingSystem) TicketExists

func (_m *TicketingSystem) TicketExists(_a0 ticketing.Ticket) (bool, database.TicketDetails, error)

TicketExists provides a mock function with given fields: _a0

func (*TicketingSystem) Update

func (_m *TicketingSystem) Update(_a0 ticketing.Ticket) error

Update provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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