mocks

package
v0.2.213 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 8 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"
	TestKindAP     TestKinds = "ApplicationProfile"
	TestKindAA     TestKinds = "ApplicationActivity"
	TestKindNN     TestKinds = "NetworkNeighborhood"
)

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