test

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPatchedPod

func GetPatchedPod(podYamlString string, patchBytes []byte) *corev1.Pod

Types

type ResourcesForTest

type ResourcesForTest struct {
	OneContOneInitContPatch               patchConfigMap
	NoContainerPatch                      patchConfigMap
	NoInitContainerPatch                  patchConfigMap
	EmptyPatch                            patchConfigMap
	TwoEntryPatch                         patchConfigMap
	MatchingPod                           pod
	MatchingPodWithoutPorts               pod
	NonMatchingPod                        pod
	InjectedPodList                       kubernetes.PodList
	AppMeshInjectEnabledLabelSelector     *v1.Mesh
	AppMeshInjectEnabledNamespaceSelector *v1.Mesh
	AppMeshInjectDisabled                 *v1.Mesh
	AppMeshNoConfigMap                    *v1.Mesh
	AppMeshNoSelector                     *v1.Mesh
	IstioMesh                             *v1.Mesh
	TemplateData                          interface{}
}

func GetTestResources

func GetTestResources(decoder runtime.Decoder) *ResourcesForTest

Jump to

Keyboard shortcuts

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