mock_gitlab_access

package
v17.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Mocks for GitLab access RPC.

Package mock_gitlab_access is a generated GoMock package.

Package mock_gitlab_access is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitlabAccess_MakeRequestClient added in v17.3.0

type GitlabAccess_MakeRequestClient interface {
	grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse]
}

Workaround for https://github.com/uber-go/mock/issues/197.

type MockGitlabAccessClient

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

MockGitlabAccessClient is a mock of GitlabAccessClient interface.

func NewMockGitlabAccessClient

func NewMockGitlabAccessClient(ctrl *gomock.Controller) *MockGitlabAccessClient

NewMockGitlabAccessClient creates a new mock instance.

func (*MockGitlabAccessClient) EXPECT

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

func (*MockGitlabAccessClient) MakeRequest

MakeRequest mocks base method.

type MockGitlabAccessClientMakeRequestCall

type MockGitlabAccessClientMakeRequestCall struct {
	*gomock.Call
}

MockGitlabAccessClientMakeRequestCall wrap *gomock.Call

func (*MockGitlabAccessClientMakeRequestCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccessClientMakeRequestCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccessClientMakeRequestCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccessClientMockRecorder

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

MockGitlabAccessClientMockRecorder is the mock recorder for MockGitlabAccessClient.

func (*MockGitlabAccessClientMockRecorder) MakeRequest

MakeRequest indicates an expected call of MakeRequest.

type MockGitlabAccessServer added in v17.3.0

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

MockGitlabAccessServer is a mock of GitlabAccessServer interface.

func NewMockGitlabAccessServer added in v17.3.0

func NewMockGitlabAccessServer(ctrl *gomock.Controller) *MockGitlabAccessServer

NewMockGitlabAccessServer creates a new mock instance.

func (*MockGitlabAccessServer) EXPECT added in v17.3.0

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

func (*MockGitlabAccessServer) MakeRequest added in v17.3.0

MakeRequest mocks base method.

type MockGitlabAccessServerMakeRequestCall added in v17.3.0

type MockGitlabAccessServerMakeRequestCall struct {
	*gomock.Call
}

MockGitlabAccessServerMakeRequestCall wrap *gomock.Call

func (*MockGitlabAccessServerMakeRequestCall) Do added in v17.3.0

Do rewrite *gomock.Call.Do

func (*MockGitlabAccessServerMakeRequestCall) DoAndReturn added in v17.3.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccessServerMakeRequestCall) Return added in v17.3.0

Return rewrite *gomock.Call.Return

type MockGitlabAccessServerMockRecorder added in v17.3.0

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

MockGitlabAccessServerMockRecorder is the mock recorder for MockGitlabAccessServer.

func (*MockGitlabAccessServerMockRecorder) MakeRequest added in v17.3.0

MakeRequest indicates an expected call of MakeRequest.

type MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall added in v17.3.0

type MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall struct {
	*gomock.Call
}

MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall wrap *gomock.Call

func (*MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do added in v17.3.0

Do rewrite *gomock.Call.Do

func (*MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn added in v17.3.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return added in v17.3.0

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClient

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

MockGitlabAccess_MakeRequestClient is a mock of GitlabAccess_MakeRequestClient interface.

func NewMockGitlabAccess_MakeRequestClient

func NewMockGitlabAccess_MakeRequestClient(ctrl *gomock.Controller) *MockGitlabAccess_MakeRequestClient

NewMockGitlabAccess_MakeRequestClient creates a new mock instance.

func (*MockGitlabAccess_MakeRequestClient) CloseSend

CloseSend mocks base method.

func (*MockGitlabAccess_MakeRequestClient) Context

Context mocks base method.

func (*MockGitlabAccess_MakeRequestClient) EXPECT

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

func (*MockGitlabAccess_MakeRequestClient) Header

Header mocks base method.

func (*MockGitlabAccess_MakeRequestClient) Recv

Recv mocks base method.

func (*MockGitlabAccess_MakeRequestClient) RecvMsg

RecvMsg mocks base method.

func (*MockGitlabAccess_MakeRequestClient) Send

Send mocks base method.

func (*MockGitlabAccess_MakeRequestClient) SendMsg

SendMsg mocks base method.

func (*MockGitlabAccess_MakeRequestClient) Trailer

Trailer mocks base method.

type MockGitlabAccess_MakeRequestClientCloseSendCall

type MockGitlabAccess_MakeRequestClientCloseSendCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientCloseSendCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientCloseSendCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientCloseSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientCloseSendCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClientContextCall

type MockGitlabAccess_MakeRequestClientContextCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientContextCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientContextCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientContextCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClientHeaderCall

type MockGitlabAccess_MakeRequestClientHeaderCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientHeaderCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientHeaderCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClientMockRecorder

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

MockGitlabAccess_MakeRequestClientMockRecorder is the mock recorder for MockGitlabAccess_MakeRequestClient.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockGitlabAccess_MakeRequestClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockGitlabAccess_MakeRequestClientRecvCall

type MockGitlabAccess_MakeRequestClientRecvCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientRecvCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientRecvCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientRecvCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientRecvCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClientRecvMsgCall

type MockGitlabAccess_MakeRequestClientRecvMsgCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientRecvMsgCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientRecvMsgCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientRecvMsgCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientRecvMsgCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClientSendCall

type MockGitlabAccess_MakeRequestClientSendCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientSendCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientSendCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientSendCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClientSendMsgCall

type MockGitlabAccess_MakeRequestClientSendMsgCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientSendMsgCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientSendMsgCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientSendMsgCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientSendMsgCall) Return

Return rewrite *gomock.Call.Return

type MockGitlabAccess_MakeRequestClientTrailerCall

type MockGitlabAccess_MakeRequestClientTrailerCall struct {
	*gomock.Call
}

MockGitlabAccess_MakeRequestClientTrailerCall wrap *gomock.Call

func (*MockGitlabAccess_MakeRequestClientTrailerCall) Do

Do rewrite *gomock.Call.Do

func (*MockGitlabAccess_MakeRequestClientTrailerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockGitlabAccess_MakeRequestClientTrailerCall) Return

Return rewrite *gomock.Call.Return

type MockUnsafeGitlabAccessServer added in v17.3.0

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

MockUnsafeGitlabAccessServer is a mock of UnsafeGitlabAccessServer interface.

func NewMockUnsafeGitlabAccessServer added in v17.3.0

func NewMockUnsafeGitlabAccessServer(ctrl *gomock.Controller) *MockUnsafeGitlabAccessServer

NewMockUnsafeGitlabAccessServer creates a new mock instance.

func (*MockUnsafeGitlabAccessServer) EXPECT added in v17.3.0

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

type MockUnsafeGitlabAccessServerMockRecorder added in v17.3.0

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

MockUnsafeGitlabAccessServerMockRecorder is the mock recorder for MockUnsafeGitlabAccessServer.

type MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall added in v17.3.0

type MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall struct {
	*gomock.Call
}

MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall wrap *gomock.Call

func (*MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Do added in v17.3.0

Do rewrite *gomock.Call.Do

func (*MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) DoAndReturn added in v17.3.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnsafeGitlabAccessServermustEmbedUnimplementedGitlabAccessServerCall) Return added in v17.3.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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