v1

package
v1.3.0-alpha.1....-0aa2340 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "batch"

GroupName is the group name use in this package

Variables

View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

func Convert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource

func Convert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource(in *api.AWSElasticBlockStoreVolumeSource, out *v1.AWSElasticBlockStoreVolumeSource, s conversion.Scope) error

func Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource

func Convert_api_AzureFileVolumeSource_To_v1_AzureFileVolumeSource(in *api.AzureFileVolumeSource, out *v1.AzureFileVolumeSource, s conversion.Scope) error

func Convert_api_Capabilities_To_v1_Capabilities

func Convert_api_Capabilities_To_v1_Capabilities(in *api.Capabilities, out *v1.Capabilities, s conversion.Scope) error

func Convert_api_CephFSVolumeSource_To_v1_CephFSVolumeSource

func Convert_api_CephFSVolumeSource_To_v1_CephFSVolumeSource(in *api.CephFSVolumeSource, out *v1.CephFSVolumeSource, s conversion.Scope) error

func Convert_api_CinderVolumeSource_To_v1_CinderVolumeSource

func Convert_api_CinderVolumeSource_To_v1_CinderVolumeSource(in *api.CinderVolumeSource, out *v1.CinderVolumeSource, s conversion.Scope) error

func Convert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector

func Convert_api_ConfigMapKeySelector_To_v1_ConfigMapKeySelector(in *api.ConfigMapKeySelector, out *v1.ConfigMapKeySelector, s conversion.Scope) error

func Convert_api_ConfigMapVolumeSource_To_v1_ConfigMapVolumeSource

func Convert_api_ConfigMapVolumeSource_To_v1_ConfigMapVolumeSource(in *api.ConfigMapVolumeSource, out *v1.ConfigMapVolumeSource, s conversion.Scope) error

func Convert_api_ContainerPort_To_v1_ContainerPort

func Convert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, out *v1.ContainerPort, s conversion.Scope) error

func Convert_api_Container_To_v1_Container

func Convert_api_Container_To_v1_Container(in *api.Container, out *v1.Container, s conversion.Scope) error

func Convert_api_DownwardAPIVolumeFile_To_v1_DownwardAPIVolumeFile

func Convert_api_DownwardAPIVolumeFile_To_v1_DownwardAPIVolumeFile(in *api.DownwardAPIVolumeFile, out *v1.DownwardAPIVolumeFile, s conversion.Scope) error

func Convert_api_DownwardAPIVolumeSource_To_v1_DownwardAPIVolumeSource

func Convert_api_DownwardAPIVolumeSource_To_v1_DownwardAPIVolumeSource(in *api.DownwardAPIVolumeSource, out *v1.DownwardAPIVolumeSource, s conversion.Scope) error

func Convert_api_EmptyDirVolumeSource_To_v1_EmptyDirVolumeSource

func Convert_api_EmptyDirVolumeSource_To_v1_EmptyDirVolumeSource(in *api.EmptyDirVolumeSource, out *v1.EmptyDirVolumeSource, s conversion.Scope) error

func Convert_api_EnvVarSource_To_v1_EnvVarSource

func Convert_api_EnvVarSource_To_v1_EnvVarSource(in *api.EnvVarSource, out *v1.EnvVarSource, s conversion.Scope) error

func Convert_api_EnvVar_To_v1_EnvVar

func Convert_api_EnvVar_To_v1_EnvVar(in *api.EnvVar, out *v1.EnvVar, s conversion.Scope) error

func Convert_api_ExecAction_To_v1_ExecAction

func Convert_api_ExecAction_To_v1_ExecAction(in *api.ExecAction, out *v1.ExecAction, s conversion.Scope) error

func Convert_api_FCVolumeSource_To_v1_FCVolumeSource

func Convert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource, out *v1.FCVolumeSource, s conversion.Scope) error

func Convert_api_FlexVolumeSource_To_v1_FlexVolumeSource

func Convert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in *api.FlexVolumeSource, out *v1.FlexVolumeSource, s conversion.Scope) error

func Convert_api_FlockerVolumeSource_To_v1_FlockerVolumeSource

func Convert_api_FlockerVolumeSource_To_v1_FlockerVolumeSource(in *api.FlockerVolumeSource, out *v1.FlockerVolumeSource, s conversion.Scope) error

func Convert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolumeSource

func Convert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolumeSource(in *api.GCEPersistentDiskVolumeSource, out *v1.GCEPersistentDiskVolumeSource, s conversion.Scope) error

func Convert_api_GitRepoVolumeSource_To_v1_GitRepoVolumeSource

func Convert_api_GitRepoVolumeSource_To_v1_GitRepoVolumeSource(in *api.GitRepoVolumeSource, out *v1.GitRepoVolumeSource, s conversion.Scope) error

func Convert_api_GlusterfsVolumeSource_To_v1_GlusterfsVolumeSource

func Convert_api_GlusterfsVolumeSource_To_v1_GlusterfsVolumeSource(in *api.GlusterfsVolumeSource, out *v1.GlusterfsVolumeSource, s conversion.Scope) error

func Convert_api_HTTPGetAction_To_v1_HTTPGetAction

func Convert_api_HTTPGetAction_To_v1_HTTPGetAction(in *api.HTTPGetAction, out *v1.HTTPGetAction, s conversion.Scope) error

func Convert_api_HTTPHeader_To_v1_HTTPHeader

func Convert_api_HTTPHeader_To_v1_HTTPHeader(in *api.HTTPHeader, out *v1.HTTPHeader, s conversion.Scope) error

func Convert_api_Handler_To_v1_Handler

func Convert_api_Handler_To_v1_Handler(in *api.Handler, out *v1.Handler, s conversion.Scope) error

func Convert_api_HostPathVolumeSource_To_v1_HostPathVolumeSource

func Convert_api_HostPathVolumeSource_To_v1_HostPathVolumeSource(in *api.HostPathVolumeSource, out *v1.HostPathVolumeSource, s conversion.Scope) error

func Convert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource

func Convert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolumeSource, out *v1.ISCSIVolumeSource, s conversion.Scope) error

func Convert_api_KeyToPath_To_v1_KeyToPath

func Convert_api_KeyToPath_To_v1_KeyToPath(in *api.KeyToPath, out *v1.KeyToPath, s conversion.Scope) error

func Convert_api_Lifecycle_To_v1_Lifecycle

func Convert_api_Lifecycle_To_v1_Lifecycle(in *api.Lifecycle, out *v1.Lifecycle, s conversion.Scope) error

func Convert_api_LocalObjectReference_To_v1_LocalObjectReference

func Convert_api_LocalObjectReference_To_v1_LocalObjectReference(in *api.LocalObjectReference, out *v1.LocalObjectReference, s conversion.Scope) error

func Convert_api_NFSVolumeSource_To_v1_NFSVolumeSource

func Convert_api_NFSVolumeSource_To_v1_NFSVolumeSource(in *api.NFSVolumeSource, out *v1.NFSVolumeSource, s conversion.Scope) error

func Convert_api_ObjectFieldSelector_To_v1_ObjectFieldSelector

func Convert_api_ObjectFieldSelector_To_v1_ObjectFieldSelector(in *api.ObjectFieldSelector, out *v1.ObjectFieldSelector, s conversion.Scope) error

func Convert_api_ObjectMeta_To_v1_ObjectMeta

func Convert_api_ObjectMeta_To_v1_ObjectMeta(in *api.ObjectMeta, out *v1.ObjectMeta, s conversion.Scope) error

func Convert_api_PersistentVolumeClaimVolumeSource_To_v1_PersistentVolumeClaimVolumeSource

func Convert_api_PersistentVolumeClaimVolumeSource_To_v1_PersistentVolumeClaimVolumeSource(in *api.PersistentVolumeClaimVolumeSource, out *v1.PersistentVolumeClaimVolumeSource, s conversion.Scope) error

func Convert_api_PodSpec_To_v1_PodSpec

func Convert_api_PodSpec_To_v1_PodSpec(in *api.PodSpec, out *v1.PodSpec, s conversion.Scope) error

The following two PodSpec conversions functions where copied from pkg/api/conversion.go for the generated functions to work properly. This should be fixed: https://github.com/kubernetes/kubernetes/issues/12977

func Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec

func Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(in *api.PodTemplateSpec, out *v1.PodTemplateSpec, s conversion.Scope) error

func Convert_api_Probe_To_v1_Probe

func Convert_api_Probe_To_v1_Probe(in *api.Probe, out *v1.Probe, s conversion.Scope) error

func Convert_api_RBDVolumeSource_To_v1_RBDVolumeSource

func Convert_api_RBDVolumeSource_To_v1_RBDVolumeSource(in *api.RBDVolumeSource, out *v1.RBDVolumeSource, s conversion.Scope) error

func Convert_api_ResourceRequirements_To_v1_ResourceRequirements

func Convert_api_ResourceRequirements_To_v1_ResourceRequirements(in *api.ResourceRequirements, out *v1.ResourceRequirements, s conversion.Scope) error

func Convert_api_SELinuxOptions_To_v1_SELinuxOptions

func Convert_api_SELinuxOptions_To_v1_SELinuxOptions(in *api.SELinuxOptions, out *v1.SELinuxOptions, s conversion.Scope) error

func Convert_api_SecretKeySelector_To_v1_SecretKeySelector

func Convert_api_SecretKeySelector_To_v1_SecretKeySelector(in *api.SecretKeySelector, out *v1.SecretKeySelector, s conversion.Scope) error

func Convert_api_SecretVolumeSource_To_v1_SecretVolumeSource

func Convert_api_SecretVolumeSource_To_v1_SecretVolumeSource(in *api.SecretVolumeSource, out *v1.SecretVolumeSource, s conversion.Scope) error

func Convert_api_SecurityContext_To_v1_SecurityContext

func Convert_api_SecurityContext_To_v1_SecurityContext(in *api.SecurityContext, out *v1.SecurityContext, s conversion.Scope) error

func Convert_api_TCPSocketAction_To_v1_TCPSocketAction

func Convert_api_TCPSocketAction_To_v1_TCPSocketAction(in *api.TCPSocketAction, out *v1.TCPSocketAction, s conversion.Scope) error

func Convert_api_VolumeMount_To_v1_VolumeMount

func Convert_api_VolumeMount_To_v1_VolumeMount(in *api.VolumeMount, out *v1.VolumeMount, s conversion.Scope) error

func Convert_api_VolumeSource_To_v1_VolumeSource

func Convert_api_VolumeSource_To_v1_VolumeSource(in *api.VolumeSource, out *v1.VolumeSource, s conversion.Scope) error

func Convert_api_Volume_To_v1_Volume

func Convert_api_Volume_To_v1_Volume(in *api.Volume, out *v1.Volume, s conversion.Scope) error

func Convert_extensions_JobCondition_To_v1_JobCondition

func Convert_extensions_JobCondition_To_v1_JobCondition(in *extensions.JobCondition, out *JobCondition, s conversion.Scope) error

func Convert_extensions_JobList_To_v1_JobList

func Convert_extensions_JobList_To_v1_JobList(in *extensions.JobList, out *JobList, s conversion.Scope) error

func Convert_extensions_JobSpec_To_v1_JobSpec

func Convert_extensions_JobSpec_To_v1_JobSpec(in *extensions.JobSpec, out *JobSpec, s conversion.Scope) error

func Convert_extensions_JobStatus_To_v1_JobStatus

func Convert_extensions_JobStatus_To_v1_JobStatus(in *extensions.JobStatus, out *JobStatus, s conversion.Scope) error

func Convert_extensions_Job_To_v1_Job

func Convert_extensions_Job_To_v1_Job(in *extensions.Job, out *Job, s conversion.Scope) error

func Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement

func Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement(in *unversioned.LabelSelectorRequirement, out *LabelSelectorRequirement, s conversion.Scope) error

func Convert_unversioned_LabelSelector_To_v1_LabelSelector

func Convert_unversioned_LabelSelector_To_v1_LabelSelector(in *unversioned.LabelSelector, out *LabelSelector, s conversion.Scope) error

func Convert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource

func Convert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource(in *v1.AWSElasticBlockStoreVolumeSource, out *api.AWSElasticBlockStoreVolumeSource, s conversion.Scope) error

func Convert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource

func Convert_v1_AzureFileVolumeSource_To_api_AzureFileVolumeSource(in *v1.AzureFileVolumeSource, out *api.AzureFileVolumeSource, s conversion.Scope) error

func Convert_v1_Capabilities_To_api_Capabilities

func Convert_v1_Capabilities_To_api_Capabilities(in *v1.Capabilities, out *api.Capabilities, s conversion.Scope) error

func Convert_v1_CephFSVolumeSource_To_api_CephFSVolumeSource

func Convert_v1_CephFSVolumeSource_To_api_CephFSVolumeSource(in *v1.CephFSVolumeSource, out *api.CephFSVolumeSource, s conversion.Scope) error

func Convert_v1_CinderVolumeSource_To_api_CinderVolumeSource

func Convert_v1_CinderVolumeSource_To_api_CinderVolumeSource(in *v1.CinderVolumeSource, out *api.CinderVolumeSource, s conversion.Scope) error

func Convert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector

func Convert_v1_ConfigMapKeySelector_To_api_ConfigMapKeySelector(in *v1.ConfigMapKeySelector, out *api.ConfigMapKeySelector, s conversion.Scope) error

func Convert_v1_ConfigMapVolumeSource_To_api_ConfigMapVolumeSource

func Convert_v1_ConfigMapVolumeSource_To_api_ConfigMapVolumeSource(in *v1.ConfigMapVolumeSource, out *api.ConfigMapVolumeSource, s conversion.Scope) error

func Convert_v1_ContainerPort_To_api_ContainerPort

func Convert_v1_ContainerPort_To_api_ContainerPort(in *v1.ContainerPort, out *api.ContainerPort, s conversion.Scope) error

func Convert_v1_Container_To_api_Container

func Convert_v1_Container_To_api_Container(in *v1.Container, out *api.Container, s conversion.Scope) error

func Convert_v1_DownwardAPIVolumeFile_To_api_DownwardAPIVolumeFile

func Convert_v1_DownwardAPIVolumeFile_To_api_DownwardAPIVolumeFile(in *v1.DownwardAPIVolumeFile, out *api.DownwardAPIVolumeFile, s conversion.Scope) error

func Convert_v1_DownwardAPIVolumeSource_To_api_DownwardAPIVolumeSource

func Convert_v1_DownwardAPIVolumeSource_To_api_DownwardAPIVolumeSource(in *v1.DownwardAPIVolumeSource, out *api.DownwardAPIVolumeSource, s conversion.Scope) error

func Convert_v1_EmptyDirVolumeSource_To_api_EmptyDirVolumeSource

func Convert_v1_EmptyDirVolumeSource_To_api_EmptyDirVolumeSource(in *v1.EmptyDirVolumeSource, out *api.EmptyDirVolumeSource, s conversion.Scope) error

func Convert_v1_EnvVarSource_To_api_EnvVarSource

func Convert_v1_EnvVarSource_To_api_EnvVarSource(in *v1.EnvVarSource, out *api.EnvVarSource, s conversion.Scope) error

func Convert_v1_EnvVar_To_api_EnvVar

func Convert_v1_EnvVar_To_api_EnvVar(in *v1.EnvVar, out *api.EnvVar, s conversion.Scope) error

func Convert_v1_ExecAction_To_api_ExecAction

func Convert_v1_ExecAction_To_api_ExecAction(in *v1.ExecAction, out *api.ExecAction, s conversion.Scope) error

func Convert_v1_FCVolumeSource_To_api_FCVolumeSource

func Convert_v1_FCVolumeSource_To_api_FCVolumeSource(in *v1.FCVolumeSource, out *api.FCVolumeSource, s conversion.Scope) error

func Convert_v1_FlexVolumeSource_To_api_FlexVolumeSource

func Convert_v1_FlexVolumeSource_To_api_FlexVolumeSource(in *v1.FlexVolumeSource, out *api.FlexVolumeSource, s conversion.Scope) error

func Convert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource

func Convert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource(in *v1.FlockerVolumeSource, out *api.FlockerVolumeSource, s conversion.Scope) error

func Convert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolumeSource

func Convert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolumeSource(in *v1.GCEPersistentDiskVolumeSource, out *api.GCEPersistentDiskVolumeSource, s conversion.Scope) error

func Convert_v1_GitRepoVolumeSource_To_api_GitRepoVolumeSource

func Convert_v1_GitRepoVolumeSource_To_api_GitRepoVolumeSource(in *v1.GitRepoVolumeSource, out *api.GitRepoVolumeSource, s conversion.Scope) error

func Convert_v1_GlusterfsVolumeSource_To_api_GlusterfsVolumeSource

func Convert_v1_GlusterfsVolumeSource_To_api_GlusterfsVolumeSource(in *v1.GlusterfsVolumeSource, out *api.GlusterfsVolumeSource, s conversion.Scope) error

func Convert_v1_HTTPGetAction_To_api_HTTPGetAction

func Convert_v1_HTTPGetAction_To_api_HTTPGetAction(in *v1.HTTPGetAction, out *api.HTTPGetAction, s conversion.Scope) error

func Convert_v1_HTTPHeader_To_api_HTTPHeader

func Convert_v1_HTTPHeader_To_api_HTTPHeader(in *v1.HTTPHeader, out *api.HTTPHeader, s conversion.Scope) error

func Convert_v1_Handler_To_api_Handler

func Convert_v1_Handler_To_api_Handler(in *v1.Handler, out *api.Handler, s conversion.Scope) error

func Convert_v1_HostPathVolumeSource_To_api_HostPathVolumeSource

func Convert_v1_HostPathVolumeSource_To_api_HostPathVolumeSource(in *v1.HostPathVolumeSource, out *api.HostPathVolumeSource, s conversion.Scope) error

func Convert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource

func Convert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *v1.ISCSIVolumeSource, out *api.ISCSIVolumeSource, s conversion.Scope) error

func Convert_v1_JobCondition_To_extensions_JobCondition

func Convert_v1_JobCondition_To_extensions_JobCondition(in *JobCondition, out *extensions.JobCondition, s conversion.Scope) error

func Convert_v1_JobList_To_extensions_JobList

func Convert_v1_JobList_To_extensions_JobList(in *JobList, out *extensions.JobList, s conversion.Scope) error

func Convert_v1_JobSpec_To_extensions_JobSpec

func Convert_v1_JobSpec_To_extensions_JobSpec(in *JobSpec, out *extensions.JobSpec, s conversion.Scope) error

func Convert_v1_JobStatus_To_extensions_JobStatus

func Convert_v1_JobStatus_To_extensions_JobStatus(in *JobStatus, out *extensions.JobStatus, s conversion.Scope) error

func Convert_v1_Job_To_extensions_Job

func Convert_v1_Job_To_extensions_Job(in *Job, out *extensions.Job, s conversion.Scope) error

func Convert_v1_KeyToPath_To_api_KeyToPath

func Convert_v1_KeyToPath_To_api_KeyToPath(in *v1.KeyToPath, out *api.KeyToPath, s conversion.Scope) error

func Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement

func Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement(in *LabelSelectorRequirement, out *unversioned.LabelSelectorRequirement, s conversion.Scope) error

func Convert_v1_LabelSelector_To_unversioned_LabelSelector

func Convert_v1_LabelSelector_To_unversioned_LabelSelector(in *LabelSelector, out *unversioned.LabelSelector, s conversion.Scope) error

func Convert_v1_Lifecycle_To_api_Lifecycle

func Convert_v1_Lifecycle_To_api_Lifecycle(in *v1.Lifecycle, out *api.Lifecycle, s conversion.Scope) error

func Convert_v1_LocalObjectReference_To_api_LocalObjectReference

func Convert_v1_LocalObjectReference_To_api_LocalObjectReference(in *v1.LocalObjectReference, out *api.LocalObjectReference, s conversion.Scope) error

func Convert_v1_NFSVolumeSource_To_api_NFSVolumeSource

func Convert_v1_NFSVolumeSource_To_api_NFSVolumeSource(in *v1.NFSVolumeSource, out *api.NFSVolumeSource, s conversion.Scope) error

func Convert_v1_ObjectFieldSelector_To_api_ObjectFieldSelector

func Convert_v1_ObjectFieldSelector_To_api_ObjectFieldSelector(in *v1.ObjectFieldSelector, out *api.ObjectFieldSelector, s conversion.Scope) error

func Convert_v1_ObjectMeta_To_api_ObjectMeta

func Convert_v1_ObjectMeta_To_api_ObjectMeta(in *v1.ObjectMeta, out *api.ObjectMeta, s conversion.Scope) error

func Convert_v1_PersistentVolumeClaimVolumeSource_To_api_PersistentVolumeClaimVolumeSource

func Convert_v1_PersistentVolumeClaimVolumeSource_To_api_PersistentVolumeClaimVolumeSource(in *v1.PersistentVolumeClaimVolumeSource, out *api.PersistentVolumeClaimVolumeSource, s conversion.Scope) error

func Convert_v1_PodSpec_To_api_PodSpec

func Convert_v1_PodSpec_To_api_PodSpec(in *v1.PodSpec, out *api.PodSpec, s conversion.Scope) error

func Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec

func Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(in *v1.PodTemplateSpec, out *api.PodTemplateSpec, s conversion.Scope) error

func Convert_v1_Probe_To_api_Probe

func Convert_v1_Probe_To_api_Probe(in *v1.Probe, out *api.Probe, s conversion.Scope) error

func Convert_v1_RBDVolumeSource_To_api_RBDVolumeSource

func Convert_v1_RBDVolumeSource_To_api_RBDVolumeSource(in *v1.RBDVolumeSource, out *api.RBDVolumeSource, s conversion.Scope) error

func Convert_v1_ResourceRequirements_To_api_ResourceRequirements

func Convert_v1_ResourceRequirements_To_api_ResourceRequirements(in *v1.ResourceRequirements, out *api.ResourceRequirements, s conversion.Scope) error

func Convert_v1_SELinuxOptions_To_api_SELinuxOptions

func Convert_v1_SELinuxOptions_To_api_SELinuxOptions(in *v1.SELinuxOptions, out *api.SELinuxOptions, s conversion.Scope) error

func Convert_v1_SecretKeySelector_To_api_SecretKeySelector

func Convert_v1_SecretKeySelector_To_api_SecretKeySelector(in *v1.SecretKeySelector, out *api.SecretKeySelector, s conversion.Scope) error

func Convert_v1_SecretVolumeSource_To_api_SecretVolumeSource

func Convert_v1_SecretVolumeSource_To_api_SecretVolumeSource(in *v1.SecretVolumeSource, out *api.SecretVolumeSource, s conversion.Scope) error

func Convert_v1_SecurityContext_To_api_SecurityContext

func Convert_v1_SecurityContext_To_api_SecurityContext(in *v1.SecurityContext, out *api.SecurityContext, s conversion.Scope) error

func Convert_v1_TCPSocketAction_To_api_TCPSocketAction

func Convert_v1_TCPSocketAction_To_api_TCPSocketAction(in *v1.TCPSocketAction, out *api.TCPSocketAction, s conversion.Scope) error

func Convert_v1_VolumeMount_To_api_VolumeMount

func Convert_v1_VolumeMount_To_api_VolumeMount(in *v1.VolumeMount, out *api.VolumeMount, s conversion.Scope) error

func Convert_v1_VolumeSource_To_api_VolumeSource

func Convert_v1_VolumeSource_To_api_VolumeSource(in *v1.VolumeSource, out *api.VolumeSource, s conversion.Scope) error

func Convert_v1_Volume_To_api_Volume

func Convert_v1_Volume_To_api_Volume(in *v1.Volume, out *api.Volume, s conversion.Scope) error

func DeepCopy_v1_Job

func DeepCopy_v1_Job(in Job, out *Job, c *conversion.Cloner) error

func DeepCopy_v1_JobCondition

func DeepCopy_v1_JobCondition(in JobCondition, out *JobCondition, c *conversion.Cloner) error

func DeepCopy_v1_JobList

func DeepCopy_v1_JobList(in JobList, out *JobList, c *conversion.Cloner) error

func DeepCopy_v1_JobSpec

func DeepCopy_v1_JobSpec(in JobSpec, out *JobSpec, c *conversion.Cloner) error

func DeepCopy_v1_JobStatus

func DeepCopy_v1_JobStatus(in JobStatus, out *JobStatus, c *conversion.Cloner) error

func DeepCopy_v1_LabelSelector

func DeepCopy_v1_LabelSelector(in LabelSelector, out *LabelSelector, c *conversion.Cloner) error

Types

type Job

type Job struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty"`

	// Spec is a structure defining the expected behavior of a job.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
	Spec JobSpec `json:"spec,omitempty"`

	// Status is a structure describing current status of a job.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
	Status JobStatus `json:"status,omitempty"`
}

Job represents the configuration of a single job.

func (*Job) CodecDecodeSelf

func (x *Job) CodecDecodeSelf(d *codec1978.Decoder)

func (*Job) CodecEncodeSelf

func (x *Job) CodecEncodeSelf(e *codec1978.Encoder)

func (*Job) GetObjectKind

func (obj *Job) GetObjectKind() unversioned.ObjectKind

func (Job) SwaggerDoc

func (Job) SwaggerDoc() map[string]string

type JobCondition

type JobCondition struct {
	// Type of job condition, Complete or Failed.
	Type JobConditionType `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status"`
	// Last time the condition was checked.
	LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty"`
	// Last time the condition transit from one status to another.
	LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty"`
	// (brief) reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`
	// Human readable message indicating details about last transition.
	Message string `json:"message,omitempty"`
}

JobCondition describes current state of a job.

func (*JobCondition) CodecDecodeSelf

func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder)

func (*JobCondition) CodecEncodeSelf

func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder)

func (JobCondition) SwaggerDoc

func (JobCondition) SwaggerDoc() map[string]string

type JobConditionType

type JobConditionType string
const (
	// JobComplete means the job has completed its execution.
	JobComplete JobConditionType = "Complete"
	// JobFailed means the job has failed its execution.
	JobFailed JobConditionType = "Failed"
)

These are valid conditions of a job.

func (*JobConditionType) CodecDecodeSelf

func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder)

func (JobConditionType) CodecEncodeSelf

func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder)

type JobList

type JobList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty"`

	// Items is the list of Job.
	Items []Job `json:"items"`
}

JobList is a collection of jobs.

func (*JobList) CodecDecodeSelf

func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder)

func (*JobList) CodecEncodeSelf

func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder)

func (*JobList) GetObjectKind

func (obj *JobList) GetObjectKind() unversioned.ObjectKind

func (JobList) SwaggerDoc

func (JobList) SwaggerDoc() map[string]string

type JobSpec

type JobSpec struct {

	// Parallelism specifies the maximum desired number of pods the job should
	// run at any given time. The actual number of pods running in steady state will
	// be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism),
	// i.e. when the work left to do is less than max parallelism.
	// More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md
	Parallelism *int32 `json:"parallelism,omitempty"`

	// Completions specifies the desired number of successfully finished pods the
	// job should be run with.  Setting to nil means that the success of any
	// pod signals the success of all pods, and allows parallelism to have any positive
	// value.  Setting to 1 means that parallelism is limited to 1 and the success of that
	// pod signals the success of the job.
	// More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md
	Completions *int32 `json:"completions,omitempty"`

	// Optional duration in seconds relative to the startTime that the job may be active
	// before the system tries to terminate it; value must be positive integer
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`

	// Selector is a label query over pods that should match the pod count.
	// Normally, the system sets this field for you.
	// More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors
	Selector *LabelSelector `json:"selector,omitempty"`

	// ManualSelector controls generation of pod labels and pod selectors.
	// Leave `manualSelector` unset unless you are certain what you are doing.
	// When false or unset, the system pick labels unique to this job
	// and appends those labels to the pod template.  When true,
	// the user is responsible for picking unique labels and specifying
	// the selector.  Failure to pick a unique label may cause this
	// and other jobs to not function correctly.  However, You may see
	// `manualSelector=true` in jobs that were created with the old `extensions/v1beta1`
	// API.
	// More info: http://releases.k8s.io/HEAD/docs/design/selector-generation.md
	ManualSelector *bool `json:"manualSelector,omitempty"`

	// Template is the object that describes the pod that will be created when
	// executing a job.
	// More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md
	Template v1.PodTemplateSpec `json:"template"`
}

JobSpec describes how the job execution will look like.

func (*JobSpec) CodecDecodeSelf

func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder)

func (*JobSpec) CodecEncodeSelf

func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder)

func (JobSpec) SwaggerDoc

func (JobSpec) SwaggerDoc() map[string]string

type JobStatus

type JobStatus struct {

	// Conditions represent the latest available observations of an object's current state.
	// More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md
	Conditions []JobCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	// StartTime represents time when the job was acknowledged by the Job Manager.
	// It is not guaranteed to be set in happens-before order across separate operations.
	// It is represented in RFC3339 form and is in UTC.
	StartTime *unversioned.Time `json:"startTime,omitempty"`

	// CompletionTime represents time when the job was completed. It is not guaranteed to
	// be set in happens-before order across separate operations.
	// It is represented in RFC3339 form and is in UTC.
	CompletionTime *unversioned.Time `json:"completionTime,omitempty"`

	// Active is the number of actively running pods.
	Active int32 `json:"active,omitempty"`

	// Succeeded is the number of pods which reached Phase Succeeded.
	Succeeded int32 `json:"succeeded,omitempty"`

	// Failed is the number of pods which reached Phase Failed.
	Failed int32 `json:"failed,omitempty"`
}

JobStatus represents the current state of a Job.

func (*JobStatus) CodecDecodeSelf

func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder)

func (*JobStatus) CodecEncodeSelf

func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder)

func (JobStatus) SwaggerDoc

func (JobStatus) SwaggerDoc() map[string]string

type LabelSelector

type LabelSelector struct {
	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty"`
}

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

func (*LabelSelector) CodecDecodeSelf

func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder)

func (*LabelSelector) CodecEncodeSelf

func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder)

func (LabelSelector) SwaggerDoc

func (LabelSelector) SwaggerDoc() map[string]string

type LabelSelectorOperator

type LabelSelectorOperator string

A label selector operator is the set of operators that can be used in a selector requirement.

const (
	LabelSelectorOpIn           LabelSelectorOperator = "In"
	LabelSelectorOpNotIn        LabelSelectorOperator = "NotIn"
	LabelSelectorOpExists       LabelSelectorOperator = "Exists"
	LabelSelectorOpDoesNotExist LabelSelectorOperator = "DoesNotExist"
)

func (*LabelSelectorOperator) CodecDecodeSelf

func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder)

func (LabelSelectorOperator) CodecEncodeSelf

func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder)

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	// key is the label key that the selector applies to.
	Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key"`
	// operator represents a key's relationship to a set of values.
	// Valid operators ard In, NotIn, Exists and DoesNotExist.
	Operator LabelSelectorOperator `json:"operator"`
	// values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	Values []string `json:"values,omitempty"`
}

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*LabelSelectorRequirement) CodecDecodeSelf

func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder)

func (*LabelSelectorRequirement) CodecEncodeSelf

func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder)

func (LabelSelectorRequirement) SwaggerDoc

func (LabelSelectorRequirement) SwaggerDoc() map[string]string

Jump to

Keyboard shortcuts

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