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

mocks

package
v0.3.308 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NAMESPACE = ""

Functions

func GetBytes

func GetBytes(kind TestKinds, name TestName) []byte

func GetRuntime

func GetRuntime(kind TestKinds, name TestName) k8sruntime.Object

func GetUnstructured

func GetUnstructured(kind TestKinds, name TestName) *unstructured.Unstructured

func UnstructuredToRuntime

func UnstructuredToRuntime(u *unstructured.Unstructured) k8sruntime.Object

Types

type TestKinds

type TestKinds string
const (
	TestKindPod    TestKinds = "Pod"
	TestKindRS     TestKinds = "ReplicaSet"
	TestKindDeploy TestKinds = "Deployment"
)

type TestName

type TestName string
const (
	TestNginx      TestName = "nginx"
	TestCollection TestName = "collection"
)

Jump to

Keyboard shortcuts

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