mocks

package
v0.0.0-...-af653b8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEntity

type MockEntity struct {
	Id string
}

func (*MockEntity) GetId

func (m *MockEntity) GetId() string

func (*MockEntity) HasId

func (m *MockEntity) HasId() bool

type MockResourceManager

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

MockResourceManager is a mock of ResourceManager interface

func NewMockResourceManager

func NewMockResourceManager(ctrl *gomock.Controller) *MockResourceManager

NewMockResourceManager creates a new mock instance

func (*MockResourceManager) CreateEntity

func (m *MockResourceManager) CreateEntity(arg0 goresource.Entity, arg1 url.Values) (interface{}, error)

CreateEntity mocks base method

func (*MockResourceManager) DeleteEntity

func (m *MockResourceManager) DeleteEntity(arg0 string, arg1 url.Values) error

DeleteEntity mocks base method

func (*MockResourceManager) EXPECT

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

func (*MockResourceManager) GetEntity

func (m *MockResourceManager) GetEntity(arg0 string, arg1 url.Values) (interface{}, error)

GetEntity mocks base method

func (*MockResourceManager) GetName

func (m *MockResourceManager) GetName() string

GetName mocks base method

func (*MockResourceManager) ListEntities

func (m *MockResourceManager) ListEntities(arg0 url.Values) (interface{}, error)

ListEntities mocks base method

func (*MockResourceManager) New

New mocks base method

func (*MockResourceManager) ParseJSON

func (m *MockResourceManager) ParseJSON(arg0 io.ReadCloser) (goresource.Entity, error)

ParseJSON mocks base method

func (*MockResourceManager) UpdateEntity

func (m *MockResourceManager) UpdateEntity(arg0 string, arg1 goresource.Entity, arg2 url.Values) (interface{}, error)

UpdateEntity mocks base method

type MockResourceManagerMockRecorder

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

MockResourceManagerMockRecorder is the mock recorder for MockResourceManager

func (*MockResourceManagerMockRecorder) CreateEntity

func (mr *MockResourceManagerMockRecorder) CreateEntity(arg0, arg1 interface{}) *gomock.Call

CreateEntity indicates an expected call of CreateEntity

func (*MockResourceManagerMockRecorder) DeleteEntity

func (mr *MockResourceManagerMockRecorder) DeleteEntity(arg0, arg1 interface{}) *gomock.Call

DeleteEntity indicates an expected call of DeleteEntity

func (*MockResourceManagerMockRecorder) GetEntity

func (mr *MockResourceManagerMockRecorder) GetEntity(arg0, arg1 interface{}) *gomock.Call

GetEntity indicates an expected call of GetEntity

func (*MockResourceManagerMockRecorder) GetName

GetName indicates an expected call of GetName

func (*MockResourceManagerMockRecorder) ListEntities

func (mr *MockResourceManagerMockRecorder) ListEntities(arg0 interface{}) *gomock.Call

ListEntities indicates an expected call of ListEntities

func (*MockResourceManagerMockRecorder) New

New indicates an expected call of New

func (*MockResourceManagerMockRecorder) ParseJSON

func (mr *MockResourceManagerMockRecorder) ParseJSON(arg0 interface{}) *gomock.Call

ParseJSON indicates an expected call of ParseJSON

func (*MockResourceManagerMockRecorder) UpdateEntity

func (mr *MockResourceManagerMockRecorder) UpdateEntity(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateEntity indicates an expected call of UpdateEntity

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) Close

func (m *MockStore) Close()

Close mocks base method

func (*MockStore) CreateEntity

func (m *MockStore) CreateEntity(arg0 string, arg1, arg2 interface{}) error

CreateEntity mocks base method

func (*MockStore) DeleteEntity

func (m *MockStore) DeleteEntity(arg0, arg1 string) error

DeleteEntity mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetEntity

func (m *MockStore) GetEntity(arg0, arg1 string, arg2 interface{}) error

GetEntity mocks base method

func (*MockStore) ListEntities

func (m *MockStore) ListEntities(arg0 string, arg1 url.Values, arg2 interface{}) error

ListEntities mocks base method

func (*MockStore) UpdateEntity

func (m *MockStore) UpdateEntity(arg0, arg1 string, arg2, arg3 interface{}) error

UpdateEntity mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Close

func (mr *MockStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockStoreMockRecorder) CreateEntity

func (mr *MockStoreMockRecorder) CreateEntity(arg0, arg1, arg2 interface{}) *gomock.Call

CreateEntity indicates an expected call of CreateEntity

func (*MockStoreMockRecorder) DeleteEntity

func (mr *MockStoreMockRecorder) DeleteEntity(arg0, arg1 interface{}) *gomock.Call

DeleteEntity indicates an expected call of DeleteEntity

func (*MockStoreMockRecorder) GetEntity

func (mr *MockStoreMockRecorder) GetEntity(arg0, arg1, arg2 interface{}) *gomock.Call

GetEntity indicates an expected call of GetEntity

func (*MockStoreMockRecorder) ListEntities

func (mr *MockStoreMockRecorder) ListEntities(arg0, arg1, arg2 interface{}) *gomock.Call

ListEntities indicates an expected call of ListEntities

func (*MockStoreMockRecorder) UpdateEntity

func (mr *MockStoreMockRecorder) UpdateEntity(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateEntity indicates an expected call of UpdateEntity

Jump to

Keyboard shortcuts

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