Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var V1BadPod = NewV1Review(corev1_test.BadPod, nil)
V1BadPod is the v1.AdmissionReview for corev1_test.BadPod containing an unknown object
var V1Beta1BadPod = NewV1Beta1Review(corev1_test.BadPod, nil)
V1Beta1BadPod is the v1.AdmissionReview for corev1_test.BadPod
var V1Beta1DetachedPod = NewV1Beta1Review(corev1_test.DetachedPod, corev1_test.DetachedPod)
V1Beta1DetachedPod is the v1beta1.AdmissionReview for corev1_test.DetachedPod
var V1Beta1ErrorPod = NewV1Beta1Review(corev1_test.ErrorPod, nil)
V1Beta1ErrorPod is the v1beta1.AdmissionReview for corev1_test.ErrorPod
var V1Beta1InvalidPod = NewV1Beta1Review(corev1_test.InvalidPod, corev1_test.ValidPod)
V1Beta1InvalidPod is the v1beta1.AdmissionReview for corev1_test.InvalidPod
var V1Beta1TypeMeta = metav1.TypeMeta{ Kind: "AdmissionReview", APIVersion: v1beta1.SchemeGroupVersion.Group + "/" + v1beta1.SchemeGroupVersion.Version, }
V1Beta1TypeMeta is the metav1.TypeMeta for v1beta1.AdmissionReview
var V1Beta1ValidPod = NewV1Beta1Review(corev1_test.ValidPod, nil)
V1Beta1ValidPod is the v1beta1.AdmissionReview for corev1_test.ValidPod
var V1DetachedPod = NewV1Review(corev1_test.DetachedPod, corev1_test.DetachedPod)
V1DetachedPod is the v1.AdmissionReview for corev1_test.DetachedPod
var V1ErrorPod = NewV1Review(corev1_test.ErrorPod, nil)
V1ErrorPod is the v1.AdmissionReview for corev1_test.ErrorPod
var V1InvalidPod = NewV1Review(corev1_test.InvalidPod, corev1_test.ValidPod)
V1InvalidPod is the v1.AdmissionReview for corev1_test.InvalidPod
var V1TypeMeta = metav1.TypeMeta{ Kind: "AdmissionReview", APIVersion: v1.SchemeGroupVersion.Group + "/" + v1.SchemeGroupVersion.Version, }
V1TypeMeta is the metav1.TypeMeta for v1.AdmissionReview
var V1ValidPod = NewV1Review(corev1_test.ValidPod, corev1_test.InvalidPod)
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