mocks

package
v0.0.0-...-2a1b41a Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 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 IForceApi

type IForceApi struct {
	mock.Mock
}

IForceApi is an autogenerated mock type for the IForceApi type

func (*IForceApi) DeleteSObject

func (_m *IForceApi) DeleteSObject(id string, in force.SObject) error

DeleteSObject provides a mock function with given fields: id, in

func (*IForceApi) DeleteSObjectByExternalId

func (_m *IForceApi) DeleteSObjectByExternalId(id string, in force.SObject) error

DeleteSObjectByExternalId provides a mock function with given fields: id, in

func (*IForceApi) DescribeSObject

func (_m *IForceApi) DescribeSObject(in force.SObject) (*force.SObjectDescription, error)

DescribeSObject provides a mock function with given fields: in

func (*IForceApi) DescribeSObjects

func (_m *IForceApi) DescribeSObjects() (map[string]*force.SObjectMetaData, error)

DescribeSObjects provides a mock function with given fields:

func (*IForceApi) Get

func (_m *IForceApi) Get(path string, params url.Values, out interface{}) error

Get provides a mock function with given fields: path, params, out

func (*IForceApi) GetAccessToken

func (_m *IForceApi) GetAccessToken() string

GetAccessToken provides a mock function with given fields:

func (*IForceApi) GetInstanceURL

func (_m *IForceApi) GetInstanceURL() string

GetInstanceURL provides a mock function with given fields:

func (*IForceApi) GetLimits

func (_m *IForceApi) GetLimits() (*force.Limits, error)

GetLimits provides a mock function with given fields:

func (*IForceApi) GetSObject

func (_m *IForceApi) GetSObject(id string, fields []string, out force.SObject) error

GetSObject provides a mock function with given fields: id, fields, out

func (*IForceApi) GetSObjectByExternalId

func (_m *IForceApi) GetSObjectByExternalId(id string, fields []string, out force.SObject) error

GetSObjectByExternalId provides a mock function with given fields: id, fields, out

func (*IForceApi) InsertSObject

func (_m *IForceApi) InsertSObject(in force.SObject) (*force.SObjectResponse, error)

InsertSObject provides a mock function with given fields: in

func (*IForceApi) Query

func (_m *IForceApi) Query(query string, out interface{}) error

Query provides a mock function with given fields: query, out

func (*IForceApi) QueryAll

func (_m *IForceApi) QueryAll(query string, out interface{}) error

QueryAll provides a mock function with given fields: query, out

func (*IForceApi) QueryNext

func (_m *IForceApi) QueryNext(uri string, out interface{}) error

QueryNext provides a mock function with given fields: uri, out

func (*IForceApi) RefreshToken

func (_m *IForceApi) RefreshToken() error

RefreshToken provides a mock function with given fields:

func (*IForceApi) UpdateSObject

func (_m *IForceApi) UpdateSObject(id string, in force.SObject) error

UpdateSObject provides a mock function with given fields: id, in

func (*IForceApi) UpsertSObjectByExternalId

func (_m *IForceApi) UpsertSObjectByExternalId(id string, in force.SObject) (*force.SObjectResponse, error)

UpsertSObjectByExternalId provides a mock function with given fields: id, in

Jump to

Keyboard shortcuts

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