test

package
v0.10.27 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package test is a generated GoMock package.

Package test is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockModelPlugin added in v0.10.16

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

MockModelPlugin is a mock of ModelPlugin interface.

func NewMockModelPlugin added in v0.10.16

func NewMockModelPlugin(ctrl *gomock.Controller) *MockModelPlugin

NewMockModelPlugin creates a new mock instance.

func (*MockModelPlugin) Capabilities added in v0.10.16

func (m *MockModelPlugin) Capabilities(ctx context.Context) *gnmi.CapabilityResponse

Capabilities mocks base method.

func (*MockModelPlugin) EXPECT added in v0.10.16

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

func (*MockModelPlugin) GetInfo added in v0.10.16

GetInfo mocks base method.

func (*MockModelPlugin) GetPathValues added in v0.10.16

func (m *MockModelPlugin) GetPathValues(ctx context.Context, pathPrefix string, jsonData []byte) ([]*v2.PathValue, error)

GetPathValues mocks base method.

func (*MockModelPlugin) Validate added in v0.10.16

func (m *MockModelPlugin) Validate(ctx context.Context, jsonData []byte) error

Validate mocks base method.

type MockModelPluginMockRecorder added in v0.10.16

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

MockModelPluginMockRecorder is the mock recorder for MockModelPlugin.

func (*MockModelPluginMockRecorder) Capabilities added in v0.10.16

func (mr *MockModelPluginMockRecorder) Capabilities(ctx interface{}) *gomock.Call

Capabilities indicates an expected call of Capabilities.

func (*MockModelPluginMockRecorder) GetInfo added in v0.10.16

func (mr *MockModelPluginMockRecorder) GetInfo() *gomock.Call

GetInfo indicates an expected call of GetInfo.

func (*MockModelPluginMockRecorder) GetPathValues added in v0.10.16

func (mr *MockModelPluginMockRecorder) GetPathValues(ctx, pathPrefix, jsonData interface{}) *gomock.Call

GetPathValues indicates an expected call of GetPathValues.

func (*MockModelPluginMockRecorder) Validate added in v0.10.16

func (mr *MockModelPluginMockRecorder) Validate(ctx, jsonData interface{}) *gomock.Call

Validate indicates an expected call of Validate.

type MockPluginRegistry

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

MockPluginRegistry is a mock of PluginRegistry interface.

func NewMockPluginRegistry

func NewMockPluginRegistry(ctrl *gomock.Controller) *MockPluginRegistry

NewMockPluginRegistry creates a new mock instance.

func (*MockPluginRegistry) EXPECT

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

func (*MockPluginRegistry) GetPlugin

GetPlugin mocks base method.

func (*MockPluginRegistry) GetPlugins

func (m *MockPluginRegistry) GetPlugins() []pluginregistry.ModelPlugin

GetPlugins mocks base method.

func (*MockPluginRegistry) Start

func (m *MockPluginRegistry) Start()

Start mocks base method.

func (*MockPluginRegistry) Stop

func (m *MockPluginRegistry) Stop()

Stop mocks base method.

type MockPluginRegistryMockRecorder

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

MockPluginRegistryMockRecorder is the mock recorder for MockPluginRegistry.

func (*MockPluginRegistryMockRecorder) GetPlugin

func (mr *MockPluginRegistryMockRecorder) GetPlugin(model, version interface{}) *gomock.Call

GetPlugin indicates an expected call of GetPlugin.

func (*MockPluginRegistryMockRecorder) GetPlugins

func (mr *MockPluginRegistryMockRecorder) GetPlugins() *gomock.Call

GetPlugins indicates an expected call of GetPlugins.

func (*MockPluginRegistryMockRecorder) Start

Start indicates an expected call of Start.

func (*MockPluginRegistryMockRecorder) Stop

Stop indicates an expected call of Stop.

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

func (m *MockStore) Create(ctx context.Context, object *topo.Object) error

Create mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(ctx context.Context, object *topo.Object) error

Delete 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) Get

func (m *MockStore) Get(ctx context.Context, id topo.ID) (*topo.Object, error)

Get mocks base method.

func (*MockStore) List

func (m *MockStore) List(ctx context.Context, filters *topo.Filters) ([]topo.Object, error)

List mocks base method.

func (*MockStore) Update

func (m *MockStore) Update(ctx context.Context, object *topo.Object) error

Update mocks base method.

func (*MockStore) Watch

func (m *MockStore) Watch(ctx context.Context, ch chan<- topo.Event, filters *topo.Filters) error

Watch mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Create

func (mr *MockStoreMockRecorder) Create(ctx, object interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockStoreMockRecorder) Delete

func (mr *MockStoreMockRecorder) Delete(ctx, object interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(ctx, id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) List

func (mr *MockStoreMockRecorder) List(ctx, filters interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockStoreMockRecorder) Update

func (mr *MockStoreMockRecorder) Update(ctx, object interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockStoreMockRecorder) Watch

func (mr *MockStoreMockRecorder) Watch(ctx, ch, filters interface{}) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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