plugins

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitClient

type MockGitClient struct {
	mock.Mock
}

MockGitClient is an autogenerated mock type for the GitClient type

func NewMockGitClient

func NewMockGitClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockGitClient

NewMockGitClient creates a new instance of MockGitClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockGitClient) EXPECT

func (_m *MockGitClient) EXPECT() *MockGitClient_Expecter

func (*MockGitClient) HasUpdates added in v0.2.0

func (_m *MockGitClient) HasUpdates(path string) (bool, error)

HasUpdates provides a mock function with given fields: path

func (*MockGitClient) PlainClone

func (_m *MockGitClient) PlainClone(path string, url string) error

PlainClone provides a mock function with given fields: path, url

func (*MockGitClient) Pull

func (_m *MockGitClient) Pull(path string) error

Pull provides a mock function with given fields: path

type MockGitClient_Expecter

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

func (*MockGitClient_Expecter) HasUpdates added in v0.2.0

func (_e *MockGitClient_Expecter) HasUpdates(path interface{}) *MockGitClient_HasUpdates_Call

HasUpdates is a helper method to define mock.On call

  • path string

func (*MockGitClient_Expecter) PlainClone

func (_e *MockGitClient_Expecter) PlainClone(path interface{}, url interface{}) *MockGitClient_PlainClone_Call

PlainClone is a helper method to define mock.On call

  • path string
  • url string

func (*MockGitClient_Expecter) Pull

func (_e *MockGitClient_Expecter) Pull(path interface{}) *MockGitClient_Pull_Call

Pull is a helper method to define mock.On call

  • path string

type MockGitClient_HasUpdates_Call added in v0.2.0

type MockGitClient_HasUpdates_Call struct {
	*mock.Call
}

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

func (*MockGitClient_HasUpdates_Call) Return added in v0.2.0

func (*MockGitClient_HasUpdates_Call) Run added in v0.2.0

func (*MockGitClient_HasUpdates_Call) RunAndReturn added in v0.2.0

type MockGitClient_PlainClone_Call

type MockGitClient_PlainClone_Call struct {
	*mock.Call
}

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

func (*MockGitClient_PlainClone_Call) Return

func (*MockGitClient_PlainClone_Call) Run

func (*MockGitClient_PlainClone_Call) RunAndReturn

type MockGitClient_Pull_Call

type MockGitClient_Pull_Call struct {
	*mock.Call
}

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

func (*MockGitClient_Pull_Call) Return

func (*MockGitClient_Pull_Call) Run

func (_c *MockGitClient_Pull_Call) Run(run func(path string)) *MockGitClient_Pull_Call

func (*MockGitClient_Pull_Call) RunAndReturn

func (_c *MockGitClient_Pull_Call) RunAndReturn(run func(string) error) *MockGitClient_Pull_Call

Jump to

Keyboard shortcuts

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