mocks

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deleter

type Deleter struct {
	mock.Mock
}

Deleter is an autogenerated mock type for the Deleter type

func (*Deleter) Delete

func (_m *Deleter) Delete(i *account.Account) error

Delete provides a mock function with given fields: i

type Eventer

type Eventer struct {
	mock.Mock
}

Eventer is an autogenerated mock type for the Eventer type

func (*Eventer) AccountCreate

func (_m *Eventer) AccountCreate(_a0 *account.Account) error

AccountCreate provides a mock function with given fields: _a0

func (*Eventer) AccountDelete

func (_m *Eventer) AccountDelete(_a0 *account.Account) error

AccountDelete provides a mock function with given fields: _a0

func (*Eventer) AccountReset

func (_m *Eventer) AccountReset(_a0 *account.Account) error

AccountReset provides a mock function with given fields: _a0

func (*Eventer) AccountUpdate

func (_m *Eventer) AccountUpdate(old *account.Account, new *account.Account) error

AccountUpdate provides a mock function with given fields: old, new

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) DeletePrincipalAccess

func (_m *Manager) DeletePrincipalAccess(_a0 *account.Account) error

DeletePrincipalAccess provides a mock function with given fields: _a0

func (*Manager) UpsertPrincipalAccess

func (_m *Manager) UpsertPrincipalAccess(_a0 *account.Account) error

UpsertPrincipalAccess provides a mock function with given fields: _a0

func (*Manager) ValidateAccess

func (_m *Manager) ValidateAccess(role *arn.ARN) error

ValidateAccess provides a mock function with given fields: role

type MultipleReader

type MultipleReader struct {
	mock.Mock
}

MultipleReader is an autogenerated mock type for the MultipleReader type

func (*MultipleReader) List

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

List provides a mock function with given fields: query

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func (*Reader) Get

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

Get provides a mock function with given fields: ID

func (*Reader) List

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

List provides a mock function with given fields: query

type ReaderWriterDeleter

type ReaderWriterDeleter struct {
	mock.Mock
}

ReaderWriterDeleter is an autogenerated mock type for the ReaderWriterDeleter type

func (*ReaderWriterDeleter) Delete

func (_m *ReaderWriterDeleter) Delete(i *account.Account) error

Delete provides a mock function with given fields: i

func (*ReaderWriterDeleter) Get

Get provides a mock function with given fields: ID

func (*ReaderWriterDeleter) List

List provides a mock function with given fields: query

func (*ReaderWriterDeleter) Write

func (_m *ReaderWriterDeleter) Write(i *account.Account, lastModifiedOn *int64) error

Write provides a mock function with given fields: i, lastModifiedOn

type SingleReader

type SingleReader struct {
	mock.Mock
}

SingleReader is an autogenerated mock type for the SingleReader type

func (*SingleReader) Get

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

Get provides a mock function with given fields: ID

type Writer

type Writer struct {
	mock.Mock
}

Writer is an autogenerated mock type for the Writer type

func (*Writer) Write

func (_m *Writer) Write(i *account.Account, lastModifiedOn *int64) error

Write provides a mock function with given fields: i, lastModifiedOn

type WriterDeleter

type WriterDeleter struct {
	mock.Mock
}

WriterDeleter is an autogenerated mock type for the WriterDeleter type

func (*WriterDeleter) Delete

func (_m *WriterDeleter) Delete(i *account.Account) error

Delete provides a mock function with given fields: i

func (*WriterDeleter) Write

func (_m *WriterDeleter) Write(i *account.Account, lastModifiedOn *int64) error

Write provides a mock function with given fields: i, lastModifiedOn

Jump to

Keyboard shortcuts

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