Documentation
¶
Index ¶
Constants ¶
View Source
const Namespace = "test"
Namespace for the pods
Variables ¶
View Source
var BadPod = NewBrokenPod("broken")
BadPod is a pod which does not serialize correctly
View Source
var ErrorPod = NewPod("error")
ErrorPod is a pod which should create an error on handling
View Source
var InvalidPod = NewPod("invalid")
InvalidPod which is considered invalid on handling
View Source
var PanicPod = NewPod("panic")
PanicPod is a pod which should create a panic on handling
View Source
var PodKind = metav1.GroupVersionKind{Group: corev1.SchemeGroupVersion.Group, Version: corev1.SchemeGroupVersion.Version, Kind: "Pod"}
PodKind is the metav1.GroupVersionKind for corev1.Pod
View Source
var PodTypeMeta = metav1.TypeMeta{ Kind: "Pod", APIVersion: corev1.SchemeGroupVersion.Group + "/" + corev1.SchemeGroupVersion.Version, }
PodTypeMeta is the metav1.TypeMeta for corev1.Pod
View Source
var ValidPod = NewPod("valid")
ValidPod which is considered valid on handling
Functions ¶
This section is empty.
Types ¶
type Pod ¶
Pod extends corev1.Pod for testing
func NewBrokenPod ¶
NewBrokenPod creates a new broken Pod with the provided name
func (*Pod) DeepCopyObject ¶
func (*Pod) MustMarshal ¶
func (*Pod) RawExtension ¶
func (t *Pod) RawExtension() runtime.RawExtension
RawExtension marshals the pod and creates a runtime.RawExtension for which Raw is set to the marshaled JSON
Click to show internal directories.
Click to hide internal directories.