mock_casm

package
v0.0.0-...-055f8da Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_casm is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBootstrapper

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

MockBootstrapper is a mock of Bootstrapper interface.

func NewMockBootstrapper

func NewMockBootstrapper(ctrl *gomock.Controller) *MockBootstrapper

NewMockBootstrapper creates a new mock instance.

func (*MockBootstrapper) Bootstrap

func (m *MockBootstrapper) Bootstrap() capnp.Client

Bootstrap mocks base method.

func (*MockBootstrapper) EXPECT

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

type MockBootstrapperMockRecorder

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

MockBootstrapperMockRecorder is the mock recorder for MockBootstrapper.

func (*MockBootstrapperMockRecorder) Bootstrap

func (mr *MockBootstrapperMockRecorder) Bootstrap() *gomock.Call

Bootstrap indicates an expected call of Bootstrap.

type MockCapability

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

MockCapability is a mock of Capability interface.

func NewMockCapability

func NewMockCapability(ctrl *gomock.Controller) *MockCapability

NewMockCapability creates a new mock instance.

func (*MockCapability) EXPECT

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

func (*MockCapability) Protocols

func (m *MockCapability) Protocols() []protocol.ID

Protocols mocks base method.

func (*MockCapability) Upgrade

func (m *MockCapability) Upgrade(arg0 casm.Stream) rpc.Transport

Upgrade mocks base method.

type MockCapabilityMockRecorder

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

MockCapabilityMockRecorder is the mock recorder for MockCapability.

func (*MockCapabilityMockRecorder) Protocols

func (mr *MockCapabilityMockRecorder) Protocols() *gomock.Call

Protocols indicates an expected call of Protocols.

func (*MockCapabilityMockRecorder) Upgrade

func (mr *MockCapabilityMockRecorder) Upgrade(arg0 interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

type MockClientProvider

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

MockClientProvider is a mock of ClientProvider interface.

func NewMockClientProvider

func NewMockClientProvider(ctrl *gomock.Controller) *MockClientProvider

NewMockClientProvider creates a new mock instance.

func (*MockClientProvider) Client

func (m *MockClientProvider) Client() capnp.Client

Client mocks base method.

func (*MockClientProvider) EXPECT

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

type MockClientProviderMockRecorder

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

MockClientProviderMockRecorder is the mock recorder for MockClientProvider.

func (*MockClientProviderMockRecorder) Client

Client indicates an expected call of Client.

type MockMetricReporter

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

MockMetricReporter is a mock of MetricReporter interface.

func NewMockMetricReporter

func NewMockMetricReporter(ctrl *gomock.Controller) *MockMetricReporter

NewMockMetricReporter creates a new mock instance.

func (*MockMetricReporter) Decr

func (m *MockMetricReporter) Decr(key string)

Decr mocks base method.

func (*MockMetricReporter) EXPECT

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

func (*MockMetricReporter) Incr

func (m *MockMetricReporter) Incr(key string)

Incr mocks base method.

type MockMetricReporterMockRecorder

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

MockMetricReporterMockRecorder is the mock recorder for MockMetricReporter.

func (*MockMetricReporterMockRecorder) Decr

func (mr *MockMetricReporterMockRecorder) Decr(key interface{}) *gomock.Call

Decr indicates an expected call of Decr.

func (*MockMetricReporterMockRecorder) Incr

func (mr *MockMetricReporterMockRecorder) Incr(key interface{}) *gomock.Call

Incr indicates an expected call of Incr.

type MockStream

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

MockStream is a mock of Stream interface.

func NewMockStream

func NewMockStream(ctrl *gomock.Controller) *MockStream

NewMockStream creates a new mock instance.

func (*MockStream) Close

func (m *MockStream) Close() error

Close mocks base method.

func (*MockStream) EXPECT

func (m *MockStream) EXPECT() *MockStreamMockRecorder

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

func (*MockStream) Protocol

func (m *MockStream) Protocol() protocol.ID

Protocol mocks base method.

func (*MockStream) Read

func (m *MockStream) Read(arg0 []byte) (int, error)

Read mocks base method.

func (*MockStream) Write

func (m *MockStream) Write(arg0 []byte) (int, error)

Write mocks base method.

type MockStreamMockRecorder

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

MockStreamMockRecorder is the mock recorder for MockStream.

func (*MockStreamMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockStreamMockRecorder) Protocol

func (mr *MockStreamMockRecorder) Protocol() *gomock.Call

Protocol indicates an expected call of Protocol.

func (*MockStreamMockRecorder) Read

func (mr *MockStreamMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockStreamMockRecorder) Write

func (mr *MockStreamMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

Directories

Path Synopsis
Package mock_cluster is a generated GoMock package.
Package mock_cluster is a generated GoMock package.
pulse
Package mock_pulse is a generated GoMock package.
Package mock_pulse is a generated GoMock package.
routing
Package mock_routing is a generated GoMock package.
Package mock_routing is a generated GoMock package.
view
Package mock_view is a generated GoMock package.
Package mock_view is a generated GoMock package.
Package mock_socket is a generated GoMock package.
Package mock_socket is a generated GoMock package.

Jump to

Keyboard shortcuts

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