admission_test

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

V1BadPod is the v1.AdmissionReview for corev1_test.BadPod containing an unknown object

V1Beta1BadPod is the v1.AdmissionReview for corev1_test.BadPod

V1Beta1DetachedPod is the v1beta1.AdmissionReview for corev1_test.DetachedPod

V1Beta1ErrorPod is the v1beta1.AdmissionReview for corev1_test.ErrorPod

V1Beta1InvalidPod is the v1beta1.AdmissionReview for corev1_test.InvalidPod

View Source
var V1Beta1TypeMeta = metav1.TypeMeta{
	Kind:       "AdmissionReview",
	APIVersion: v1beta1.SchemeGroupVersion.Group + "/" + v1beta1.SchemeGroupVersion.Version,
}

V1Beta1TypeMeta is the metav1.TypeMeta for v1beta1.AdmissionReview

V1Beta1ValidPod is the v1beta1.AdmissionReview for corev1_test.ValidPod

V1DetachedPod is the v1.AdmissionReview for corev1_test.DetachedPod

V1ErrorPod is the v1.AdmissionReview for corev1_test.ErrorPod

V1InvalidPod is the v1.AdmissionReview for corev1_test.InvalidPod

View Source
var V1TypeMeta = metav1.TypeMeta{
	Kind:       "AdmissionReview",
	APIVersion: v1.SchemeGroupVersion.Group + "/" + v1.SchemeGroupVersion.Version,
}

V1TypeMeta is the metav1.TypeMeta for v1.AdmissionReview

V1ValidPod is the v1.AdmissionReview for corev1_test.ValidPod

Functions

func NewV1Beta1Review

func NewV1Beta1Review(obj, oldObj testing.Reviewable) func() *V1Beta1AdmissionReview

nolint:dupl

func NewV1Review

func NewV1Review(obj, oldObj testing.Reviewable) func() *V1AdmissionReview

nolint:dupl

Types

type V1AdmissionReview

type V1AdmissionReview v1.AdmissionReview

func (*V1AdmissionReview) MustMarshal

func (v *V1AdmissionReview) MustMarshal() []byte

type V1Beta1AdmissionReview

type V1Beta1AdmissionReview v1beta1.AdmissionReview

func (*V1Beta1AdmissionReview) MustMarshal

func (v *V1Beta1AdmissionReview) MustMarshal() []byte

Jump to

Keyboard shortcuts

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