mocks

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockConfiguration

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

MockConfiguration is a mock of Configuration interface.

func NewMockConfiguration

func NewMockConfiguration(ctrl *gomock.Controller) *MockConfiguration

NewMockConfiguration creates a new mock instance.

func (*MockConfiguration) EXPECT

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

func (*MockConfiguration) Stop

func (m *MockConfiguration) Stop()

Stop mocks base method.

func (*MockConfiguration) Watch

func (m *MockConfiguration) Watch()

Watch mocks base method.

type MockConfigurationMockRecorder

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

MockConfigurationMockRecorder is the mock recorder for MockConfiguration.

func (*MockConfigurationMockRecorder) Stop

Stop indicates an expected call of Stop.

func (*MockConfigurationMockRecorder) Watch

Watch indicates an expected call of Watch.

type MockStreamFactory

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

MockStreamFactory is a mock of StreamFactory interface.

func NewMockStreamFactory

func NewMockStreamFactory(ctrl *gomock.Controller) *MockStreamFactory

NewMockStreamFactory creates a new mock instance.

func (*MockStreamFactory) EXPECT

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

func (*MockStreamFactory) New

func (m *MockStreamFactory) New(arg0 *v1.Stream) (types.Stream, error)

New mocks base method.

type MockStreamFactoryMockRecorder

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

MockStreamFactoryMockRecorder is the mock recorder for MockStreamFactory.

func (*MockStreamFactoryMockRecorder) New

func (mr *MockStreamFactoryMockRecorder) New(arg0 interface{}) *gomock.Call

New indicates an expected call of New.

type MockStreamManager

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

MockStreamManager is a mock of StreamManager interface.

func NewMockStreamManager

func NewMockStreamManager(ctrl *gomock.Controller) *MockStreamManager

NewMockStreamManager creates a new mock instance.

func (*MockStreamManager) AddStream

func (m *MockStreamManager) AddStream(strm *v1.Stream) error

AddStream mocks base method.

func (*MockStreamManager) EXPECT

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

func (*MockStreamManager) GetStreams

func (m *MockStreamManager) GetStreams() []*v1.Stream

GetStreams mocks base method.

func (*MockStreamManager) RemoveStream

func (m *MockStreamManager) RemoveStream(arg0 context.Context, arg1 *v1.Stream) error

RemoveStream mocks base method.

func (*MockStreamManager) Run

func (m *MockStreamManager) Run()

Run mocks base method.

func (*MockStreamManager) SetStreams

func (m *MockStreamManager) SetStreams(arg0 []*v10.Stream)

SetStreams mocks base method.

func (*MockStreamManager) Stop

func (m *MockStreamManager) Stop(arg0 context.Context) error

Stop mocks base method.

type MockStreamManagerMockRecorder

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

MockStreamManagerMockRecorder is the mock recorder for MockStreamManager.

func (*MockStreamManagerMockRecorder) AddStream

func (mr *MockStreamManagerMockRecorder) AddStream(strm interface{}) *gomock.Call

AddStream indicates an expected call of AddStream.

func (*MockStreamManagerMockRecorder) GetStreams

func (mr *MockStreamManagerMockRecorder) GetStreams() *gomock.Call

GetStreams indicates an expected call of GetStreams.

func (*MockStreamManagerMockRecorder) RemoveStream

func (mr *MockStreamManagerMockRecorder) RemoveStream(arg0, arg1 interface{}) *gomock.Call

RemoveStream indicates an expected call of RemoveStream.

func (*MockStreamManagerMockRecorder) Run

Run indicates an expected call of Run.

func (*MockStreamManagerMockRecorder) SetStreams

func (mr *MockStreamManagerMockRecorder) SetStreams(arg0 interface{}) *gomock.Call

SetStreams indicates an expected call of SetStreams.

func (*MockStreamManagerMockRecorder) Stop

func (mr *MockStreamManagerMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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