schema

package
v1.5.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: Apache-2.0 Imports: 10 Imported by: 6

Documentation

Index

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

DecodeQueue decodes the queue using deserializer from the raw object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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