mocks

package
v2.11.9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 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 Generator

type Generator struct {
	mock.Mock
}

Generator is an autogenerated mock type for the Generator type

func NewGenerator

func NewGenerator(t interface {
	mock.TestingT
	Cleanup(func())
}) *Generator

NewGenerator creates a new instance of Generator. 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 (*Generator) GenerateParams

func (_m *Generator) GenerateParams(appSetGenerator *v1alpha1.ApplicationSetGenerator, applicationSetInfo *v1alpha1.ApplicationSet) ([]map[string]interface{}, error)

GenerateParams provides a mock function with given fields: appSetGenerator, applicationSetInfo

func (*Generator) GetRequeueAfter

func (_m *Generator) GetRequeueAfter(appSetGenerator *v1alpha1.ApplicationSetGenerator) time.Duration

GetRequeueAfter provides a mock function with given fields: appSetGenerator

func (*Generator) GetTemplate

func (_m *Generator) GetTemplate(appSetGenerator *v1alpha1.ApplicationSetGenerator) *v1alpha1.ApplicationSetTemplate

GetTemplate provides a mock function with given fields: appSetGenerator

Jump to

Keyboard shortcuts

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