mocks

package
v2.0.173 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 7 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 MockManagerClient

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

MockManagerClient is a mock of ManagerClient interface.

func NewMockManagerClient

func NewMockManagerClient(ctrl *gomock.Controller) *MockManagerClient

NewMockManagerClient creates a new mock instance.

func (*MockManagerClient) EXPECT

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

func (*MockManagerClient) GetObjectStorage

GetObjectStorage mocks base method.

func (*MockManagerClient) GetScheduler

GetScheduler mocks base method.

func (*MockManagerClient) GetSeedPeer

GetSeedPeer mocks base method.

func (*MockManagerClient) KeepAlive

KeepAlive mocks base method.

func (*MockManagerClient) ListApplications

ListApplications mocks base method.

func (*MockManagerClient) ListBuckets

ListBuckets mocks base method.

func (*MockManagerClient) ListSchedulers

ListSchedulers mocks base method.

func (*MockManagerClient) ListSeedPeers added in v2.0.43

ListSeedPeers mocks base method.

func (*MockManagerClient) UpdateScheduler

UpdateScheduler mocks base method.

func (*MockManagerClient) UpdateSeedPeer

UpdateSeedPeer mocks base method.

type MockManagerClientMockRecorder

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

MockManagerClientMockRecorder is the mock recorder for MockManagerClient.

func (*MockManagerClientMockRecorder) GetObjectStorage

func (mr *MockManagerClientMockRecorder) GetObjectStorage(ctx, in any, opts ...any) *gomock.Call

GetObjectStorage indicates an expected call of GetObjectStorage.

func (*MockManagerClientMockRecorder) GetScheduler

func (mr *MockManagerClientMockRecorder) GetScheduler(ctx, in any, opts ...any) *gomock.Call

GetScheduler indicates an expected call of GetScheduler.

func (*MockManagerClientMockRecorder) GetSeedPeer

func (mr *MockManagerClientMockRecorder) GetSeedPeer(ctx, in any, opts ...any) *gomock.Call

GetSeedPeer indicates an expected call of GetSeedPeer.

func (*MockManagerClientMockRecorder) KeepAlive

func (mr *MockManagerClientMockRecorder) KeepAlive(ctx any, opts ...any) *gomock.Call

KeepAlive indicates an expected call of KeepAlive.

func (*MockManagerClientMockRecorder) ListApplications

func (mr *MockManagerClientMockRecorder) ListApplications(ctx, in any, opts ...any) *gomock.Call

ListApplications indicates an expected call of ListApplications.

func (*MockManagerClientMockRecorder) ListBuckets

func (mr *MockManagerClientMockRecorder) ListBuckets(ctx, in any, opts ...any) *gomock.Call

ListBuckets indicates an expected call of ListBuckets.

func (*MockManagerClientMockRecorder) ListSchedulers

func (mr *MockManagerClientMockRecorder) ListSchedulers(ctx, in any, opts ...any) *gomock.Call

ListSchedulers indicates an expected call of ListSchedulers.

func (*MockManagerClientMockRecorder) ListSeedPeers added in v2.0.43

func (mr *MockManagerClientMockRecorder) ListSeedPeers(ctx, in any, opts ...any) *gomock.Call

ListSeedPeers indicates an expected call of ListSeedPeers.

func (*MockManagerClientMockRecorder) UpdateScheduler

func (mr *MockManagerClientMockRecorder) UpdateScheduler(ctx, in any, opts ...any) *gomock.Call

UpdateScheduler indicates an expected call of UpdateScheduler.

func (*MockManagerClientMockRecorder) UpdateSeedPeer

func (mr *MockManagerClientMockRecorder) UpdateSeedPeer(ctx, in any, opts ...any) *gomock.Call

UpdateSeedPeer indicates an expected call of UpdateSeedPeer.

type MockManagerServer

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

MockManagerServer is a mock of ManagerServer interface.

func NewMockManagerServer

func NewMockManagerServer(ctrl *gomock.Controller) *MockManagerServer

NewMockManagerServer creates a new mock instance.

func (*MockManagerServer) EXPECT

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

func (*MockManagerServer) GetObjectStorage

GetObjectStorage mocks base method.

func (*MockManagerServer) GetScheduler

GetScheduler mocks base method.

func (*MockManagerServer) GetSeedPeer

GetSeedPeer mocks base method.

func (*MockManagerServer) KeepAlive

KeepAlive mocks base method.

func (*MockManagerServer) ListApplications

ListApplications mocks base method.

func (*MockManagerServer) ListBuckets

ListBuckets mocks base method.

func (*MockManagerServer) ListSchedulers

ListSchedulers mocks base method.

func (*MockManagerServer) ListSeedPeers added in v2.0.43

ListSeedPeers mocks base method.

func (*MockManagerServer) UpdateScheduler

UpdateScheduler mocks base method.

func (*MockManagerServer) UpdateSeedPeer

UpdateSeedPeer mocks base method.

type MockManagerServerMockRecorder

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

MockManagerServerMockRecorder is the mock recorder for MockManagerServer.

func (*MockManagerServerMockRecorder) GetObjectStorage

func (mr *MockManagerServerMockRecorder) GetObjectStorage(arg0, arg1 any) *gomock.Call

GetObjectStorage indicates an expected call of GetObjectStorage.

func (*MockManagerServerMockRecorder) GetScheduler

func (mr *MockManagerServerMockRecorder) GetScheduler(arg0, arg1 any) *gomock.Call

GetScheduler indicates an expected call of GetScheduler.

func (*MockManagerServerMockRecorder) GetSeedPeer

func (mr *MockManagerServerMockRecorder) GetSeedPeer(arg0, arg1 any) *gomock.Call

GetSeedPeer indicates an expected call of GetSeedPeer.

func (*MockManagerServerMockRecorder) KeepAlive

func (mr *MockManagerServerMockRecorder) KeepAlive(arg0 any) *gomock.Call

KeepAlive indicates an expected call of KeepAlive.

func (*MockManagerServerMockRecorder) ListApplications

func (mr *MockManagerServerMockRecorder) ListApplications(arg0, arg1 any) *gomock.Call

ListApplications indicates an expected call of ListApplications.

func (*MockManagerServerMockRecorder) ListBuckets

func (mr *MockManagerServerMockRecorder) ListBuckets(arg0, arg1 any) *gomock.Call

ListBuckets indicates an expected call of ListBuckets.

func (*MockManagerServerMockRecorder) ListSchedulers

func (mr *MockManagerServerMockRecorder) ListSchedulers(arg0, arg1 any) *gomock.Call

ListSchedulers indicates an expected call of ListSchedulers.

func (*MockManagerServerMockRecorder) ListSeedPeers added in v2.0.43

func (mr *MockManagerServerMockRecorder) ListSeedPeers(arg0, arg1 any) *gomock.Call

ListSeedPeers indicates an expected call of ListSeedPeers.

func (*MockManagerServerMockRecorder) UpdateScheduler

func (mr *MockManagerServerMockRecorder) UpdateScheduler(arg0, arg1 any) *gomock.Call

UpdateScheduler indicates an expected call of UpdateScheduler.

func (*MockManagerServerMockRecorder) UpdateSeedPeer

func (mr *MockManagerServerMockRecorder) UpdateSeedPeer(arg0, arg1 any) *gomock.Call

UpdateSeedPeer indicates an expected call of UpdateSeedPeer.

type MockManager_KeepAliveClient

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

MockManager_KeepAliveClient is a mock of Manager_KeepAliveClient interface.

func NewMockManager_KeepAliveClient

func NewMockManager_KeepAliveClient(ctrl *gomock.Controller) *MockManager_KeepAliveClient

NewMockManager_KeepAliveClient creates a new mock instance.

func (*MockManager_KeepAliveClient) CloseAndRecv

func (m *MockManager_KeepAliveClient) CloseAndRecv() (*emptypb.Empty, error)

CloseAndRecv mocks base method.

func (*MockManager_KeepAliveClient) CloseSend

func (m *MockManager_KeepAliveClient) CloseSend() error

CloseSend mocks base method.

func (*MockManager_KeepAliveClient) Context

Context mocks base method.

func (*MockManager_KeepAliveClient) EXPECT

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

func (*MockManager_KeepAliveClient) Header

Header mocks base method.

func (*MockManager_KeepAliveClient) RecvMsg

func (m_2 *MockManager_KeepAliveClient) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockManager_KeepAliveClient) Send

Send mocks base method.

func (*MockManager_KeepAliveClient) SendMsg

func (m_2 *MockManager_KeepAliveClient) SendMsg(m any) error

SendMsg mocks base method.

func (*MockManager_KeepAliveClient) Trailer

Trailer mocks base method.

type MockManager_KeepAliveClientMockRecorder

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

MockManager_KeepAliveClientMockRecorder is the mock recorder for MockManager_KeepAliveClient.

func (*MockManager_KeepAliveClientMockRecorder) CloseAndRecv

CloseAndRecv indicates an expected call of CloseAndRecv.

func (*MockManager_KeepAliveClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockManager_KeepAliveClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockManager_KeepAliveClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockManager_KeepAliveClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockManager_KeepAliveClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockManager_KeepAliveClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockManager_KeepAliveClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockManager_KeepAliveServer

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

MockManager_KeepAliveServer is a mock of Manager_KeepAliveServer interface.

func NewMockManager_KeepAliveServer

func NewMockManager_KeepAliveServer(ctrl *gomock.Controller) *MockManager_KeepAliveServer

NewMockManager_KeepAliveServer creates a new mock instance.

func (*MockManager_KeepAliveServer) Context

Context mocks base method.

func (*MockManager_KeepAliveServer) EXPECT

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

func (*MockManager_KeepAliveServer) Recv

Recv mocks base method.

func (*MockManager_KeepAliveServer) RecvMsg

func (m_2 *MockManager_KeepAliveServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockManager_KeepAliveServer) SendAndClose

func (m *MockManager_KeepAliveServer) SendAndClose(arg0 *emptypb.Empty) error

SendAndClose mocks base method.

func (*MockManager_KeepAliveServer) SendHeader

func (m *MockManager_KeepAliveServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockManager_KeepAliveServer) SendMsg

func (m_2 *MockManager_KeepAliveServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockManager_KeepAliveServer) SetHeader

func (m *MockManager_KeepAliveServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockManager_KeepAliveServer) SetTrailer

func (m *MockManager_KeepAliveServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockManager_KeepAliveServerMockRecorder

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

MockManager_KeepAliveServerMockRecorder is the mock recorder for MockManager_KeepAliveServer.

func (*MockManager_KeepAliveServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockManager_KeepAliveServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockManager_KeepAliveServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockManager_KeepAliveServerMockRecorder) SendAndClose

func (mr *MockManager_KeepAliveServerMockRecorder) SendAndClose(arg0 any) *gomock.Call

SendAndClose indicates an expected call of SendAndClose.

func (*MockManager_KeepAliveServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockManager_KeepAliveServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockManager_KeepAliveServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockManager_KeepAliveServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeManagerServer

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

MockUnsafeManagerServer is a mock of UnsafeManagerServer interface.

func NewMockUnsafeManagerServer

func NewMockUnsafeManagerServer(ctrl *gomock.Controller) *MockUnsafeManagerServer

NewMockUnsafeManagerServer creates a new mock instance.

func (*MockUnsafeManagerServer) EXPECT

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

type MockUnsafeManagerServerMockRecorder

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

MockUnsafeManagerServerMockRecorder is the mock recorder for MockUnsafeManagerServer.

Jump to

Keyboard shortcuts

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