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

mocks

package
v0.6.27 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 3 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 mockConstructorTestingTNewCommonService) *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.

func (*CommonService) FetchLatestChart

func (_m *CommonService) FetchLatestChart(appId int, envId int) (*chartRepoRepository.Chart, error)

FetchLatestChart 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