mock

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a mock of API interface

func NewClient

func NewClient(ctrl *gomock.Controller) *Client

NewClient creates a new mock instance

func (*Client) CreateAutomation

func (m *Client) CreateAutomation(arg0 context.Context, arg1 zendesk.Automation) (zendesk.Automation, error)

CreateAutomation mocks base method

func (*Client) CreateBrand

func (m *Client) CreateBrand(arg0 context.Context, arg1 zendesk.Brand) (zendesk.Brand, error)

CreateBrand mocks base method

func (*Client) CreateDynamicContentItem

func (m *Client) CreateDynamicContentItem(arg0 context.Context, arg1 zendesk.DynamicContentItem) (zendesk.DynamicContentItem, error)

CreateDynamicContentItem mocks base method

func (*Client) CreateGroup

func (m *Client) CreateGroup(arg0 context.Context, arg1 zendesk.Group) (zendesk.Group, error)

CreateGroup mocks base method

func (*Client) CreateOrganization

func (m *Client) CreateOrganization(arg0 context.Context, arg1 zendesk.Organization) (zendesk.Organization, error)

CreateOrganization mocks base method

func (*Client) CreateSLAPolicy

func (m *Client) CreateSLAPolicy(arg0 context.Context, arg1 zendesk.SLAPolicy) (zendesk.SLAPolicy, error)

CreateSLAPolicy mocks base method

func (*Client) CreateTarget

func (m *Client) CreateTarget(arg0 context.Context, arg1 zendesk.Target) (zendesk.Target, error)

CreateTarget mocks base method

func (*Client) CreateTicket

func (m *Client) CreateTicket(arg0 context.Context, arg1 zendesk.Ticket) (zendesk.Ticket, error)

CreateTicket mocks base method

func (*Client) CreateTicketField

func (m *Client) CreateTicketField(arg0 context.Context, arg1 zendesk.TicketField) (zendesk.TicketField, error)

CreateTicketField mocks base method

func (*Client) CreateTicketForm

func (m *Client) CreateTicketForm(arg0 context.Context, arg1 zendesk.TicketForm) (zendesk.TicketForm, error)

CreateTicketForm mocks base method

func (*Client) CreateTrigger

func (m *Client) CreateTrigger(arg0 context.Context, arg1 zendesk.Trigger) (zendesk.Trigger, error)

CreateTrigger mocks base method

func (*Client) CreateUser

func (m *Client) CreateUser(arg0 context.Context, arg1 zendesk.User) (zendesk.User, error)

CreateUser mocks base method

func (*Client) DeleteAutomation

func (m *Client) DeleteAutomation(arg0 context.Context, arg1 int64) error

DeleteAutomation mocks base method

func (*Client) DeleteBrand

func (m *Client) DeleteBrand(arg0 context.Context, arg1 int64) error

DeleteBrand mocks base method

func (*Client) DeleteGroup

func (m *Client) DeleteGroup(arg0 context.Context, arg1 int64) error

DeleteGroup mocks base method

func (*Client) DeleteOrganization

func (m *Client) DeleteOrganization(arg0 context.Context, arg1 int64) error

DeleteOrganization mocks base method

func (*Client) DeleteSLAPolicy

func (m *Client) DeleteSLAPolicy(arg0 context.Context, arg1 int64) error

DeleteSLAPolicy mocks base method

func (*Client) DeleteTarget

func (m *Client) DeleteTarget(arg0 context.Context, arg1 int64) error

DeleteTarget mocks base method

func (*Client) DeleteTicketField

func (m *Client) DeleteTicketField(arg0 context.Context, arg1 int64) error

DeleteTicketField mocks base method

func (*Client) DeleteTicketForm

func (m *Client) DeleteTicketForm(arg0 context.Context, arg1 int64) error

DeleteTicketForm mocks base method

func (*Client) DeleteTrigger

func (m *Client) DeleteTrigger(arg0 context.Context, arg1 int64) error

DeleteTrigger mocks base method

func (*Client) DeleteUpload

func (m *Client) DeleteUpload(arg0 context.Context, arg1 string) error

DeleteUpload mocks base method

func (*Client) EXPECT

func (m *Client) EXPECT() *ClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*Client) GetAttachment

func (m *Client) GetAttachment(arg0 context.Context, arg1 int64) (zendesk.Attachment, error)

GetAttachment mocks base method

func (*Client) GetAutomation

func (m *Client) GetAutomation(arg0 context.Context, arg1 int64) (zendesk.Automation, error)

GetAutomation mocks base method

func (*Client) GetAutomations

func (m *Client) GetAutomations(arg0 context.Context, arg1 *zendesk.AutomationListOptions) ([]zendesk.Automation, zendesk.Page, error)

GetAutomations mocks base method

func (*Client) GetBrand

func (m *Client) GetBrand(arg0 context.Context, arg1 int64) (zendesk.Brand, error)

GetBrand mocks base method

func (*Client) GetDynamicContentItems

func (m *Client) GetDynamicContentItems(arg0 context.Context) ([]zendesk.DynamicContentItem, zendesk.Page, error)

GetDynamicContentItems mocks base method

func (*Client) GetGroup

func (m *Client) GetGroup(arg0 context.Context, arg1 int64) (zendesk.Group, error)

GetGroup mocks base method

func (*Client) GetGroups

func (m *Client) GetGroups(arg0 context.Context) ([]zendesk.Group, zendesk.Page, error)

GetGroups mocks base method

func (*Client) GetLocales

func (m *Client) GetLocales(arg0 context.Context) ([]zendesk.Locale, error)

GetLocales mocks base method

func (*Client) GetMultipleTickets

func (m *Client) GetMultipleTickets(arg0 context.Context, arg1 []int64) ([]zendesk.Ticket, error)

GetMultipleTickets mocks base method

func (*Client) GetOrganization

func (m *Client) GetOrganization(arg0 context.Context, arg1 int64) (zendesk.Organization, error)

GetOrganization mocks base method

func (*Client) GetSLAPolicies

func (m *Client) GetSLAPolicies(arg0 context.Context, arg1 *zendesk.SLAPolicyListOptions) ([]zendesk.SLAPolicy, zendesk.Page, error)

GetSLAPolicies mocks base method

func (*Client) GetSLAPolicy

func (m *Client) GetSLAPolicy(arg0 context.Context, arg1 int64) (zendesk.SLAPolicy, error)

GetSLAPolicy mocks base method

func (*Client) GetTarget

func (m *Client) GetTarget(arg0 context.Context, arg1 int64) (zendesk.Target, error)

GetTarget mocks base method

func (*Client) GetTargets

func (m *Client) GetTargets(arg0 context.Context) ([]zendesk.Target, zendesk.Page, error)

GetTargets mocks base method

func (*Client) GetTicket

func (m *Client) GetTicket(arg0 context.Context, arg1 int64) (zendesk.Ticket, error)

GetTicket mocks base method

func (*Client) GetTicketField

func (m *Client) GetTicketField(arg0 context.Context, arg1 int64) (zendesk.TicketField, error)

GetTicketField mocks base method

func (*Client) GetTicketFields

func (m *Client) GetTicketFields(arg0 context.Context) ([]zendesk.TicketField, zendesk.Page, error)

GetTicketFields mocks base method

func (*Client) GetTicketForm

func (m *Client) GetTicketForm(arg0 context.Context, arg1 int64) (zendesk.TicketForm, error)

GetTicketForm mocks base method

func (*Client) GetTicketForms

func (m *Client) GetTicketForms(arg0 context.Context, arg1 *zendesk.TicketFormListOptions) ([]zendesk.TicketForm, zendesk.Page, error)

GetTicketForms mocks base method

func (*Client) GetTickets

func (m *Client) GetTickets(arg0 context.Context, arg1 *zendesk.TicketListOptions) ([]zendesk.Ticket, zendesk.Page, error)

GetTickets mocks base method

func (*Client) GetTrigger

func (m *Client) GetTrigger(arg0 context.Context, arg1 int64) (zendesk.Trigger, error)

GetTrigger mocks base method

func (*Client) GetTriggers

func (m *Client) GetTriggers(arg0 context.Context, arg1 *zendesk.TriggerListOptions) ([]zendesk.Trigger, zendesk.Page, error)

GetTriggers mocks base method

func (*Client) GetUserFields

func (m *Client) GetUserFields(arg0 context.Context, arg1 *zendesk.UserFieldListOptions) ([]zendesk.UserField, zendesk.Page, error)

GetUserFields mocks base method

func (*Client) GetUsers

func (m *Client) GetUsers(arg0 context.Context, arg1 *zendesk.UserListOptions) ([]zendesk.User, zendesk.Page, error)

GetUsers mocks base method

func (*Client) Search

Search mocks base method

func (*Client) UpdateAutomation

func (m *Client) UpdateAutomation(arg0 context.Context, arg1 int64, arg2 zendesk.Automation) (zendesk.Automation, error)

UpdateAutomation mocks base method

func (*Client) UpdateBrand

func (m *Client) UpdateBrand(arg0 context.Context, arg1 int64, arg2 zendesk.Brand) (zendesk.Brand, error)

UpdateBrand mocks base method

func (*Client) UpdateGroup

func (m *Client) UpdateGroup(arg0 context.Context, arg1 int64, arg2 zendesk.Group) (zendesk.Group, error)

UpdateGroup mocks base method

func (*Client) UpdateOrganization

func (m *Client) UpdateOrganization(arg0 context.Context, arg1 int64, arg2 zendesk.Organization) (zendesk.Organization, error)

UpdateOrganization mocks base method

func (*Client) UpdateSLAPolicy

func (m *Client) UpdateSLAPolicy(arg0 context.Context, arg1 int64, arg2 zendesk.SLAPolicy) (zendesk.SLAPolicy, error)

UpdateSLAPolicy mocks base method

func (*Client) UpdateTarget

func (m *Client) UpdateTarget(arg0 context.Context, arg1 int64, arg2 zendesk.Target) (zendesk.Target, error)

UpdateTarget mocks base method

func (*Client) UpdateTicketField

func (m *Client) UpdateTicketField(arg0 context.Context, arg1 int64, arg2 zendesk.TicketField) (zendesk.TicketField, error)

UpdateTicketField mocks base method

func (*Client) UpdateTicketForm

func (m *Client) UpdateTicketForm(arg0 context.Context, arg1 int64, arg2 zendesk.TicketForm) (zendesk.TicketForm, error)

UpdateTicketForm mocks base method

func (*Client) UpdateTrigger

func (m *Client) UpdateTrigger(arg0 context.Context, arg1 int64, arg2 zendesk.Trigger) (zendesk.Trigger, error)

UpdateTrigger mocks base method

func (*Client) UploadAttachment

func (m *Client) UploadAttachment(arg0 context.Context, arg1, arg2 string) zendesk.UploadWriter

UploadAttachment mocks base method

type ClientMockRecorder

type ClientMockRecorder struct {
	// contains filtered or unexported fields
}

ClientMockRecorder is the mock recorder for Client

func (*ClientMockRecorder) CreateAutomation

func (mr *ClientMockRecorder) CreateAutomation(arg0, arg1 interface{}) *gomock.Call

CreateAutomation indicates an expected call of CreateAutomation

func (*ClientMockRecorder) CreateBrand

func (mr *ClientMockRecorder) CreateBrand(arg0, arg1 interface{}) *gomock.Call

CreateBrand indicates an expected call of CreateBrand

func (*ClientMockRecorder) CreateDynamicContentItem

func (mr *ClientMockRecorder) CreateDynamicContentItem(arg0, arg1 interface{}) *gomock.Call

CreateDynamicContentItem indicates an expected call of CreateDynamicContentItem

func (*ClientMockRecorder) CreateGroup

func (mr *ClientMockRecorder) CreateGroup(arg0, arg1 interface{}) *gomock.Call

CreateGroup indicates an expected call of CreateGroup

func (*ClientMockRecorder) CreateOrganization

func (mr *ClientMockRecorder) CreateOrganization(arg0, arg1 interface{}) *gomock.Call

CreateOrganization indicates an expected call of CreateOrganization

func (*ClientMockRecorder) CreateSLAPolicy

func (mr *ClientMockRecorder) CreateSLAPolicy(arg0, arg1 interface{}) *gomock.Call

CreateSLAPolicy indicates an expected call of CreateSLAPolicy

func (*ClientMockRecorder) CreateTarget

func (mr *ClientMockRecorder) CreateTarget(arg0, arg1 interface{}) *gomock.Call

CreateTarget indicates an expected call of CreateTarget

func (*ClientMockRecorder) CreateTicket

func (mr *ClientMockRecorder) CreateTicket(arg0, arg1 interface{}) *gomock.Call

CreateTicket indicates an expected call of CreateTicket

func (*ClientMockRecorder) CreateTicketField

func (mr *ClientMockRecorder) CreateTicketField(arg0, arg1 interface{}) *gomock.Call

CreateTicketField indicates an expected call of CreateTicketField

func (*ClientMockRecorder) CreateTicketForm

func (mr *ClientMockRecorder) CreateTicketForm(arg0, arg1 interface{}) *gomock.Call

CreateTicketForm indicates an expected call of CreateTicketForm

func (*ClientMockRecorder) CreateTrigger

func (mr *ClientMockRecorder) CreateTrigger(arg0, arg1 interface{}) *gomock.Call

CreateTrigger indicates an expected call of CreateTrigger

func (*ClientMockRecorder) CreateUser

func (mr *ClientMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser

func (*ClientMockRecorder) DeleteAutomation

func (mr *ClientMockRecorder) DeleteAutomation(arg0, arg1 interface{}) *gomock.Call

DeleteAutomation indicates an expected call of DeleteAutomation

func (*ClientMockRecorder) DeleteBrand

func (mr *ClientMockRecorder) DeleteBrand(arg0, arg1 interface{}) *gomock.Call

DeleteBrand indicates an expected call of DeleteBrand

func (*ClientMockRecorder) DeleteGroup

func (mr *ClientMockRecorder) DeleteGroup(arg0, arg1 interface{}) *gomock.Call

DeleteGroup indicates an expected call of DeleteGroup

func (*ClientMockRecorder) DeleteOrganization

func (mr *ClientMockRecorder) DeleteOrganization(arg0, arg1 interface{}) *gomock.Call

DeleteOrganization indicates an expected call of DeleteOrganization

func (*ClientMockRecorder) DeleteSLAPolicy

func (mr *ClientMockRecorder) DeleteSLAPolicy(arg0, arg1 interface{}) *gomock.Call

DeleteSLAPolicy indicates an expected call of DeleteSLAPolicy

func (*ClientMockRecorder) DeleteTarget

func (mr *ClientMockRecorder) DeleteTarget(arg0, arg1 interface{}) *gomock.Call

DeleteTarget indicates an expected call of DeleteTarget

func (*ClientMockRecorder) DeleteTicketField

func (mr *ClientMockRecorder) DeleteTicketField(arg0, arg1 interface{}) *gomock.Call

DeleteTicketField indicates an expected call of DeleteTicketField

func (*ClientMockRecorder) DeleteTicketForm

func (mr *ClientMockRecorder) DeleteTicketForm(arg0, arg1 interface{}) *gomock.Call

DeleteTicketForm indicates an expected call of DeleteTicketForm

func (*ClientMockRecorder) DeleteTrigger

func (mr *ClientMockRecorder) DeleteTrigger(arg0, arg1 interface{}) *gomock.Call

DeleteTrigger indicates an expected call of DeleteTrigger

func (*ClientMockRecorder) DeleteUpload

func (mr *ClientMockRecorder) DeleteUpload(arg0, arg1 interface{}) *gomock.Call

DeleteUpload indicates an expected call of DeleteUpload

func (*ClientMockRecorder) GetAttachment

func (mr *ClientMockRecorder) GetAttachment(arg0, arg1 interface{}) *gomock.Call

GetAttachment indicates an expected call of GetAttachment

func (*ClientMockRecorder) GetAutomation

func (mr *ClientMockRecorder) GetAutomation(arg0, arg1 interface{}) *gomock.Call

GetAutomation indicates an expected call of GetAutomation

func (*ClientMockRecorder) GetAutomations

func (mr *ClientMockRecorder) GetAutomations(arg0, arg1 interface{}) *gomock.Call

GetAutomations indicates an expected call of GetAutomations

func (*ClientMockRecorder) GetBrand

func (mr *ClientMockRecorder) GetBrand(arg0, arg1 interface{}) *gomock.Call

GetBrand indicates an expected call of GetBrand

func (*ClientMockRecorder) GetDynamicContentItems

func (mr *ClientMockRecorder) GetDynamicContentItems(arg0 interface{}) *gomock.Call

GetDynamicContentItems indicates an expected call of GetDynamicContentItems

func (*ClientMockRecorder) GetGroup

func (mr *ClientMockRecorder) GetGroup(arg0, arg1 interface{}) *gomock.Call

GetGroup indicates an expected call of GetGroup

func (*ClientMockRecorder) GetGroups

func (mr *ClientMockRecorder) GetGroups(arg0 interface{}) *gomock.Call

GetGroups indicates an expected call of GetGroups

func (*ClientMockRecorder) GetLocales

func (mr *ClientMockRecorder) GetLocales(arg0 interface{}) *gomock.Call

GetLocales indicates an expected call of GetLocales

func (*ClientMockRecorder) GetMultipleTickets

func (mr *ClientMockRecorder) GetMultipleTickets(arg0, arg1 interface{}) *gomock.Call

GetMultipleTickets indicates an expected call of GetMultipleTickets

func (*ClientMockRecorder) GetOrganization

func (mr *ClientMockRecorder) GetOrganization(arg0, arg1 interface{}) *gomock.Call

GetOrganization indicates an expected call of GetOrganization

func (*ClientMockRecorder) GetSLAPolicies

func (mr *ClientMockRecorder) GetSLAPolicies(arg0, arg1 interface{}) *gomock.Call

GetSLAPolicies indicates an expected call of GetSLAPolicies

func (*ClientMockRecorder) GetSLAPolicy

func (mr *ClientMockRecorder) GetSLAPolicy(arg0, arg1 interface{}) *gomock.Call

GetSLAPolicy indicates an expected call of GetSLAPolicy

func (*ClientMockRecorder) GetTarget

func (mr *ClientMockRecorder) GetTarget(arg0, arg1 interface{}) *gomock.Call

GetTarget indicates an expected call of GetTarget

func (*ClientMockRecorder) GetTargets

func (mr *ClientMockRecorder) GetTargets(arg0 interface{}) *gomock.Call

GetTargets indicates an expected call of GetTargets

func (*ClientMockRecorder) GetTicket

func (mr *ClientMockRecorder) GetTicket(arg0, arg1 interface{}) *gomock.Call

GetTicket indicates an expected call of GetTicket

func (*ClientMockRecorder) GetTicketField

func (mr *ClientMockRecorder) GetTicketField(arg0, arg1 interface{}) *gomock.Call

GetTicketField indicates an expected call of GetTicketField

func (*ClientMockRecorder) GetTicketFields

func (mr *ClientMockRecorder) GetTicketFields(arg0 interface{}) *gomock.Call

GetTicketFields indicates an expected call of GetTicketFields

func (*ClientMockRecorder) GetTicketForm

func (mr *ClientMockRecorder) GetTicketForm(arg0, arg1 interface{}) *gomock.Call

GetTicketForm indicates an expected call of GetTicketForm

func (*ClientMockRecorder) GetTicketForms

func (mr *ClientMockRecorder) GetTicketForms(arg0, arg1 interface{}) *gomock.Call

GetTicketForms indicates an expected call of GetTicketForms

func (*ClientMockRecorder) GetTickets

func (mr *ClientMockRecorder) GetTickets(arg0, arg1 interface{}) *gomock.Call

GetTickets indicates an expected call of GetTickets

func (*ClientMockRecorder) GetTrigger

func (mr *ClientMockRecorder) GetTrigger(arg0, arg1 interface{}) *gomock.Call

GetTrigger indicates an expected call of GetTrigger

func (*ClientMockRecorder) GetTriggers

func (mr *ClientMockRecorder) GetTriggers(arg0, arg1 interface{}) *gomock.Call

GetTriggers indicates an expected call of GetTriggers

func (*ClientMockRecorder) GetUserFields

func (mr *ClientMockRecorder) GetUserFields(arg0, arg1 interface{}) *gomock.Call

GetUserFields indicates an expected call of GetUserFields

func (*ClientMockRecorder) GetUsers

func (mr *ClientMockRecorder) GetUsers(arg0, arg1 interface{}) *gomock.Call

GetUsers indicates an expected call of GetUsers

func (*ClientMockRecorder) Search

func (mr *ClientMockRecorder) Search(arg0, arg1 interface{}) *gomock.Call

Search indicates an expected call of Search

func (*ClientMockRecorder) UpdateAutomation

func (mr *ClientMockRecorder) UpdateAutomation(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateAutomation indicates an expected call of UpdateAutomation

func (*ClientMockRecorder) UpdateBrand

func (mr *ClientMockRecorder) UpdateBrand(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateBrand indicates an expected call of UpdateBrand

func (*ClientMockRecorder) UpdateGroup

func (mr *ClientMockRecorder) UpdateGroup(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateGroup indicates an expected call of UpdateGroup

func (*ClientMockRecorder) UpdateOrganization

func (mr *ClientMockRecorder) UpdateOrganization(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateOrganization indicates an expected call of UpdateOrganization

func (*ClientMockRecorder) UpdateSLAPolicy

func (mr *ClientMockRecorder) UpdateSLAPolicy(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateSLAPolicy indicates an expected call of UpdateSLAPolicy

func (*ClientMockRecorder) UpdateTarget

func (mr *ClientMockRecorder) UpdateTarget(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateTarget indicates an expected call of UpdateTarget

func (*ClientMockRecorder) UpdateTicketField

func (mr *ClientMockRecorder) UpdateTicketField(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateTicketField indicates an expected call of UpdateTicketField

func (*ClientMockRecorder) UpdateTicketForm

func (mr *ClientMockRecorder) UpdateTicketForm(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateTicketForm indicates an expected call of UpdateTicketForm

func (*ClientMockRecorder) UpdateTrigger

func (mr *ClientMockRecorder) UpdateTrigger(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateTrigger indicates an expected call of UpdateTrigger

func (*ClientMockRecorder) UploadAttachment

func (mr *ClientMockRecorder) UploadAttachment(arg0, arg1, arg2 interface{}) *gomock.Call

UploadAttachment indicates an expected call of UploadAttachment

Jump to

Keyboard shortcuts

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