Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockThing
- func (m *MockThing) EXPECT() *MockThingMockRecorder
- func (m *MockThing) GetAttribute(id string) interface{}
- func (m *MockThing) GetAttributes() map[string]interface{}
- func (m *MockThing) GetDefinition() model.DefinitionID
- func (m *MockThing) GetFeature(id string) model.Feature
- func (m *MockThing) GetFeatures() map[string]model.Feature
- func (m *MockThing) GetID() model.NamespacedID
- func (m *MockThing) GetLastModified() string
- func (m *MockThing) GetNamespace() string
- func (m *MockThing) GetPolicy() model.NamespacedID
- func (m *MockThing) GetRevision() int64
- func (m *MockThing) RemoveAttribute(id string) error
- func (m *MockThing) RemoveAttributes() error
- func (m *MockThing) RemoveDefinition() error
- func (m *MockThing) RemoveFeature(id string) error
- func (m *MockThing) RemoveFeatureDefinition(featureId string) error
- func (m *MockThing) RemoveFeatureProperties(featureId string) error
- func (m *MockThing) RemoveFeatureProperty(featureId, propertyId string) error
- func (m *MockThing) RemoveFeatures() error
- func (m *MockThing) SendFeatureMessage(featureId, action string, value interface{}) error
- func (m *MockThing) SendMessage(action string, value interface{}) error
- func (m *MockThing) SetAttribute(id string, value interface{}) error
- func (m *MockThing) SetAttributes(attributes map[string]interface{}) error
- func (m *MockThing) SetDefinition(DefinitionID model.DefinitionID) error
- func (m *MockThing) SetFeature(id string, feature model.Feature) error
- func (m *MockThing) SetFeatureDefinition(featureId string, DefinitionID []model.DefinitionID) error
- func (m *MockThing) SetFeatureProperties(featureId string, properties map[string]interface{}) error
- func (m *MockThing) SetFeatureProperty(featureId, propertyId string, value interface{}) error
- func (m *MockThing) SetFeatures(features map[string]model.Feature) error
- type MockThingMockRecorder
- func (mr *MockThingMockRecorder) GetAttribute(id interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) GetAttributes() *gomock.Call
- func (mr *MockThingMockRecorder) GetDefinition() *gomock.Call
- func (mr *MockThingMockRecorder) GetFeature(id interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) GetFeatures() *gomock.Call
- func (mr *MockThingMockRecorder) GetID() *gomock.Call
- func (mr *MockThingMockRecorder) GetLastModified() *gomock.Call
- func (mr *MockThingMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockThingMockRecorder) GetPolicy() *gomock.Call
- func (mr *MockThingMockRecorder) GetRevision() *gomock.Call
- func (mr *MockThingMockRecorder) RemoveAttribute(id interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) RemoveAttributes() *gomock.Call
- func (mr *MockThingMockRecorder) RemoveDefinition() *gomock.Call
- func (mr *MockThingMockRecorder) RemoveFeature(id interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) RemoveFeatureDefinition(featureId interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) RemoveFeatureProperties(featureId interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) RemoveFeatureProperty(featureId, propertyId interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) RemoveFeatures() *gomock.Call
- func (mr *MockThingMockRecorder) SendFeatureMessage(featureId, action, value interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SendMessage(action, value interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetAttribute(id, value interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetAttributes(attributes interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetDefinition(DefinitionID interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetFeature(id, feature interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetFeatureDefinition(featureId, DefinitionID interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetFeatureProperties(featureId, properties interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetFeatureProperty(featureId, propertyId, value interface{}) *gomock.Call
- func (mr *MockThingMockRecorder) SetFeatures(features interface{}) *gomock.Call
- type MockcontainerStorage
- func (m *MockcontainerStorage) DeleteContainerInfo(ctrId string)
- func (m *MockcontainerStorage) EXPECT() *MockcontainerStorageMockRecorder
- func (m *MockcontainerStorage) Restore() (map[string]string, error)
- func (m *MockcontainerStorage) StoreContainerInfo(ctrId string)
- func (m *MockcontainerStorage) UpdateContainersInfo(ctrFeaturesInfo map[string]string)
- type MockcontainerStorageMockRecorder
- func (mr *MockcontainerStorageMockRecorder) DeleteContainerInfo(ctrId interface{}) *gomock.Call
- func (mr *MockcontainerStorageMockRecorder) Restore() *gomock.Call
- func (mr *MockcontainerStorageMockRecorder) StoreContainerInfo(ctrId interface{}) *gomock.Call
- func (mr *MockcontainerStorageMockRecorder) UpdateContainersInfo(ctrFeaturesInfo interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockThing ¶
type MockThing struct {
// contains filtered or unexported fields
}
MockThing is a mock of Thing interface
func NewMockThing ¶
func NewMockThing(ctrl *gomock.Controller) *MockThing
NewMockThing creates a new mock instance
func (*MockThing) EXPECT ¶
func (m *MockThing) EXPECT() *MockThingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockThing) GetAttribute ¶
GetAttribute mocks base method
func (*MockThing) GetAttributes ¶
GetAttributes mocks base method
func (*MockThing) GetDefinition ¶
func (m *MockThing) GetDefinition() model.DefinitionID
GetDefinition mocks base method
func (*MockThing) GetFeature ¶
GetFeature mocks base method
func (*MockThing) GetFeatures ¶
GetFeatures mocks base method
func (*MockThing) GetLastModified ¶
GetLastModified mocks base method
func (*MockThing) GetNamespace ¶
GetNamespace mocks base method
func (*MockThing) GetPolicy ¶
func (m *MockThing) GetPolicy() model.NamespacedID
GetPolicy mocks base method
func (*MockThing) GetRevision ¶
GetRevision mocks base method
func (*MockThing) RemoveAttribute ¶
RemoveAttribute mocks base method
func (*MockThing) RemoveAttributes ¶
RemoveAttributes mocks base method
func (*MockThing) RemoveDefinition ¶
RemoveDefinition mocks base method
func (*MockThing) RemoveFeature ¶
RemoveFeature mocks base method
func (*MockThing) RemoveFeatureDefinition ¶
RemoveFeatureDefinition mocks base method
func (*MockThing) RemoveFeatureProperties ¶
RemoveFeatureProperties mocks base method
func (*MockThing) RemoveFeatureProperty ¶
RemoveFeatureProperty mocks base method
func (*MockThing) RemoveFeatures ¶
RemoveFeatures mocks base method
func (*MockThing) SendFeatureMessage ¶
SendFeatureMessage mocks base method
func (*MockThing) SendMessage ¶
SendMessage mocks base method
func (*MockThing) SetAttribute ¶
SetAttribute mocks base method
func (*MockThing) SetAttributes ¶
SetAttributes mocks base method
func (*MockThing) SetDefinition ¶
func (m *MockThing) SetDefinition(DefinitionID model.DefinitionID) error
SetDefinition mocks base method
func (*MockThing) SetFeature ¶
SetFeature mocks base method
func (*MockThing) SetFeatureDefinition ¶
func (m *MockThing) SetFeatureDefinition(featureId string, DefinitionID []model.DefinitionID) error
SetFeatureDefinition mocks base method
func (*MockThing) SetFeatureProperties ¶
SetFeatureProperties mocks base method
func (*MockThing) SetFeatureProperty ¶
SetFeatureProperty mocks base method
type MockThingMockRecorder ¶
type MockThingMockRecorder struct {
// contains filtered or unexported fields
}
MockThingMockRecorder is the mock recorder for MockThing
func (*MockThingMockRecorder) GetAttribute ¶
func (mr *MockThingMockRecorder) GetAttribute(id interface{}) *gomock.Call
GetAttribute indicates an expected call of GetAttribute
func (*MockThingMockRecorder) GetAttributes ¶
func (mr *MockThingMockRecorder) GetAttributes() *gomock.Call
GetAttributes indicates an expected call of GetAttributes
func (*MockThingMockRecorder) GetDefinition ¶
func (mr *MockThingMockRecorder) GetDefinition() *gomock.Call
GetDefinition indicates an expected call of GetDefinition
func (*MockThingMockRecorder) GetFeature ¶
func (mr *MockThingMockRecorder) GetFeature(id interface{}) *gomock.Call
GetFeature indicates an expected call of GetFeature
func (*MockThingMockRecorder) GetFeatures ¶
func (mr *MockThingMockRecorder) GetFeatures() *gomock.Call
GetFeatures indicates an expected call of GetFeatures
func (*MockThingMockRecorder) GetID ¶
func (mr *MockThingMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID
func (*MockThingMockRecorder) GetLastModified ¶
func (mr *MockThingMockRecorder) GetLastModified() *gomock.Call
GetLastModified indicates an expected call of GetLastModified
func (*MockThingMockRecorder) GetNamespace ¶
func (mr *MockThingMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace
func (*MockThingMockRecorder) GetPolicy ¶
func (mr *MockThingMockRecorder) GetPolicy() *gomock.Call
GetPolicy indicates an expected call of GetPolicy
func (*MockThingMockRecorder) GetRevision ¶
func (mr *MockThingMockRecorder) GetRevision() *gomock.Call
GetRevision indicates an expected call of GetRevision
func (*MockThingMockRecorder) RemoveAttribute ¶
func (mr *MockThingMockRecorder) RemoveAttribute(id interface{}) *gomock.Call
RemoveAttribute indicates an expected call of RemoveAttribute
func (*MockThingMockRecorder) RemoveAttributes ¶
func (mr *MockThingMockRecorder) RemoveAttributes() *gomock.Call
RemoveAttributes indicates an expected call of RemoveAttributes
func (*MockThingMockRecorder) RemoveDefinition ¶
func (mr *MockThingMockRecorder) RemoveDefinition() *gomock.Call
RemoveDefinition indicates an expected call of RemoveDefinition
func (*MockThingMockRecorder) RemoveFeature ¶
func (mr *MockThingMockRecorder) RemoveFeature(id interface{}) *gomock.Call
RemoveFeature indicates an expected call of RemoveFeature
func (*MockThingMockRecorder) RemoveFeatureDefinition ¶
func (mr *MockThingMockRecorder) RemoveFeatureDefinition(featureId interface{}) *gomock.Call
RemoveFeatureDefinition indicates an expected call of RemoveFeatureDefinition
func (*MockThingMockRecorder) RemoveFeatureProperties ¶
func (mr *MockThingMockRecorder) RemoveFeatureProperties(featureId interface{}) *gomock.Call
RemoveFeatureProperties indicates an expected call of RemoveFeatureProperties
func (*MockThingMockRecorder) RemoveFeatureProperty ¶
func (mr *MockThingMockRecorder) RemoveFeatureProperty(featureId, propertyId interface{}) *gomock.Call
RemoveFeatureProperty indicates an expected call of RemoveFeatureProperty
func (*MockThingMockRecorder) RemoveFeatures ¶
func (mr *MockThingMockRecorder) RemoveFeatures() *gomock.Call
RemoveFeatures indicates an expected call of RemoveFeatures
func (*MockThingMockRecorder) SendFeatureMessage ¶
func (mr *MockThingMockRecorder) SendFeatureMessage(featureId, action, value interface{}) *gomock.Call
SendFeatureMessage indicates an expected call of SendFeatureMessage
func (*MockThingMockRecorder) SendMessage ¶
func (mr *MockThingMockRecorder) SendMessage(action, value interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage
func (*MockThingMockRecorder) SetAttribute ¶
func (mr *MockThingMockRecorder) SetAttribute(id, value interface{}) *gomock.Call
SetAttribute indicates an expected call of SetAttribute
func (*MockThingMockRecorder) SetAttributes ¶
func (mr *MockThingMockRecorder) SetAttributes(attributes interface{}) *gomock.Call
SetAttributes indicates an expected call of SetAttributes
func (*MockThingMockRecorder) SetDefinition ¶
func (mr *MockThingMockRecorder) SetDefinition(DefinitionID interface{}) *gomock.Call
SetDefinition indicates an expected call of SetDefinition
func (*MockThingMockRecorder) SetFeature ¶
func (mr *MockThingMockRecorder) SetFeature(id, feature interface{}) *gomock.Call
SetFeature indicates an expected call of SetFeature
func (*MockThingMockRecorder) SetFeatureDefinition ¶
func (mr *MockThingMockRecorder) SetFeatureDefinition(featureId, DefinitionID interface{}) *gomock.Call
SetFeatureDefinition indicates an expected call of SetFeatureDefinition
func (*MockThingMockRecorder) SetFeatureProperties ¶
func (mr *MockThingMockRecorder) SetFeatureProperties(featureId, properties interface{}) *gomock.Call
SetFeatureProperties indicates an expected call of SetFeatureProperties
func (*MockThingMockRecorder) SetFeatureProperty ¶
func (mr *MockThingMockRecorder) SetFeatureProperty(featureId, propertyId, value interface{}) *gomock.Call
SetFeatureProperty indicates an expected call of SetFeatureProperty
func (*MockThingMockRecorder) SetFeatures ¶
func (mr *MockThingMockRecorder) SetFeatures(features interface{}) *gomock.Call
SetFeatures indicates an expected call of SetFeatures
type MockcontainerStorage ¶
type MockcontainerStorage struct {
// contains filtered or unexported fields
}
MockcontainerStorage is a mock of containerStorage interface
func NewMockcontainerStorage ¶
func NewMockcontainerStorage(ctrl *gomock.Controller) *MockcontainerStorage
NewMockcontainerStorage creates a new mock instance
func (*MockcontainerStorage) DeleteContainerInfo ¶
func (m *MockcontainerStorage) DeleteContainerInfo(ctrId string)
DeleteContainerInfo mocks base method
func (*MockcontainerStorage) EXPECT ¶
func (m *MockcontainerStorage) EXPECT() *MockcontainerStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockcontainerStorage) Restore ¶
func (m *MockcontainerStorage) Restore() (map[string]string, error)
Restore mocks base method
func (*MockcontainerStorage) StoreContainerInfo ¶
func (m *MockcontainerStorage) StoreContainerInfo(ctrId string)
StoreContainerInfo mocks base method
func (*MockcontainerStorage) UpdateContainersInfo ¶
func (m *MockcontainerStorage) UpdateContainersInfo(ctrFeaturesInfo map[string]string)
UpdateContainersInfo mocks base method
type MockcontainerStorageMockRecorder ¶
type MockcontainerStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockcontainerStorageMockRecorder is the mock recorder for MockcontainerStorage
func (*MockcontainerStorageMockRecorder) DeleteContainerInfo ¶
func (mr *MockcontainerStorageMockRecorder) DeleteContainerInfo(ctrId interface{}) *gomock.Call
DeleteContainerInfo indicates an expected call of DeleteContainerInfo
func (*MockcontainerStorageMockRecorder) Restore ¶
func (mr *MockcontainerStorageMockRecorder) Restore() *gomock.Call
Restore indicates an expected call of Restore
func (*MockcontainerStorageMockRecorder) StoreContainerInfo ¶
func (mr *MockcontainerStorageMockRecorder) StoreContainerInfo(ctrId interface{}) *gomock.Call
StoreContainerInfo indicates an expected call of StoreContainerInfo
func (*MockcontainerStorageMockRecorder) UpdateContainersInfo ¶
func (mr *MockcontainerStorageMockRecorder) UpdateContainersInfo(ctrFeaturesInfo interface{}) *gomock.Call
UpdateContainersInfo indicates an expected call of UpdateContainersInfo