Documentation ¶
Index ¶
- type Ticketing
- func (_m *Ticketing) Connect(credentials ticketing.Credentials) error
- func (_m *Ticketing) Create() error
- func (_m *Ticketing) FetchCredentials() (ticketing.Credentials, error)
- func (_m *Ticketing) FetchStatus() (ticketing.Status, error)
- func (_m *Ticketing) FetchTicket(hash ticketing.Hash) (ticketing.TicketID, error)
- func (_m *Ticketing) Update() error
- type TicketingSystem
- func (_m *TicketingSystem) Connect() error
- func (_m *TicketingSystem) Create(_a0 ticketing.Ticket) error
- func (_m *TicketingSystem) Fetch(_a0 ticketing.Ticket) (ticketing.Ticket, error)
- func (_m *TicketingSystem) FetchRemoteTicket(_a0 interface{}) (ticketing.Ticket, error)
- func (_m *TicketingSystem) GenerateTemplate(_a0 ticketing.Ticket) (ticketing.TicketTemplate, error)
- func (_m *TicketingSystem) ParseCredentials(_a0 interface{}) error
- func (_m *TicketingSystem) TicketExists(_a0 ticketing.Ticket) (bool, database.TicketDetails, error)
- func (_m *TicketingSystem) Update(_a0 ticketing.Ticket) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ticketing ¶
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) FetchCredentials ¶
func (_m *Ticketing) FetchCredentials() (ticketing.Credentials, error)
FetchCredentials provides a mock function with given fields:
func (*Ticketing) FetchStatus ¶
FetchStatus provides a mock function with given fields:
func (*Ticketing) FetchTicket ¶
FetchTicket provides a mock function with given fields: hash
type TicketingSystem ¶
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) 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