mock_svc

package
v0.0.0-...-04d676d Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_svc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCfgStorer

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

MockCfgStorer is a mock of CfgStorer interface

func NewMockCfgStorer

func NewMockCfgStorer(ctrl *gomock.Controller) *MockCfgStorer

NewMockCfgStorer creates a new mock instance

func (*MockCfgStorer) DevIsRegistered

func (m *MockCfgStorer) DevIsRegistered(arg0 *dev.Meta) (bool, error)

IsRegistered mocks base method

func (*MockCfgStorer) EXPECT

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

func (*MockCfgStorer) GetDevCfg

func (m *MockCfgStorer) GetDevCfg(arg0 string) (*dev.Cfg, error)

GetCfg mocks base method

func (*MockCfgStorer) GetDevDefaultCfg

func (m *MockCfgStorer) GetDevDefaultCfg(arg0 *dev.Meta) (*dev.Cfg, error)

GetDefaultCfg mocks base method

func (*MockCfgStorer) SetDevCfg

func (m *MockCfgStorer) SetDevCfg(arg0 string, arg1 *dev.Cfg) error

SetCfg mocks base method

func (*MockCfgStorer) SetDevMeta

func (m *MockCfgStorer) SetDevMeta(arg0 *dev.Meta) error

SetMeta mocks base method

type MockCfgStorerMockRecorder

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

MockCfgStorerMockRecorder is the mock recorder for MockCfgStorer

func (*MockCfgStorerMockRecorder) DevIsRegistered

func (mr *MockCfgStorerMockRecorder) DevIsRegistered(arg0 interface{}) *gomock.Call

IsRegistered indicates an expected call of IsRegistered

func (*MockCfgStorerMockRecorder) GetDevCfg

func (mr *MockCfgStorerMockRecorder) GetDevCfg(arg0 interface{}) *gomock.Call

GetCfg indicates an expected call of GetCfg

func (*MockCfgStorerMockRecorder) GetDevDefaultCfg

func (mr *MockCfgStorerMockRecorder) GetDevDefaultCfg(arg0 interface{}) *gomock.Call

GetDefaultCfg indicates an expected call of GetDefaultCfg

func (*MockCfgStorerMockRecorder) SetDevCfg

func (mr *MockCfgStorerMockRecorder) SetDevCfg(arg0, arg1 interface{}) *gomock.Call

SetCfg indicates an expected call of SetCfg

func (*MockCfgStorerMockRecorder) SetDevMeta

func (mr *MockCfgStorerMockRecorder) SetDevMeta(arg0 interface{}) *gomock.Call

SetMeta indicates an expected call of SetMeta

type MockDataStorer

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

MockDataStorer is a mock of DataStorer interface

func NewMockDataStorer

func NewMockDataStorer(ctrl *gomock.Controller) *MockDataStorer

NewMockDataStorer creates a new mock instance

func (*MockDataStorer) EXPECT

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

func (*MockDataStorer) GetDevData

func (m *MockDataStorer) GetDevData(arg0 string) (*dev.Data, error)

GetDevData mocks base method

func (*MockDataStorer) GetDevsData

func (m *MockDataStorer) GetDevsData() ([]dev.Data, error)

GetDevsData mocks base method

func (*MockDataStorer) SaveDevData

func (m *MockDataStorer) SaveDevData(arg0 *dev.Data) error

SaveDevData mocks base method

type MockDataStorerMockRecorder

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

MockDataStorerMockRecorder is the mock recorder for MockDataStorer

func (*MockDataStorerMockRecorder) GetDevData

func (mr *MockDataStorerMockRecorder) GetDevData(arg0 interface{}) *gomock.Call

GetDevData indicates an expected call of GetDevData

func (*MockDataStorerMockRecorder) GetDevsData

func (mr *MockDataStorerMockRecorder) GetDevsData() *gomock.Call

GetDevsData indicates an expected call of GetDevsData

func (*MockDataStorerMockRecorder) SaveDevData

func (mr *MockDataStorerMockRecorder) SaveDevData(arg0 interface{}) *gomock.Call

SaveDevData indicates an expected call of SaveDevData

type MockPublisher

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

MockPublisher is a mock of Publisher interface

func NewMockPublisher

func NewMockPublisher(ctrl *gomock.Controller) *MockPublisher

NewMockPublisher creates a new mock instance

func (*MockPublisher) EXPECT

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

func (*MockPublisher) Publish

func (m *MockPublisher) Publish(arg0, arg1 string) error

Publish mocks base method

type MockPublisherMockRecorder

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

MockPublisherMockRecorder is the mock recorder for MockPublisher

func (*MockPublisherMockRecorder) Publish

func (mr *MockPublisherMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call

Publish indicates an expected call of Publish

Jump to

Keyboard shortcuts

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