mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockCluster

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

MockCluster is a mock of Cluster interface.

func NewMockCluster

func NewMockCluster(ctrl *gomock.Controller) *MockCluster

NewMockCluster creates a new mock instance.

func (*MockCluster) EXPECT

func (m *MockCluster) EXPECT() *MockClusterMockRecorder

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

func (*MockCluster) NewMutex

func (m *MockCluster) NewMutex(arg0 string) (pluginapi.ClusterMutex, error)

NewMutex mocks base method.

type MockClusterMockRecorder

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

MockClusterMockRecorder is the mock recorder for MockCluster.

func (*MockClusterMockRecorder) NewMutex

func (mr *MockClusterMockRecorder) NewMutex(arg0 interface{}) *gomock.Call

NewMutex indicates an expected call of NewMutex.

type MockClusterMutex

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

MockClusterMutex is a mock of ClusterMutex interface.

func NewMockClusterMutex

func NewMockClusterMutex(ctrl *gomock.Controller) *MockClusterMutex

NewMockClusterMutex creates a new mock instance.

func (*MockClusterMutex) EXPECT

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

func (*MockClusterMutex) LockWithContext

func (m *MockClusterMutex) LockWithContext(arg0 context.Context) error

LockWithContext mocks base method.

func (*MockClusterMutex) Unlock

func (m *MockClusterMutex) Unlock()

Unlock mocks base method.

type MockClusterMutexMockRecorder

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

MockClusterMutexMockRecorder is the mock recorder for MockClusterMutex.

func (*MockClusterMutexMockRecorder) LockWithContext

func (mr *MockClusterMutexMockRecorder) LockWithContext(arg0 interface{}) *gomock.Call

LockWithContext indicates an expected call of LockWithContext.

func (*MockClusterMutexMockRecorder) Unlock

Unlock indicates an expected call of Unlock.

type MockTracker

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

MockTracker is a mock of Tracker interface.

func NewMockTracker

func NewMockTracker(ctrl *gomock.Controller) *MockTracker

NewMockTracker creates a new mock instance.

func (*MockTracker) EXPECT

func (m *MockTracker) EXPECT() *MockTrackerMockRecorder

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

func (*MockTracker) ReloadConfig

func (m *MockTracker) ReloadConfig(arg0 telemetry.TrackerConfig)

ReloadConfig mocks base method.

func (*MockTracker) TrackEvent

func (m *MockTracker) TrackEvent(arg0 string, arg1 map[string]interface{}) error

TrackEvent mocks base method.

func (*MockTracker) TrackUserEvent

func (m *MockTracker) TrackUserEvent(arg0, arg1 string, arg2 map[string]interface{}) error

TrackUserEvent mocks base method.

type MockTrackerMockRecorder

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

MockTrackerMockRecorder is the mock recorder for MockTracker.

func (*MockTrackerMockRecorder) ReloadConfig

func (mr *MockTrackerMockRecorder) ReloadConfig(arg0 interface{}) *gomock.Call

ReloadConfig indicates an expected call of ReloadConfig.

func (*MockTrackerMockRecorder) TrackEvent

func (mr *MockTrackerMockRecorder) TrackEvent(arg0, arg1 interface{}) *gomock.Call

TrackEvent indicates an expected call of TrackEvent.

func (*MockTrackerMockRecorder) TrackUserEvent

func (mr *MockTrackerMockRecorder) TrackUserEvent(arg0, arg1, arg2 interface{}) *gomock.Call

TrackUserEvent indicates an expected call of TrackUserEvent.

Jump to

Keyboard shortcuts

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