mock_gitlab

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_gitlab is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitlabAPI

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

MockGitlabAPI is a mock of GitlabAPI interface.

func NewMockGitlabAPI

func NewMockGitlabAPI(ctrl *gomock.Controller) *MockGitlabAPI

NewMockGitlabAPI creates a new mock instance.

func (*MockGitlabAPI) Auth

func (m *MockGitlabAPI) Auth(token string) error

Auth mocks base method.

func (*MockGitlabAPI) EXPECT

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

func (*MockGitlabAPI) GetGroupVar

func (m *MockGitlabAPI) GetGroupVar(path, varName string) (*gitlab.GitlabCICDVar, error)

GetGroupVar mocks base method.

func (*MockGitlabAPI) GetRepoVar

func (m *MockGitlabAPI) GetRepoVar(path, varName string) (*gitlab.GitlabCICDVar, error)

GetRepoVar mocks base method.

func (*MockGitlabAPI) ListGroupAccessToken

func (m *MockGitlabAPI) ListGroupAccessToken(path string) ([]gitlab.GitlabAccessToken, error)

ListGroupAccessToken mocks base method.

func (*MockGitlabAPI) ListPersonalAccessToken

func (m *MockGitlabAPI) ListPersonalAccessToken() ([]gitlab.GitlabAccessToken, error)

ListPersonalAccessToken mocks base method.

func (*MockGitlabAPI) ListRepoAccessToken

func (m *MockGitlabAPI) ListRepoAccessToken(path string) ([]gitlab.GitlabAccessToken, error)

ListRepoAccessToken mocks base method.

func (*MockGitlabAPI) RotateGroupToken

func (m *MockGitlabAPI) RotateGroupToken(path string, tokenID int, expiredAt time.Time) (string, error)

RotateGroupToken mocks base method.

func (*MockGitlabAPI) RotatePersonalToken

func (m *MockGitlabAPI) RotatePersonalToken(tokenID int, expiredAt time.Time) (string, error)

RotatePersonalToken mocks base method.

func (*MockGitlabAPI) RotateRepoToken

func (m *MockGitlabAPI) RotateRepoToken(path string, tokenID int, expiredAt time.Time) (string, error)

RotateRepoToken mocks base method.

func (*MockGitlabAPI) UpdateGroupVar

func (m *MockGitlabAPI) UpdateGroupVar(path, varName, value string) error

UpdateGroupVar mocks base method.

func (*MockGitlabAPI) UpdateRepoVar

func (m *MockGitlabAPI) UpdateRepoVar(path, varName, value string) error

UpdateRepoVar mocks base method.

type MockGitlabAPIMockRecorder

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

MockGitlabAPIMockRecorder is the mock recorder for MockGitlabAPI.

func (*MockGitlabAPIMockRecorder) Auth

func (mr *MockGitlabAPIMockRecorder) Auth(token any) *gomock.Call

Auth indicates an expected call of Auth.

func (*MockGitlabAPIMockRecorder) GetGroupVar

func (mr *MockGitlabAPIMockRecorder) GetGroupVar(path, varName any) *gomock.Call

GetGroupVar indicates an expected call of GetGroupVar.

func (*MockGitlabAPIMockRecorder) GetRepoVar

func (mr *MockGitlabAPIMockRecorder) GetRepoVar(path, varName any) *gomock.Call

GetRepoVar indicates an expected call of GetRepoVar.

func (*MockGitlabAPIMockRecorder) ListGroupAccessToken

func (mr *MockGitlabAPIMockRecorder) ListGroupAccessToken(path any) *gomock.Call

ListGroupAccessToken indicates an expected call of ListGroupAccessToken.

func (*MockGitlabAPIMockRecorder) ListPersonalAccessToken

func (mr *MockGitlabAPIMockRecorder) ListPersonalAccessToken() *gomock.Call

ListPersonalAccessToken indicates an expected call of ListPersonalAccessToken.

func (*MockGitlabAPIMockRecorder) ListRepoAccessToken

func (mr *MockGitlabAPIMockRecorder) ListRepoAccessToken(path any) *gomock.Call

ListRepoAccessToken indicates an expected call of ListRepoAccessToken.

func (*MockGitlabAPIMockRecorder) RotateGroupToken

func (mr *MockGitlabAPIMockRecorder) RotateGroupToken(path, tokenID, expiredAt any) *gomock.Call

RotateGroupToken indicates an expected call of RotateGroupToken.

func (*MockGitlabAPIMockRecorder) RotatePersonalToken

func (mr *MockGitlabAPIMockRecorder) RotatePersonalToken(tokenID, expiredAt any) *gomock.Call

RotatePersonalToken indicates an expected call of RotatePersonalToken.

func (*MockGitlabAPIMockRecorder) RotateRepoToken

func (mr *MockGitlabAPIMockRecorder) RotateRepoToken(path, tokenID, expiredAt any) *gomock.Call

RotateRepoToken indicates an expected call of RotateRepoToken.

func (*MockGitlabAPIMockRecorder) UpdateGroupVar

func (mr *MockGitlabAPIMockRecorder) UpdateGroupVar(path, varName, value any) *gomock.Call

UpdateGroupVar indicates an expected call of UpdateGroupVar.

func (*MockGitlabAPIMockRecorder) UpdateRepoVar

func (mr *MockGitlabAPIMockRecorder) UpdateRepoVar(path, varName, value any) *gomock.Call

UpdateRepoVar indicates an expected call of UpdateRepoVar.

Jump to

Keyboard shortcuts

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