fake

package
v1.6.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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
	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) 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