fake

package
v1.31.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodTemplateManagers

type PodTemplateManagers struct {
	Tpl                v1.PodTemplateSpec
	EnvVarMgr          *mergerfake.EnvVarManager
	EnvFromVarMgr      *mergerfake.EnvFromVarManager
	VolumeMgr          *mergerfake.VolumeManager
	VolumeMountMgr     *mergerfake.VolumeMountManager
	SecurityContextMgr *mergerfake.SecurityContextManager
	AnnotationMgr      *mergerfake.AnnotationManager
	PortMgr            *mergerfake.PortManager
}

PodTemplateManagers is an autogenerated mock type for the PodTemplateManagers type

func NewPodTemplateManagers

func NewPodTemplateManagers(t testing.TB, podTpl v1.PodTemplateSpec) *PodTemplateManagers

NewPodTemplateManagers creates a new instance of PodTemplateManagers. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*PodTemplateManagers) Annotation

func (_m *PodTemplateManagers) Annotation() merger.AnnotationManager

Annotation provides a mock function with given fields:

func (*PodTemplateManagers) EnvFromVar added in v1.10.0

func (_m *PodTemplateManagers) EnvFromVar() merger.EnvFromVarManager

EnvFromVar provides a mock function with given fields:

func (*PodTemplateManagers) EnvVar

EnvVar provides a mock function with given fields:

func (*PodTemplateManagers) PodTemplateSpec

func (_m *PodTemplateManagers) PodTemplateSpec() *v1.PodTemplateSpec

PodTemplateSpec provides a mock function with given fields:

func (*PodTemplateManagers) Port

Port provides a mock function with given fields:

func (*PodTemplateManagers) SecurityContext

func (_m *PodTemplateManagers) SecurityContext() merger.SecurityContextManager

SecurityContext provides a mock function with given fields:

func (*PodTemplateManagers) Volume

Volume provides a mock function with given fields:

func (*PodTemplateManagers) VolumeMount

func (_m *PodTemplateManagers) VolumeMount() merger.VolumeMountManager

VolumeMount 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