Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 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 CommonService

type CommonService struct {
	mock.Mock
}

CommonService is an autogenerated mock type for the CommonService type

func NewCommonService

func NewCommonService(t interface {
	mock.TestingT
	Cleanup(func())
}) *CommonService

NewCommonService creates a new instance of CommonService. 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 (*CommonService) FetchLatestChartVersion added in v1.2.2

func (_m *CommonService) FetchLatestChartVersion(appId int, envId int) (string, error)

FetchLatestChartVersion provides a mock function with given fields: appId, envId

func (*CommonService) GlobalChecklist

func (_m *CommonService) GlobalChecklist() (*commonService.GlobalChecklist, error)

GlobalChecklist provides a mock function with given fields:

Jump to

Keyboard shortcuts

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