mocks

package
v0.0.0-...-0b03944 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitLabClient

type GitLabClient struct {
	mock.Mock
}

GitLabClient is an autogenerated mock type for the GitLabClient type

func (*GitLabClient) DeleteRegisteredRunnerByID

func (_m *GitLabClient) DeleteRegisteredRunnerByID(rid int, options ...gitlab.RequestOptionFunc) (*gitlab.Response, error)

DeleteRegisteredRunnerByID provides a mock function with given fields: rid, options

func (*GitLabClient) EXPECT

func (_m *GitLabClient) EXPECT() *GitLabClient_Expecter

func (*GitLabClient) GetRunnerDetails

func (_m *GitLabClient) GetRunnerDetails(rid interface{}, options ...gitlab.RequestOptionFunc) (*gitlab.RunnerDetails, *gitlab.Response, error)

GetRunnerDetails provides a mock function with given fields: rid, options

func (*GitLabClient) ListRunners

func (_m *GitLabClient) ListRunners(opt *gitlab.ListRunnersOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.Runner, *gitlab.Response, error)

ListRunners provides a mock function with given fields: opt, options

type GitLabClient_DeleteRegisteredRunnerByID_Call

type GitLabClient_DeleteRegisteredRunnerByID_Call struct {
	*mock.Call
}

GitLabClient_DeleteRegisteredRunnerByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRegisteredRunnerByID'

func (*GitLabClient_DeleteRegisteredRunnerByID_Call) Return

func (*GitLabClient_DeleteRegisteredRunnerByID_Call) Run

type GitLabClient_Expecter

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

func (*GitLabClient_Expecter) DeleteRegisteredRunnerByID

func (_e *GitLabClient_Expecter) DeleteRegisteredRunnerByID(rid interface{}, options ...interface{}) *GitLabClient_DeleteRegisteredRunnerByID_Call

DeleteRegisteredRunnerByID is a helper method to define mock.On call

  • rid int
  • options ...gitlab.RequestOptionFunc

func (*GitLabClient_Expecter) GetRunnerDetails

func (_e *GitLabClient_Expecter) GetRunnerDetails(rid interface{}, options ...interface{}) *GitLabClient_GetRunnerDetails_Call

GetRunnerDetails is a helper method to define mock.On call

  • rid interface{}
  • options ...gitlab.RequestOptionFunc

func (*GitLabClient_Expecter) ListRunners

func (_e *GitLabClient_Expecter) ListRunners(opt interface{}, options ...interface{}) *GitLabClient_ListRunners_Call

ListRunners is a helper method to define mock.On call

  • opt *gitlab.ListRunnersOptions
  • options ...gitlab.RequestOptionFunc

type GitLabClient_GetRunnerDetails_Call

type GitLabClient_GetRunnerDetails_Call struct {
	*mock.Call
}

GitLabClient_GetRunnerDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRunnerDetails'

func (*GitLabClient_GetRunnerDetails_Call) Return

func (*GitLabClient_GetRunnerDetails_Call) Run

type GitLabClient_ListRunners_Call

type GitLabClient_ListRunners_Call struct {
	*mock.Call
}

GitLabClient_ListRunners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRunners'

func (*GitLabClient_ListRunners_Call) Return

func (*GitLabClient_ListRunners_Call) Run

Jump to

Keyboard shortcuts

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