Documentation ¶
Index ¶
- Variables
- func DecodeJob(object runtime.RawExtension, resource metav1.GroupVersionResource) (*batchv1alpha1.Job, error)
- func DecodePod(object runtime.RawExtension, resource metav1.GroupVersionResource) (*v1.Pod, error)
- func DecodePodGroup(object runtime.RawExtension, resource metav1.GroupVersionResource) (*schedulingv1beta1.PodGroup, error)
- func DecodeQueue(object runtime.RawExtension, resource metav1.GroupVersionResource) (*schedulingv1beta1.Queue, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Codecs = serializer.NewCodecFactory(scheme)
Codecs is for retrieving serializers for the supported wire formats and conversion wrappers to define preferred internal and external versions.
Functions ¶
func DecodeJob ¶
func DecodeJob(object runtime.RawExtension, resource metav1.GroupVersionResource) (*batchv1alpha1.Job, error)
DecodeJob decodes the job using deserializer from the raw object.
func DecodePod ¶
func DecodePod(object runtime.RawExtension, resource metav1.GroupVersionResource) (*v1.Pod, error)
func DecodePodGroup ¶ added in v1.3.0
func DecodePodGroup(object runtime.RawExtension, resource metav1.GroupVersionResource) (*schedulingv1beta1.PodGroup, error)
DecodePodGroup decodes the podgroup using deserializer from the raw object.
func DecodeQueue ¶
func DecodeQueue(object runtime.RawExtension, resource metav1.GroupVersionResource) (*schedulingv1beta1.Queue, error)
DecodeQueue decodes the queue using deserializer from the raw object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.