mock_gitlab_access

package
v16.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Mocks for GitLab access RPC.

Code generated by MockGen. DO NOT EDIT. Source: gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/module/gitlab_access/rpc (interfaces: GitlabAccessClient,GitlabAccess_MakeRequestClient)

Generated by this command:

mockgen -typed -destination gitlab_access.go -package mock_gitlab_access gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/module/gitlab_access/rpc GitlabAccessClient,GitlabAccess_MakeRequestClient

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 GitlabAccessClientMakeRequestCall added in v16.5.0

type GitlabAccessClientMakeRequestCall struct {
	*gomock.Call
}

GitlabAccessClientMakeRequestCall wrap *gomock.Call

func (*GitlabAccessClientMakeRequestCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccessClientMakeRequestCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccessClientMakeRequestCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientCloseSendCall added in v16.5.0

type GitlabAccess_MakeRequestClientCloseSendCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientCloseSendCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientCloseSendCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientCloseSendCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientCloseSendCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientContextCall added in v16.5.0

type GitlabAccess_MakeRequestClientContextCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientContextCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientContextCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientContextCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientContextCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientHeaderCall added in v16.5.0

type GitlabAccess_MakeRequestClientHeaderCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientHeaderCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientHeaderCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientHeaderCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientHeaderCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientRecvCall added in v16.5.0

type GitlabAccess_MakeRequestClientRecvCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientRecvCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientRecvCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientRecvCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientRecvCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientRecvMsgCall added in v16.5.0

type GitlabAccess_MakeRequestClientRecvMsgCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientRecvMsgCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientRecvMsgCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientRecvMsgCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientRecvMsgCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientSendCall added in v16.5.0

type GitlabAccess_MakeRequestClientSendCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientSendCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientSendCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientSendCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientSendCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientSendMsgCall added in v16.5.0

type GitlabAccess_MakeRequestClientSendMsgCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientSendMsgCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientSendMsgCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientSendMsgCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientSendMsgCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type GitlabAccess_MakeRequestClientTrailerCall added in v16.5.0

type GitlabAccess_MakeRequestClientTrailerCall struct {
	*gomock.Call
}

GitlabAccess_MakeRequestClientTrailerCall wrap *gomock.Call

func (*GitlabAccess_MakeRequestClientTrailerCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*GitlabAccess_MakeRequestClientTrailerCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*GitlabAccess_MakeRequestClientTrailerCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

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 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 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

func (m *MockGitlabAccess_MakeRequestClient) RecvMsg(arg0 any) error

RecvMsg mocks base method.

func (*MockGitlabAccess_MakeRequestClient) Send

Send mocks base method.

func (*MockGitlabAccess_MakeRequestClient) SendMsg

func (m *MockGitlabAccess_MakeRequestClient) SendMsg(arg0 any) error

SendMsg mocks base method.

func (*MockGitlabAccess_MakeRequestClient) Trailer

Trailer mocks base method.

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.

Jump to

Keyboard shortcuts

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