mocks

package
v1.1.49 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigLoader

type ConfigLoader struct {
	mock.Mock
}

ConfigLoader is an autogenerated mock type for the ConfigLoader type

func NewConfigLoader

func NewConfigLoader(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigLoader

NewConfigLoader creates a new instance of ConfigLoader. 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 (*ConfigLoader) EXPECT

func (_m *ConfigLoader) EXPECT() *ConfigLoader_Expecter

func (*ConfigLoader) FindReleasesToUpdate

func (_m *ConfigLoader) FindReleasesToUpdate(chartName string) ([]terra.Release, error)

FindReleasesToUpdate provides a mock function with given fields: chartName

type ConfigLoader_Expecter

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

func (*ConfigLoader_Expecter) FindReleasesToUpdate

func (_e *ConfigLoader_Expecter) FindReleasesToUpdate(chartName interface{}) *ConfigLoader_FindReleasesToUpdate_Call

FindReleasesToUpdate is a helper method to define mock.On call

  • chartName string

type ConfigLoader_FindReleasesToUpdate_Call

type ConfigLoader_FindReleasesToUpdate_Call struct {
	*mock.Call
}

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

func (*ConfigLoader_FindReleasesToUpdate_Call) Return

func (*ConfigLoader_FindReleasesToUpdate_Call) Run

func (*ConfigLoader_FindReleasesToUpdate_Call) RunAndReturn

Jump to

Keyboard shortcuts

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