mocks

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Servicer

type Servicer struct {
	mock.Mock
}

Servicer is an autogenerated mock type for the Servicer type

func (*Servicer) Create

func (_m *Servicer) Create(data *account.Account) (*account.Account, error)

Create provides a mock function with given fields: data

func (*Servicer) Delete

func (_m *Servicer) Delete(data *account.Account) error

Delete provides a mock function with given fields: data

func (*Servicer) Get

func (_m *Servicer) Get(ID string) (*account.Account, error)

Get provides a mock function with given fields: ID

func (*Servicer) List

func (_m *Servicer) List(query *account.Account) (*account.Accounts, error)

List provides a mock function with given fields: query

func (*Servicer) ListPages

func (_m *Servicer) ListPages(query *account.Account, fn func(*account.Accounts) bool) error

ListPages provides a mock function with given fields: query, fn

func (*Servicer) Reset

func (_m *Servicer) Reset(id string) (*account.Account, error)

Reset provides a mock function with given fields: id

func (*Servicer) Save

func (_m *Servicer) Save(data *account.Account) error

Save provides a mock function with given fields: data

func (*Servicer) Update

func (_m *Servicer) Update(ID string, data *account.Account) (*account.Account, error)

Update provides a mock function with given fields: ID, data

func (*Servicer) UpsertPrincipalAccess

func (_m *Servicer) UpsertPrincipalAccess(data *account.Account) error

UpsertPrincipalAccess provides a mock function with given fields: data

Jump to

Keyboard shortcuts

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