mocks

package
v0.0.0-...-1d8dca5 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 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

func (m *MockThing) GetAttribute(id string) interface{}

GetAttribute mocks base method

func (*MockThing) GetAttributes

func (m *MockThing) GetAttributes() map[string]interface{}

GetAttributes mocks base method

func (*MockThing) GetDefinition

func (m *MockThing) GetDefinition() model.DefinitionID

GetDefinition mocks base method

func (*MockThing) GetFeature

func (m *MockThing) GetFeature(id string) model.Feature

GetFeature mocks base method

func (*MockThing) GetFeatures

func (m *MockThing) GetFeatures() map[string]model.Feature

GetFeatures mocks base method

func (*MockThing) GetID

func (m *MockThing) GetID() model.NamespacedID

GetID mocks base method

func (*MockThing) GetLastModified

func (m *MockThing) GetLastModified() string

GetLastModified mocks base method

func (*MockThing) GetNamespace

func (m *MockThing) GetNamespace() string

GetNamespace mocks base method

func (*MockThing) GetPolicy

func (m *MockThing) GetPolicy() model.NamespacedID

GetPolicy mocks base method

func (*MockThing) GetRevision

func (m *MockThing) GetRevision() int64

GetRevision mocks base method

func (*MockThing) RemoveAttribute

func (m *MockThing) RemoveAttribute(id string) error

RemoveAttribute mocks base method

func (*MockThing) RemoveAttributes

func (m *MockThing) RemoveAttributes() error

RemoveAttributes mocks base method

func (*MockThing) RemoveDefinition

func (m *MockThing) RemoveDefinition() error

RemoveDefinition mocks base method

func (*MockThing) RemoveFeature

func (m *MockThing) RemoveFeature(id string) error

RemoveFeature mocks base method

func (*MockThing) RemoveFeatureDefinition

func (m *MockThing) RemoveFeatureDefinition(featureId string) error

RemoveFeatureDefinition mocks base method

func (*MockThing) RemoveFeatureProperties

func (m *MockThing) RemoveFeatureProperties(featureId string) error

RemoveFeatureProperties mocks base method

func (*MockThing) RemoveFeatureProperty

func (m *MockThing) RemoveFeatureProperty(featureId, propertyId string) error

RemoveFeatureProperty mocks base method

func (*MockThing) RemoveFeatures

func (m *MockThing) RemoveFeatures() error

RemoveFeatures mocks base method

func (*MockThing) SendFeatureMessage

func (m *MockThing) SendFeatureMessage(featureId, action string, value interface{}) error

SendFeatureMessage mocks base method

func (*MockThing) SendMessage

func (m *MockThing) SendMessage(action string, value interface{}) error

SendMessage mocks base method

func (*MockThing) SetAttribute

func (m *MockThing) SetAttribute(id string, value interface{}) error

SetAttribute mocks base method

func (*MockThing) SetAttributes

func (m *MockThing) SetAttributes(attributes map[string]interface{}) error

SetAttributes mocks base method

func (*MockThing) SetDefinition

func (m *MockThing) SetDefinition(DefinitionID model.DefinitionID) error

SetDefinition mocks base method

func (*MockThing) SetFeature

func (m *MockThing) SetFeature(id string, feature model.Feature) error

SetFeature mocks base method

func (*MockThing) SetFeatureDefinition

func (m *MockThing) SetFeatureDefinition(featureId string, DefinitionID []model.DefinitionID) error

SetFeatureDefinition mocks base method

func (*MockThing) SetFeatureProperties

func (m *MockThing) SetFeatureProperties(featureId string, properties map[string]interface{}) error

SetFeatureProperties mocks base method

func (*MockThing) SetFeatureProperty

func (m *MockThing) SetFeatureProperty(featureId, propertyId string, value interface{}) error

SetFeatureProperty mocks base method

func (*MockThing) SetFeatures

func (m *MockThing) SetFeatures(features map[string]model.Feature) error

SetFeatures 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

Jump to

Keyboard shortcuts

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