v1beta1

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+genconversion=true

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:
	k8s.io/kubernetes/pkg/apis/extensions/v1beta1/generated.proto

It has these top-level messages:
	APIVersion
	CPUTargetUtilization
	CustomMetricCurrentStatus
	CustomMetricCurrentStatusList
	CustomMetricTarget
	CustomMetricTargetList
	DaemonSet
	DaemonSetList
	DaemonSetSpec
	DaemonSetStatus
	Deployment
	DeploymentList
	DeploymentRollback
	DeploymentSpec
	DeploymentStatus
	DeploymentStrategy
	ExportOptions
	FSGroupStrategyOptions
	HTTPIngressPath
	HTTPIngressRuleValue
	HorizontalPodAutoscaler
	HorizontalPodAutoscalerList
	HorizontalPodAutoscalerSpec
	HorizontalPodAutoscalerStatus
	HostPortRange
	IDRange
	Ingress
	IngressBackend
	IngressList
	IngressRule
	IngressRuleValue
	IngressSpec
	IngressStatus
	IngressTLS
	Job
	JobCondition
	JobList
	JobSpec
	JobStatus
	LabelSelector
	LabelSelectorRequirement
	ListOptions
	NetworkPolicy
	NetworkPolicyIngressRule
	NetworkPolicyList
	NetworkPolicyPeer
	NetworkPolicyPort
	NetworkPolicySpec
	PodSecurityPolicy
	PodSecurityPolicyList
	PodSecurityPolicySpec
	ReplicaSet
	ReplicaSetList
	ReplicaSetSpec
	ReplicaSetStatus
	ReplicationControllerDummy
	RollbackConfig
	RollingUpdateDeployment
	RunAsUserStrategyOptions
	SELinuxStrategyOptions
	Scale
	ScaleSpec
	ScaleStatus
	SubresourceReference
	SupplementalGroupsStrategyOptions
	ThirdPartyResource
	ThirdPartyResourceData
	ThirdPartyResourceDataList
	ThirdPartyResourceList

Index

Constants

View Source
const (
	// DefaultDaemonSetUniqueLabelKey is the default key of the labels that is added
	// to daemon set pods to distinguish between old and new pod templates during
	// DaemonSet update. See DaemonSetSpec's UniqueLabelKey field for more information.
	DefaultDaemonSetUniqueLabelKey string = "daemonset.kubernetes.io/podTemplateHash"
)
View Source
const (
	// DefaultDeploymentUniqueLabelKey is the default key of the selector that is added
	// to existing RCs (and label key that is added to its pods) to prevent the existing RCs
	// to select new pods (and old pods being select by new RC).
	DefaultDeploymentUniqueLabelKey string = "pod-template-hash"
)
View Source
const GroupName = "extensions"

GroupName is the group name use in this package

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

func Convert_autoscaling_CrossVersionObjectReference_To_v1beta1_SubresourceReference added in v1.3.0

func Convert_autoscaling_CrossVersionObjectReference_To_v1beta1_SubresourceReference(in *autoscaling.CrossVersionObjectReference, out *SubresourceReference, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscalerList_To_v1beta1_HorizontalPodAutoscalerList added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscalerList_To_v1beta1_HorizontalPodAutoscalerList(in *autoscaling.HorizontalPodAutoscalerList, out *HorizontalPodAutoscalerList, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscalerSpec_To_v1beta1_HorizontalPodAutoscalerSpec added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscalerSpec_To_v1beta1_HorizontalPodAutoscalerSpec(in *autoscaling.HorizontalPodAutoscalerSpec, out *HorizontalPodAutoscalerSpec, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscalerStatus_To_v1beta1_HorizontalPodAutoscalerStatus added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscalerStatus_To_v1beta1_HorizontalPodAutoscalerStatus(in *autoscaling.HorizontalPodAutoscalerStatus, out *HorizontalPodAutoscalerStatus, s conversion.Scope) error

func Convert_autoscaling_HorizontalPodAutoscaler_To_v1beta1_HorizontalPodAutoscaler added in v1.3.0

func Convert_autoscaling_HorizontalPodAutoscaler_To_v1beta1_HorizontalPodAutoscaler(in *autoscaling.HorizontalPodAutoscaler, out *HorizontalPodAutoscaler, s conversion.Scope) error

func Convert_batch_JobCondition_To_v1beta1_JobCondition added in v1.3.0

func Convert_batch_JobCondition_To_v1beta1_JobCondition(in *batch.JobCondition, out *JobCondition, s conversion.Scope) error

func Convert_batch_JobList_To_v1beta1_JobList added in v1.3.0

func Convert_batch_JobList_To_v1beta1_JobList(in *batch.JobList, out *JobList, s conversion.Scope) error

func Convert_batch_JobSpec_To_v1beta1_JobSpec added in v1.3.0

func Convert_batch_JobSpec_To_v1beta1_JobSpec(in *batch.JobSpec, out *JobSpec, s conversion.Scope) error

func Convert_batch_JobStatus_To_v1beta1_JobStatus added in v1.3.0

func Convert_batch_JobStatus_To_v1beta1_JobStatus(in *batch.JobStatus, out *JobStatus, s conversion.Scope) error

func Convert_batch_Job_To_v1beta1_Job added in v1.3.0

func Convert_batch_Job_To_v1beta1_Job(in *batch.Job, out *Job, s conversion.Scope) error

func Convert_extensions_APIVersion_To_v1beta1_APIVersion

func Convert_extensions_APIVersion_To_v1beta1_APIVersion(in *extensions.APIVersion, out *APIVersion, s conversion.Scope) error

func Convert_extensions_CustomMetricCurrentStatusList_To_v1beta1_CustomMetricCurrentStatusList added in v1.3.0

func Convert_extensions_CustomMetricCurrentStatusList_To_v1beta1_CustomMetricCurrentStatusList(in *extensions.CustomMetricCurrentStatusList, out *CustomMetricCurrentStatusList, s conversion.Scope) error

func Convert_extensions_CustomMetricCurrentStatus_To_v1beta1_CustomMetricCurrentStatus added in v1.3.0

func Convert_extensions_CustomMetricCurrentStatus_To_v1beta1_CustomMetricCurrentStatus(in *extensions.CustomMetricCurrentStatus, out *CustomMetricCurrentStatus, s conversion.Scope) error

func Convert_extensions_CustomMetricTargetList_To_v1beta1_CustomMetricTargetList added in v1.3.0

func Convert_extensions_CustomMetricTargetList_To_v1beta1_CustomMetricTargetList(in *extensions.CustomMetricTargetList, out *CustomMetricTargetList, s conversion.Scope) error

func Convert_extensions_CustomMetricTarget_To_v1beta1_CustomMetricTarget added in v1.3.0

func Convert_extensions_CustomMetricTarget_To_v1beta1_CustomMetricTarget(in *extensions.CustomMetricTarget, out *CustomMetricTarget, s conversion.Scope) error

func Convert_extensions_DaemonSetList_To_v1beta1_DaemonSetList

func Convert_extensions_DaemonSetList_To_v1beta1_DaemonSetList(in *extensions.DaemonSetList, out *DaemonSetList, s conversion.Scope) error

func Convert_extensions_DaemonSetSpec_To_v1beta1_DaemonSetSpec

func Convert_extensions_DaemonSetSpec_To_v1beta1_DaemonSetSpec(in *extensions.DaemonSetSpec, out *DaemonSetSpec, s conversion.Scope) error

func Convert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus

func Convert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus(in *extensions.DaemonSetStatus, out *DaemonSetStatus, s conversion.Scope) error

func Convert_extensions_DaemonSet_To_v1beta1_DaemonSet

func Convert_extensions_DaemonSet_To_v1beta1_DaemonSet(in *extensions.DaemonSet, out *DaemonSet, s conversion.Scope) error

func Convert_extensions_DeploymentList_To_v1beta1_DeploymentList

func Convert_extensions_DeploymentList_To_v1beta1_DeploymentList(in *extensions.DeploymentList, out *DeploymentList, s conversion.Scope) error

func Convert_extensions_DeploymentRollback_To_v1beta1_DeploymentRollback added in v0.4.0

func Convert_extensions_DeploymentRollback_To_v1beta1_DeploymentRollback(in *extensions.DeploymentRollback, out *DeploymentRollback, s conversion.Scope) error

func Convert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec

func Convert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensions.DeploymentSpec, out *DeploymentSpec, s conversion.Scope) error

func Convert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus

func Convert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *extensions.DeploymentStatus, out *DeploymentStatus, s conversion.Scope) error

func Convert_extensions_DeploymentStrategy_To_v1beta1_DeploymentStrategy

func Convert_extensions_DeploymentStrategy_To_v1beta1_DeploymentStrategy(in *extensions.DeploymentStrategy, out *DeploymentStrategy, s conversion.Scope) error

func Convert_extensions_Deployment_To_v1beta1_Deployment

func Convert_extensions_Deployment_To_v1beta1_Deployment(in *extensions.Deployment, out *Deployment, s conversion.Scope) error

func Convert_extensions_FSGroupStrategyOptions_To_v1beta1_FSGroupStrategyOptions added in v1.3.0

func Convert_extensions_FSGroupStrategyOptions_To_v1beta1_FSGroupStrategyOptions(in *extensions.FSGroupStrategyOptions, out *FSGroupStrategyOptions, s conversion.Scope) error

func Convert_extensions_HTTPIngressPath_To_v1beta1_HTTPIngressPath

func Convert_extensions_HTTPIngressPath_To_v1beta1_HTTPIngressPath(in *extensions.HTTPIngressPath, out *HTTPIngressPath, s conversion.Scope) error

func Convert_extensions_HTTPIngressRuleValue_To_v1beta1_HTTPIngressRuleValue

func Convert_extensions_HTTPIngressRuleValue_To_v1beta1_HTTPIngressRuleValue(in *extensions.HTTPIngressRuleValue, out *HTTPIngressRuleValue, s conversion.Scope) error

func Convert_extensions_HostPortRange_To_v1beta1_HostPortRange added in v0.4.0

func Convert_extensions_HostPortRange_To_v1beta1_HostPortRange(in *extensions.HostPortRange, out *HostPortRange, s conversion.Scope) error

func Convert_extensions_IDRange_To_v1beta1_IDRange added in v0.4.0

func Convert_extensions_IDRange_To_v1beta1_IDRange(in *extensions.IDRange, out *IDRange, s conversion.Scope) error

func Convert_extensions_IngressBackend_To_v1beta1_IngressBackend

func Convert_extensions_IngressBackend_To_v1beta1_IngressBackend(in *extensions.IngressBackend, out *IngressBackend, s conversion.Scope) error

func Convert_extensions_IngressList_To_v1beta1_IngressList

func Convert_extensions_IngressList_To_v1beta1_IngressList(in *extensions.IngressList, out *IngressList, s conversion.Scope) error

func Convert_extensions_IngressRuleValue_To_v1beta1_IngressRuleValue

func Convert_extensions_IngressRuleValue_To_v1beta1_IngressRuleValue(in *extensions.IngressRuleValue, out *IngressRuleValue, s conversion.Scope) error

func Convert_extensions_IngressRule_To_v1beta1_IngressRule

func Convert_extensions_IngressRule_To_v1beta1_IngressRule(in *extensions.IngressRule, out *IngressRule, s conversion.Scope) error

func Convert_extensions_IngressSpec_To_v1beta1_IngressSpec

func Convert_extensions_IngressSpec_To_v1beta1_IngressSpec(in *extensions.IngressSpec, out *IngressSpec, s conversion.Scope) error

func Convert_extensions_IngressStatus_To_v1beta1_IngressStatus

func Convert_extensions_IngressStatus_To_v1beta1_IngressStatus(in *extensions.IngressStatus, out *IngressStatus, s conversion.Scope) error

func Convert_extensions_IngressTLS_To_v1beta1_IngressTLS added in v0.4.0

func Convert_extensions_IngressTLS_To_v1beta1_IngressTLS(in *extensions.IngressTLS, out *IngressTLS, s conversion.Scope) error

func Convert_extensions_Ingress_To_v1beta1_Ingress

func Convert_extensions_Ingress_To_v1beta1_Ingress(in *extensions.Ingress, out *Ingress, s conversion.Scope) error

func Convert_extensions_NetworkPolicyIngressRule_To_v1beta1_NetworkPolicyIngressRule added in v1.3.0

func Convert_extensions_NetworkPolicyIngressRule_To_v1beta1_NetworkPolicyIngressRule(in *extensions.NetworkPolicyIngressRule, out *NetworkPolicyIngressRule, s conversion.Scope) error

func Convert_extensions_NetworkPolicyList_To_v1beta1_NetworkPolicyList added in v1.3.0

func Convert_extensions_NetworkPolicyList_To_v1beta1_NetworkPolicyList(in *extensions.NetworkPolicyList, out *NetworkPolicyList, s conversion.Scope) error

func Convert_extensions_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer added in v1.3.0

func Convert_extensions_NetworkPolicyPeer_To_v1beta1_NetworkPolicyPeer(in *extensions.NetworkPolicyPeer, out *NetworkPolicyPeer, s conversion.Scope) error

func Convert_extensions_NetworkPolicyPort_To_v1beta1_NetworkPolicyPort added in v1.3.0

func Convert_extensions_NetworkPolicyPort_To_v1beta1_NetworkPolicyPort(in *extensions.NetworkPolicyPort, out *NetworkPolicyPort, s conversion.Scope) error

func Convert_extensions_NetworkPolicySpec_To_v1beta1_NetworkPolicySpec added in v1.3.0

func Convert_extensions_NetworkPolicySpec_To_v1beta1_NetworkPolicySpec(in *extensions.NetworkPolicySpec, out *NetworkPolicySpec, s conversion.Scope) error

func Convert_extensions_NetworkPolicy_To_v1beta1_NetworkPolicy added in v1.3.0

func Convert_extensions_NetworkPolicy_To_v1beta1_NetworkPolicy(in *extensions.NetworkPolicy, out *NetworkPolicy, s conversion.Scope) error

func Convert_extensions_PodSecurityPolicyList_To_v1beta1_PodSecurityPolicyList added in v0.4.0

func Convert_extensions_PodSecurityPolicyList_To_v1beta1_PodSecurityPolicyList(in *extensions.PodSecurityPolicyList, out *PodSecurityPolicyList, s conversion.Scope) error

func Convert_extensions_PodSecurityPolicySpec_To_v1beta1_PodSecurityPolicySpec added in v0.4.0

func Convert_extensions_PodSecurityPolicySpec_To_v1beta1_PodSecurityPolicySpec(in *extensions.PodSecurityPolicySpec, out *PodSecurityPolicySpec, s conversion.Scope) error

func Convert_extensions_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy added in v0.4.0

func Convert_extensions_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy(in *extensions.PodSecurityPolicy, out *PodSecurityPolicy, s conversion.Scope) error

func Convert_extensions_ReplicaSetList_To_v1beta1_ReplicaSetList added in v0.4.0

func Convert_extensions_ReplicaSetList_To_v1beta1_ReplicaSetList(in *extensions.ReplicaSetList, out *ReplicaSetList, s conversion.Scope) error

func Convert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec added in v0.4.0

func Convert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensions.ReplicaSetSpec, out *ReplicaSetSpec, s conversion.Scope) error

func Convert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus added in v0.4.0

func Convert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus(in *extensions.ReplicaSetStatus, out *ReplicaSetStatus, s conversion.Scope) error

func Convert_extensions_ReplicaSet_To_v1beta1_ReplicaSet added in v0.4.0

func Convert_extensions_ReplicaSet_To_v1beta1_ReplicaSet(in *extensions.ReplicaSet, out *ReplicaSet, s conversion.Scope) error

func Convert_extensions_ReplicationControllerDummy_To_v1beta1_ReplicationControllerDummy

func Convert_extensions_ReplicationControllerDummy_To_v1beta1_ReplicationControllerDummy(in *extensions.ReplicationControllerDummy, out *ReplicationControllerDummy, s conversion.Scope) error

func Convert_extensions_RollbackConfig_To_v1beta1_RollbackConfig added in v0.4.0

func Convert_extensions_RollbackConfig_To_v1beta1_RollbackConfig(in *extensions.RollbackConfig, out *RollbackConfig, s conversion.Scope) error

func Convert_extensions_RollingUpdateDeployment_To_v1beta1_RollingUpdateDeployment

func Convert_extensions_RollingUpdateDeployment_To_v1beta1_RollingUpdateDeployment(in *extensions.RollingUpdateDeployment, out *RollingUpdateDeployment, s conversion.Scope) error

func Convert_extensions_RunAsUserStrategyOptions_To_v1beta1_RunAsUserStrategyOptions added in v0.4.0

func Convert_extensions_RunAsUserStrategyOptions_To_v1beta1_RunAsUserStrategyOptions(in *extensions.RunAsUserStrategyOptions, out *RunAsUserStrategyOptions, s conversion.Scope) error

func Convert_extensions_SELinuxStrategyOptions_To_v1beta1_SELinuxStrategyOptions added in v0.4.0

func Convert_extensions_SELinuxStrategyOptions_To_v1beta1_SELinuxStrategyOptions(in *extensions.SELinuxStrategyOptions, out *SELinuxStrategyOptions, s conversion.Scope) error

func Convert_extensions_ScaleSpec_To_v1beta1_ScaleSpec

func Convert_extensions_ScaleSpec_To_v1beta1_ScaleSpec(in *extensions.ScaleSpec, out *ScaleSpec, s conversion.Scope) error

func Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus

func Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus(in *extensions.ScaleStatus, out *ScaleStatus, s conversion.Scope) error

func Convert_extensions_Scale_To_v1beta1_Scale

func Convert_extensions_Scale_To_v1beta1_Scale(in *extensions.Scale, out *Scale, s conversion.Scope) error

func Convert_extensions_SupplementalGroupsStrategyOptions_To_v1beta1_SupplementalGroupsStrategyOptions added in v1.3.0

func Convert_extensions_SupplementalGroupsStrategyOptions_To_v1beta1_SupplementalGroupsStrategyOptions(in *extensions.SupplementalGroupsStrategyOptions, out *SupplementalGroupsStrategyOptions, s conversion.Scope) error

func Convert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResourceDataList

func Convert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResourceDataList(in *extensions.ThirdPartyResourceDataList, out *ThirdPartyResourceDataList, s conversion.Scope) error

func Convert_extensions_ThirdPartyResourceData_To_v1beta1_ThirdPartyResourceData

func Convert_extensions_ThirdPartyResourceData_To_v1beta1_ThirdPartyResourceData(in *extensions.ThirdPartyResourceData, out *ThirdPartyResourceData, s conversion.Scope) error

func Convert_extensions_ThirdPartyResourceList_To_v1beta1_ThirdPartyResourceList

func Convert_extensions_ThirdPartyResourceList_To_v1beta1_ThirdPartyResourceList(in *extensions.ThirdPartyResourceList, out *ThirdPartyResourceList, s conversion.Scope) error

func Convert_extensions_ThirdPartyResource_To_v1beta1_ThirdPartyResource

func Convert_extensions_ThirdPartyResource_To_v1beta1_ThirdPartyResource(in *extensions.ThirdPartyResource, out *ThirdPartyResource, s conversion.Scope) error

func Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement added in v0.4.0

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

func Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector added in v0.4.0

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

func Convert_v1beta1_APIVersion_To_extensions_APIVersion

func Convert_v1beta1_APIVersion_To_extensions_APIVersion(in *APIVersion, out *extensions.APIVersion, s conversion.Scope) error

func Convert_v1beta1_CustomMetricCurrentStatusList_To_extensions_CustomMetricCurrentStatusList added in v1.3.0

func Convert_v1beta1_CustomMetricCurrentStatusList_To_extensions_CustomMetricCurrentStatusList(in *CustomMetricCurrentStatusList, out *extensions.CustomMetricCurrentStatusList, s conversion.Scope) error

func Convert_v1beta1_CustomMetricCurrentStatus_To_extensions_CustomMetricCurrentStatus added in v1.3.0

func Convert_v1beta1_CustomMetricCurrentStatus_To_extensions_CustomMetricCurrentStatus(in *CustomMetricCurrentStatus, out *extensions.CustomMetricCurrentStatus, s conversion.Scope) error

func Convert_v1beta1_CustomMetricTargetList_To_extensions_CustomMetricTargetList added in v1.3.0

func Convert_v1beta1_CustomMetricTargetList_To_extensions_CustomMetricTargetList(in *CustomMetricTargetList, out *extensions.CustomMetricTargetList, s conversion.Scope) error

func Convert_v1beta1_CustomMetricTarget_To_extensions_CustomMetricTarget added in v1.3.0

func Convert_v1beta1_CustomMetricTarget_To_extensions_CustomMetricTarget(in *CustomMetricTarget, out *extensions.CustomMetricTarget, s conversion.Scope) error

func Convert_v1beta1_DaemonSetList_To_extensions_DaemonSetList

func Convert_v1beta1_DaemonSetList_To_extensions_DaemonSetList(in *DaemonSetList, out *extensions.DaemonSetList, s conversion.Scope) error

func Convert_v1beta1_DaemonSetSpec_To_extensions_DaemonSetSpec

func Convert_v1beta1_DaemonSetSpec_To_extensions_DaemonSetSpec(in *DaemonSetSpec, out *extensions.DaemonSetSpec, s conversion.Scope) error

func Convert_v1beta1_DaemonSetStatus_To_extensions_DaemonSetStatus

func Convert_v1beta1_DaemonSetStatus_To_extensions_DaemonSetStatus(in *DaemonSetStatus, out *extensions.DaemonSetStatus, s conversion.Scope) error

func Convert_v1beta1_DaemonSet_To_extensions_DaemonSet

func Convert_v1beta1_DaemonSet_To_extensions_DaemonSet(in *DaemonSet, out *extensions.DaemonSet, s conversion.Scope) error

func Convert_v1beta1_DeploymentList_To_extensions_DeploymentList

func Convert_v1beta1_DeploymentList_To_extensions_DeploymentList(in *DeploymentList, out *extensions.DeploymentList, s conversion.Scope) error

func Convert_v1beta1_DeploymentRollback_To_extensions_DeploymentRollback added in v0.4.0

func Convert_v1beta1_DeploymentRollback_To_extensions_DeploymentRollback(in *DeploymentRollback, out *extensions.DeploymentRollback, s conversion.Scope) error

func Convert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec

func Convert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *DeploymentSpec, out *extensions.DeploymentSpec, s conversion.Scope) error

func Convert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus

func Convert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *DeploymentStatus, out *extensions.DeploymentStatus, s conversion.Scope) error

func Convert_v1beta1_DeploymentStrategy_To_extensions_DeploymentStrategy

func Convert_v1beta1_DeploymentStrategy_To_extensions_DeploymentStrategy(in *DeploymentStrategy, out *extensions.DeploymentStrategy, s conversion.Scope) error

func Convert_v1beta1_Deployment_To_extensions_Deployment

func Convert_v1beta1_Deployment_To_extensions_Deployment(in *Deployment, out *extensions.Deployment, s conversion.Scope) error

func Convert_v1beta1_FSGroupStrategyOptions_To_extensions_FSGroupStrategyOptions added in v1.3.0

func Convert_v1beta1_FSGroupStrategyOptions_To_extensions_FSGroupStrategyOptions(in *FSGroupStrategyOptions, out *extensions.FSGroupStrategyOptions, s conversion.Scope) error

func Convert_v1beta1_HTTPIngressPath_To_extensions_HTTPIngressPath

func Convert_v1beta1_HTTPIngressPath_To_extensions_HTTPIngressPath(in *HTTPIngressPath, out *extensions.HTTPIngressPath, s conversion.Scope) error

func Convert_v1beta1_HTTPIngressRuleValue_To_extensions_HTTPIngressRuleValue

func Convert_v1beta1_HTTPIngressRuleValue_To_extensions_HTTPIngressRuleValue(in *HTTPIngressRuleValue, out *extensions.HTTPIngressRuleValue, s conversion.Scope) error

func Convert_v1beta1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAutoscalerList added in v1.3.0

func Convert_v1beta1_HorizontalPodAutoscalerList_To_autoscaling_HorizontalPodAutoscalerList(in *HorizontalPodAutoscalerList, out *autoscaling.HorizontalPodAutoscalerList, s conversion.Scope) error

func Convert_v1beta1_HorizontalPodAutoscalerSpec_To_autoscaling_HorizontalPodAutoscalerSpec added in v1.3.0

func Convert_v1beta1_HorizontalPodAutoscalerSpec_To_autoscaling_HorizontalPodAutoscalerSpec(in *HorizontalPodAutoscalerSpec, out *autoscaling.HorizontalPodAutoscalerSpec, s conversion.Scope) error

func Convert_v1beta1_HorizontalPodAutoscalerStatus_To_autoscaling_HorizontalPodAutoscalerStatus added in v1.3.0

func Convert_v1beta1_HorizontalPodAutoscalerStatus_To_autoscaling_HorizontalPodAutoscalerStatus(in *HorizontalPodAutoscalerStatus, out *autoscaling.HorizontalPodAutoscalerStatus, s conversion.Scope) error

func Convert_v1beta1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler added in v1.3.0

func Convert_v1beta1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler(in *HorizontalPodAutoscaler, out *autoscaling.HorizontalPodAutoscaler, s conversion.Scope) error

func Convert_v1beta1_HostPortRange_To_extensions_HostPortRange added in v0.4.0

func Convert_v1beta1_HostPortRange_To_extensions_HostPortRange(in *HostPortRange, out *extensions.HostPortRange, s conversion.Scope) error

func Convert_v1beta1_IDRange_To_extensions_IDRange added in v0.4.0

func Convert_v1beta1_IDRange_To_extensions_IDRange(in *IDRange, out *extensions.IDRange, s conversion.Scope) error

func Convert_v1beta1_IngressBackend_To_extensions_IngressBackend

func Convert_v1beta1_IngressBackend_To_extensions_IngressBackend(in *IngressBackend, out *extensions.IngressBackend, s conversion.Scope) error

func Convert_v1beta1_IngressList_To_extensions_IngressList

func Convert_v1beta1_IngressList_To_extensions_IngressList(in *IngressList, out *extensions.IngressList, s conversion.Scope) error

func Convert_v1beta1_IngressRuleValue_To_extensions_IngressRuleValue

func Convert_v1beta1_IngressRuleValue_To_extensions_IngressRuleValue(in *IngressRuleValue, out *extensions.IngressRuleValue, s conversion.Scope) error

func Convert_v1beta1_IngressRule_To_extensions_IngressRule

func Convert_v1beta1_IngressRule_To_extensions_IngressRule(in *IngressRule, out *extensions.IngressRule, s conversion.Scope) error

func Convert_v1beta1_IngressSpec_To_extensions_IngressSpec

func Convert_v1beta1_IngressSpec_To_extensions_IngressSpec(in *IngressSpec, out *extensions.IngressSpec, s conversion.Scope) error

func Convert_v1beta1_IngressStatus_To_extensions_IngressStatus

func Convert_v1beta1_IngressStatus_To_extensions_IngressStatus(in *IngressStatus, out *extensions.IngressStatus, s conversion.Scope) error

func Convert_v1beta1_IngressTLS_To_extensions_IngressTLS added in v0.4.0

func Convert_v1beta1_IngressTLS_To_extensions_IngressTLS(in *IngressTLS, out *extensions.IngressTLS, s conversion.Scope) error

func Convert_v1beta1_Ingress_To_extensions_Ingress

func Convert_v1beta1_Ingress_To_extensions_Ingress(in *Ingress, out *extensions.Ingress, s conversion.Scope) error

func Convert_v1beta1_JobCondition_To_batch_JobCondition added in v1.3.0

func Convert_v1beta1_JobCondition_To_batch_JobCondition(in *JobCondition, out *batch.JobCondition, s conversion.Scope) error

func Convert_v1beta1_JobList_To_batch_JobList added in v1.3.0

func Convert_v1beta1_JobList_To_batch_JobList(in *JobList, out *batch.JobList, s conversion.Scope) error

func Convert_v1beta1_JobSpec_To_batch_JobSpec added in v1.3.0

func Convert_v1beta1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s conversion.Scope) error

func Convert_v1beta1_JobStatus_To_batch_JobStatus added in v1.3.0

func Convert_v1beta1_JobStatus_To_batch_JobStatus(in *JobStatus, out *batch.JobStatus, s conversion.Scope) error

func Convert_v1beta1_Job_To_batch_Job added in v1.3.0

func Convert_v1beta1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error

func Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement added in v0.4.0

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

func Convert_v1beta1_LabelSelector_To_unversioned_LabelSelector added in v0.4.0

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

func Convert_v1beta1_NetworkPolicyIngressRule_To_extensions_NetworkPolicyIngressRule added in v1.3.0

func Convert_v1beta1_NetworkPolicyIngressRule_To_extensions_NetworkPolicyIngressRule(in *NetworkPolicyIngressRule, out *extensions.NetworkPolicyIngressRule, s conversion.Scope) error

func Convert_v1beta1_NetworkPolicyList_To_extensions_NetworkPolicyList added in v1.3.0

func Convert_v1beta1_NetworkPolicyList_To_extensions_NetworkPolicyList(in *NetworkPolicyList, out *extensions.NetworkPolicyList, s conversion.Scope) error

func Convert_v1beta1_NetworkPolicyPeer_To_extensions_NetworkPolicyPeer added in v1.3.0

func Convert_v1beta1_NetworkPolicyPeer_To_extensions_NetworkPolicyPeer(in *NetworkPolicyPeer, out *extensions.NetworkPolicyPeer, s conversion.Scope) error

func Convert_v1beta1_NetworkPolicyPort_To_extensions_NetworkPolicyPort added in v1.3.0

func Convert_v1beta1_NetworkPolicyPort_To_extensions_NetworkPolicyPort(in *NetworkPolicyPort, out *extensions.NetworkPolicyPort, s conversion.Scope) error

func Convert_v1beta1_NetworkPolicySpec_To_extensions_NetworkPolicySpec added in v1.3.0

func Convert_v1beta1_NetworkPolicySpec_To_extensions_NetworkPolicySpec(in *NetworkPolicySpec, out *extensions.NetworkPolicySpec, s conversion.Scope) error

func Convert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy added in v1.3.0

func Convert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy(in *NetworkPolicy, out *extensions.NetworkPolicy, s conversion.Scope) error

func Convert_v1beta1_PodSecurityPolicyList_To_extensions_PodSecurityPolicyList added in v0.4.0

func Convert_v1beta1_PodSecurityPolicyList_To_extensions_PodSecurityPolicyList(in *PodSecurityPolicyList, out *extensions.PodSecurityPolicyList, s conversion.Scope) error

func Convert_v1beta1_PodSecurityPolicySpec_To_extensions_PodSecurityPolicySpec added in v0.4.0

func Convert_v1beta1_PodSecurityPolicySpec_To_extensions_PodSecurityPolicySpec(in *PodSecurityPolicySpec, out *extensions.PodSecurityPolicySpec, s conversion.Scope) error

func Convert_v1beta1_PodSecurityPolicy_To_extensions_PodSecurityPolicy added in v0.4.0

func Convert_v1beta1_PodSecurityPolicy_To_extensions_PodSecurityPolicy(in *PodSecurityPolicy, out *extensions.PodSecurityPolicy, s conversion.Scope) error

func Convert_v1beta1_ReplicaSetList_To_extensions_ReplicaSetList added in v0.4.0

func Convert_v1beta1_ReplicaSetList_To_extensions_ReplicaSetList(in *ReplicaSetList, out *extensions.ReplicaSetList, s conversion.Scope) error

func Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec added in v0.4.0

func Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *ReplicaSetSpec, out *extensions.ReplicaSetSpec, s conversion.Scope) error

func Convert_v1beta1_ReplicaSetStatus_To_extensions_ReplicaSetStatus added in v0.4.0

func Convert_v1beta1_ReplicaSetStatus_To_extensions_ReplicaSetStatus(in *ReplicaSetStatus, out *extensions.ReplicaSetStatus, s conversion.Scope) error

func Convert_v1beta1_ReplicaSet_To_extensions_ReplicaSet added in v0.4.0

func Convert_v1beta1_ReplicaSet_To_extensions_ReplicaSet(in *ReplicaSet, out *extensions.ReplicaSet, s conversion.Scope) error

func Convert_v1beta1_ReplicationControllerDummy_To_extensions_ReplicationControllerDummy

func Convert_v1beta1_ReplicationControllerDummy_To_extensions_ReplicationControllerDummy(in *ReplicationControllerDummy, out *extensions.ReplicationControllerDummy, s conversion.Scope) error

func Convert_v1beta1_RollbackConfig_To_extensions_RollbackConfig added in v0.4.0

func Convert_v1beta1_RollbackConfig_To_extensions_RollbackConfig(in *RollbackConfig, out *extensions.RollbackConfig, s conversion.Scope) error

func Convert_v1beta1_RollingUpdateDeployment_To_extensions_RollingUpdateDeployment

func Convert_v1beta1_RollingUpdateDeployment_To_extensions_RollingUpdateDeployment(in *RollingUpdateDeployment, out *extensions.RollingUpdateDeployment, s conversion.Scope) error

func Convert_v1beta1_RunAsUserStrategyOptions_To_extensions_RunAsUserStrategyOptions added in v0.4.0

func Convert_v1beta1_RunAsUserStrategyOptions_To_extensions_RunAsUserStrategyOptions(in *RunAsUserStrategyOptions, out *extensions.RunAsUserStrategyOptions, s conversion.Scope) error

func Convert_v1beta1_SELinuxStrategyOptions_To_extensions_SELinuxStrategyOptions added in v0.4.0

func Convert_v1beta1_SELinuxStrategyOptions_To_extensions_SELinuxStrategyOptions(in *SELinuxStrategyOptions, out *extensions.SELinuxStrategyOptions, s conversion.Scope) error

func Convert_v1beta1_ScaleSpec_To_extensions_ScaleSpec

func Convert_v1beta1_ScaleSpec_To_extensions_ScaleSpec(in *ScaleSpec, out *extensions.ScaleSpec, s conversion.Scope) error

func Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus

func Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus(in *ScaleStatus, out *extensions.ScaleStatus, s conversion.Scope) error

func Convert_v1beta1_Scale_To_extensions_Scale

func Convert_v1beta1_Scale_To_extensions_Scale(in *Scale, out *extensions.Scale, s conversion.Scope) error

func Convert_v1beta1_SubresourceReference_To_autoscaling_CrossVersionObjectReference added in v1.3.0

func Convert_v1beta1_SubresourceReference_To_autoscaling_CrossVersionObjectReference(in *SubresourceReference, out *autoscaling.CrossVersionObjectReference, s conversion.Scope) error

func Convert_v1beta1_SupplementalGroupsStrategyOptions_To_extensions_SupplementalGroupsStrategyOptions added in v1.3.0

func Convert_v1beta1_SupplementalGroupsStrategyOptions_To_extensions_SupplementalGroupsStrategyOptions(in *SupplementalGroupsStrategyOptions, out *extensions.SupplementalGroupsStrategyOptions, s conversion.Scope) error

func Convert_v1beta1_ThirdPartyResourceDataList_To_extensions_ThirdPartyResourceDataList

func Convert_v1beta1_ThirdPartyResourceDataList_To_extensions_ThirdPartyResourceDataList(in *ThirdPartyResourceDataList, out *extensions.ThirdPartyResourceDataList, s conversion.Scope) error

func Convert_v1beta1_ThirdPartyResourceData_To_extensions_ThirdPartyResourceData

func Convert_v1beta1_ThirdPartyResourceData_To_extensions_ThirdPartyResourceData(in *ThirdPartyResourceData, out *extensions.ThirdPartyResourceData, s conversion.Scope) error

func Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList

func Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList(in *ThirdPartyResourceList, out *extensions.ThirdPartyResourceList, s conversion.Scope) error

func Convert_v1beta1_ThirdPartyResource_To_extensions_ThirdPartyResource

func Convert_v1beta1_ThirdPartyResource_To_extensions_ThirdPartyResource(in *ThirdPartyResource, out *extensions.ThirdPartyResource, s conversion.Scope) error

func DeepCopy_v1beta1_APIVersion added in v1.3.0

func DeepCopy_v1beta1_APIVersion(in APIVersion, out *APIVersion, c *conversion.Cloner) error

func DeepCopy_v1beta1_CPUTargetUtilization added in v1.3.0

func DeepCopy_v1beta1_CPUTargetUtilization(in CPUTargetUtilization, out *CPUTargetUtilization, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricCurrentStatus added in v1.3.0

func DeepCopy_v1beta1_CustomMetricCurrentStatus(in CustomMetricCurrentStatus, out *CustomMetricCurrentStatus, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricCurrentStatusList added in v1.3.0

func DeepCopy_v1beta1_CustomMetricCurrentStatusList(in CustomMetricCurrentStatusList, out *CustomMetricCurrentStatusList, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricTarget added in v1.3.0

func DeepCopy_v1beta1_CustomMetricTarget(in CustomMetricTarget, out *CustomMetricTarget, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricTargetList added in v1.3.0

func DeepCopy_v1beta1_CustomMetricTargetList(in CustomMetricTargetList, out *CustomMetricTargetList, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSet added in v1.3.0

func DeepCopy_v1beta1_DaemonSet(in DaemonSet, out *DaemonSet, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSetList added in v1.3.0

func DeepCopy_v1beta1_DaemonSetList(in DaemonSetList, out *DaemonSetList, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSetSpec added in v1.3.0

func DeepCopy_v1beta1_DaemonSetSpec(in DaemonSetSpec, out *DaemonSetSpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSetStatus added in v1.3.0

func DeepCopy_v1beta1_DaemonSetStatus(in DaemonSetStatus, out *DaemonSetStatus, c *conversion.Cloner) error

func DeepCopy_v1beta1_Deployment added in v1.3.0

func DeepCopy_v1beta1_Deployment(in Deployment, out *Deployment, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentList added in v1.3.0

func DeepCopy_v1beta1_DeploymentList(in DeploymentList, out *DeploymentList, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentRollback added in v1.3.0

func DeepCopy_v1beta1_DeploymentRollback(in DeploymentRollback, out *DeploymentRollback, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentSpec added in v1.3.0

func DeepCopy_v1beta1_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentStatus added in v1.3.0

func DeepCopy_v1beta1_DeploymentStatus(in DeploymentStatus, out *DeploymentStatus, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentStrategy added in v1.3.0

func DeepCopy_v1beta1_DeploymentStrategy(in DeploymentStrategy, out *DeploymentStrategy, c *conversion.Cloner) error

func DeepCopy_v1beta1_ExportOptions added in v1.3.0

func DeepCopy_v1beta1_ExportOptions(in ExportOptions, out *ExportOptions, c *conversion.Cloner) error

func DeepCopy_v1beta1_FSGroupStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_FSGroupStrategyOptions(in FSGroupStrategyOptions, out *FSGroupStrategyOptions, c *conversion.Cloner) error

func DeepCopy_v1beta1_HTTPIngressPath added in v1.3.0

func DeepCopy_v1beta1_HTTPIngressPath(in HTTPIngressPath, out *HTTPIngressPath, c *conversion.Cloner) error

func DeepCopy_v1beta1_HTTPIngressRuleValue added in v1.3.0

func DeepCopy_v1beta1_HTTPIngressRuleValue(in HTTPIngressRuleValue, out *HTTPIngressRuleValue, c *conversion.Cloner) error

func DeepCopy_v1beta1_HorizontalPodAutoscaler added in v1.3.0

func DeepCopy_v1beta1_HorizontalPodAutoscaler(in HorizontalPodAutoscaler, out *HorizontalPodAutoscaler, c *conversion.Cloner) error

func DeepCopy_v1beta1_HorizontalPodAutoscalerList added in v1.3.0

func DeepCopy_v1beta1_HorizontalPodAutoscalerList(in HorizontalPodAutoscalerList, out *HorizontalPodAutoscalerList, c *conversion.Cloner) error

func DeepCopy_v1beta1_HorizontalPodAutoscalerSpec added in v1.3.0

func DeepCopy_v1beta1_HorizontalPodAutoscalerSpec(in HorizontalPodAutoscalerSpec, out *HorizontalPodAutoscalerSpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_HorizontalPodAutoscalerStatus added in v1.3.0

func DeepCopy_v1beta1_HorizontalPodAutoscalerStatus(in HorizontalPodAutoscalerStatus, out *HorizontalPodAutoscalerStatus, c *conversion.Cloner) error

func DeepCopy_v1beta1_HostPortRange added in v1.3.0

func DeepCopy_v1beta1_HostPortRange(in HostPortRange, out *HostPortRange, c *conversion.Cloner) error

func DeepCopy_v1beta1_IDRange added in v1.3.0

func DeepCopy_v1beta1_IDRange(in IDRange, out *IDRange, c *conversion.Cloner) error

func DeepCopy_v1beta1_Ingress added in v1.3.0

func DeepCopy_v1beta1_Ingress(in Ingress, out *Ingress, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressBackend added in v1.3.0

func DeepCopy_v1beta1_IngressBackend(in IngressBackend, out *IngressBackend, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressList added in v1.3.0

func DeepCopy_v1beta1_IngressList(in IngressList, out *IngressList, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressRule added in v1.3.0

func DeepCopy_v1beta1_IngressRule(in IngressRule, out *IngressRule, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressRuleValue added in v1.3.0

func DeepCopy_v1beta1_IngressRuleValue(in IngressRuleValue, out *IngressRuleValue, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressSpec added in v1.3.0

func DeepCopy_v1beta1_IngressSpec(in IngressSpec, out *IngressSpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressStatus added in v1.3.0

func DeepCopy_v1beta1_IngressStatus(in IngressStatus, out *IngressStatus, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressTLS added in v1.3.0

func DeepCopy_v1beta1_IngressTLS(in IngressTLS, out *IngressTLS, c *conversion.Cloner) error

func DeepCopy_v1beta1_Job added in v1.3.0

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

func DeepCopy_v1beta1_JobCondition added in v1.3.0

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

func DeepCopy_v1beta1_JobList added in v1.3.0

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

func DeepCopy_v1beta1_JobSpec added in v1.3.0

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

func DeepCopy_v1beta1_JobStatus added in v1.3.0

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

func DeepCopy_v1beta1_LabelSelector added in v1.3.0

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

func DeepCopy_v1beta1_LabelSelectorRequirement added in v1.3.0

func DeepCopy_v1beta1_LabelSelectorRequirement(in LabelSelectorRequirement, out *LabelSelectorRequirement, c *conversion.Cloner) error

func DeepCopy_v1beta1_ListOptions added in v1.3.0

func DeepCopy_v1beta1_ListOptions(in ListOptions, out *ListOptions, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicy added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicy(in NetworkPolicy, out *NetworkPolicy, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyIngressRule added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyIngressRule(in NetworkPolicyIngressRule, out *NetworkPolicyIngressRule, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyList added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyList(in NetworkPolicyList, out *NetworkPolicyList, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyPeer added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyPeer(in NetworkPolicyPeer, out *NetworkPolicyPeer, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyPort added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyPort(in NetworkPolicyPort, out *NetworkPolicyPort, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicySpec added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicySpec(in NetworkPolicySpec, out *NetworkPolicySpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_PodSecurityPolicy added in v1.3.0

func DeepCopy_v1beta1_PodSecurityPolicy(in PodSecurityPolicy, out *PodSecurityPolicy, c *conversion.Cloner) error

func DeepCopy_v1beta1_PodSecurityPolicyList added in v1.3.0

func DeepCopy_v1beta1_PodSecurityPolicyList(in PodSecurityPolicyList, out *PodSecurityPolicyList, c *conversion.Cloner) error

func DeepCopy_v1beta1_PodSecurityPolicySpec added in v1.3.0

func DeepCopy_v1beta1_PodSecurityPolicySpec(in PodSecurityPolicySpec, out *PodSecurityPolicySpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSet added in v1.3.0

func DeepCopy_v1beta1_ReplicaSet(in ReplicaSet, out *ReplicaSet, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSetList added in v1.3.0

func DeepCopy_v1beta1_ReplicaSetList(in ReplicaSetList, out *ReplicaSetList, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSetSpec added in v1.3.0

func DeepCopy_v1beta1_ReplicaSetSpec(in ReplicaSetSpec, out *ReplicaSetSpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSetStatus added in v1.3.0

func DeepCopy_v1beta1_ReplicaSetStatus(in ReplicaSetStatus, out *ReplicaSetStatus, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicationControllerDummy added in v1.3.0

func DeepCopy_v1beta1_ReplicationControllerDummy(in ReplicationControllerDummy, out *ReplicationControllerDummy, c *conversion.Cloner) error

func DeepCopy_v1beta1_RollbackConfig added in v1.3.0

func DeepCopy_v1beta1_RollbackConfig(in RollbackConfig, out *RollbackConfig, c *conversion.Cloner) error

func DeepCopy_v1beta1_RollingUpdateDeployment added in v1.3.0

func DeepCopy_v1beta1_RollingUpdateDeployment(in RollingUpdateDeployment, out *RollingUpdateDeployment, c *conversion.Cloner) error

func DeepCopy_v1beta1_RunAsUserStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_RunAsUserStrategyOptions(in RunAsUserStrategyOptions, out *RunAsUserStrategyOptions, c *conversion.Cloner) error

func DeepCopy_v1beta1_SELinuxStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_SELinuxStrategyOptions(in SELinuxStrategyOptions, out *SELinuxStrategyOptions, c *conversion.Cloner) error

func DeepCopy_v1beta1_Scale added in v1.3.0

func DeepCopy_v1beta1_Scale(in Scale, out *Scale, c *conversion.Cloner) error

func DeepCopy_v1beta1_ScaleSpec added in v1.3.0

func DeepCopy_v1beta1_ScaleSpec(in ScaleSpec, out *ScaleSpec, c *conversion.Cloner) error

func DeepCopy_v1beta1_ScaleStatus added in v1.3.0

func DeepCopy_v1beta1_ScaleStatus(in ScaleStatus, out *ScaleStatus, c *conversion.Cloner) error

func DeepCopy_v1beta1_SubresourceReference added in v1.3.0

func DeepCopy_v1beta1_SubresourceReference(in SubresourceReference, out *SubresourceReference, c *conversion.Cloner) error

func DeepCopy_v1beta1_SupplementalGroupsStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_SupplementalGroupsStrategyOptions(in SupplementalGroupsStrategyOptions, out *SupplementalGroupsStrategyOptions, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResource added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResource(in ThirdPartyResource, out *ThirdPartyResource, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResourceData added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResourceData(in ThirdPartyResourceData, out *ThirdPartyResourceData, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResourceDataList added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResourceDataList(in ThirdPartyResourceDataList, out *ThirdPartyResourceDataList, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResourceList added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResourceList(in ThirdPartyResourceList, out *ThirdPartyResourceList, c *conversion.Cloner) error

func SetDefaults_DaemonSet added in v1.3.0

func SetDefaults_DaemonSet(obj *DaemonSet)

func SetDefaults_Deployment added in v1.3.0

func SetDefaults_Deployment(obj *Deployment)

func SetDefaults_HorizontalPodAutoscaler added in v1.3.0

func SetDefaults_HorizontalPodAutoscaler(obj *HorizontalPodAutoscaler)

func SetDefaults_Job added in v1.3.0

func SetDefaults_Job(obj *Job)

func SetDefaults_NetworkPolicy added in v1.3.0

func SetDefaults_NetworkPolicy(obj *NetworkPolicy)

func SetDefaults_ReplicaSet added in v1.3.0

func SetDefaults_ReplicaSet(obj *ReplicaSet)

Types

type APIVersion

type APIVersion struct {
	// Name of this version (e.g. 'v1').
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
}

An APIVersion represents a single concrete version of an object model.

func (*APIVersion) Marshal added in v1.3.0

func (m *APIVersion) Marshal() (data []byte, err error)

func (*APIVersion) MarshalTo added in v1.3.0

func (m *APIVersion) MarshalTo(data []byte) (int, error)

func (*APIVersion) ProtoMessage added in v1.3.0

func (*APIVersion) ProtoMessage()

func (*APIVersion) Reset added in v1.3.0

func (m *APIVersion) Reset()

func (*APIVersion) Size added in v1.3.0

func (m *APIVersion) Size() (n int)

func (*APIVersion) String added in v1.3.0

func (m *APIVersion) String() string

func (APIVersion) SwaggerDoc

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

func (*APIVersion) Unmarshal added in v1.3.0

func (m *APIVersion) Unmarshal(data []byte) error

type CPUTargetUtilization

type CPUTargetUtilization struct {
	// fraction of the requested CPU that should be utilized/used,
	// e.g. 70 means that 70% of the requested CPU should be in use.
	TargetPercentage int32 `json:"targetPercentage" protobuf:"varint,1,opt,name=targetPercentage"`
}

func (*CPUTargetUtilization) Marshal added in v1.3.0

func (m *CPUTargetUtilization) Marshal() (data []byte, err error)

func (*CPUTargetUtilization) MarshalTo added in v1.3.0

func (m *CPUTargetUtilization) MarshalTo(data []byte) (int, error)

func (*CPUTargetUtilization) ProtoMessage added in v1.3.0

func (*CPUTargetUtilization) ProtoMessage()

func (*CPUTargetUtilization) Reset added in v1.3.0

func (m *CPUTargetUtilization) Reset()

func (*CPUTargetUtilization) Size added in v1.3.0

func (m *CPUTargetUtilization) Size() (n int)

func (*CPUTargetUtilization) String added in v1.3.0

func (m *CPUTargetUtilization) String() string

func (CPUTargetUtilization) SwaggerDoc

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

func (*CPUTargetUtilization) Unmarshal added in v1.3.0

func (m *CPUTargetUtilization) Unmarshal(data []byte) error

type CustomMetricCurrentStatus added in v0.4.0

type CustomMetricCurrentStatus struct {
	// Custom Metric name.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Custom Metric value (average).
	CurrentValue resource.Quantity `json:"value" protobuf:"bytes,2,opt,name=value"`
}

func (*CustomMetricCurrentStatus) Marshal added in v1.3.0

func (m *CustomMetricCurrentStatus) Marshal() (data []byte, err error)

func (*CustomMetricCurrentStatus) MarshalTo added in v1.3.0

func (m *CustomMetricCurrentStatus) MarshalTo(data []byte) (int, error)

func (*CustomMetricCurrentStatus) ProtoMessage added in v1.3.0

func (*CustomMetricCurrentStatus) ProtoMessage()

func (*CustomMetricCurrentStatus) Reset added in v1.3.0

func (m *CustomMetricCurrentStatus) Reset()

func (*CustomMetricCurrentStatus) Size added in v1.3.0

func (m *CustomMetricCurrentStatus) Size() (n int)

func (*CustomMetricCurrentStatus) String added in v1.3.0

func (m *CustomMetricCurrentStatus) String() string

func (CustomMetricCurrentStatus) SwaggerDoc added in v0.4.0

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

func (*CustomMetricCurrentStatus) Unmarshal added in v1.3.0

func (m *CustomMetricCurrentStatus) Unmarshal(data []byte) error

type CustomMetricCurrentStatusList added in v0.4.0

type CustomMetricCurrentStatusList struct {
	Items []CustomMetricCurrentStatus `json:"items" protobuf:"bytes,1,rep,name=items"`
}

func (*CustomMetricCurrentStatusList) Marshal added in v1.3.0

func (m *CustomMetricCurrentStatusList) Marshal() (data []byte, err error)

func (*CustomMetricCurrentStatusList) MarshalTo added in v1.3.0

func (m *CustomMetricCurrentStatusList) MarshalTo(data []byte) (int, error)

func (*CustomMetricCurrentStatusList) ProtoMessage added in v1.3.0

func (*CustomMetricCurrentStatusList) ProtoMessage()

func (*CustomMetricCurrentStatusList) Reset added in v1.3.0

func (m *CustomMetricCurrentStatusList) Reset()

func (*CustomMetricCurrentStatusList) Size added in v1.3.0

func (m *CustomMetricCurrentStatusList) Size() (n int)

func (*CustomMetricCurrentStatusList) String added in v1.3.0

func (*CustomMetricCurrentStatusList) Unmarshal added in v1.3.0

func (m *CustomMetricCurrentStatusList) Unmarshal(data []byte) error

type CustomMetricTarget added in v0.4.0

type CustomMetricTarget struct {
	// Custom Metric name.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Custom Metric value (average).
	TargetValue resource.Quantity `json:"value" protobuf:"bytes,2,opt,name=value"`
}

Alpha-level support for Custom Metrics in HPA (as annotations).

func (*CustomMetricTarget) Marshal added in v1.3.0

func (m *CustomMetricTarget) Marshal() (data []byte, err error)

func (*CustomMetricTarget) MarshalTo added in v1.3.0

func (m *CustomMetricTarget) MarshalTo(data []byte) (int, error)

func (*CustomMetricTarget) ProtoMessage added in v1.3.0

func (*CustomMetricTarget) ProtoMessage()

func (*CustomMetricTarget) Reset added in v1.3.0

func (m *CustomMetricTarget) Reset()

func (*CustomMetricTarget) Size added in v1.3.0

func (m *CustomMetricTarget) Size() (n int)

func (*CustomMetricTarget) String added in v1.3.0

func (m *CustomMetricTarget) String() string

func (CustomMetricTarget) SwaggerDoc added in v0.4.0

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

func (*CustomMetricTarget) Unmarshal added in v1.3.0

func (m *CustomMetricTarget) Unmarshal(data []byte) error

type CustomMetricTargetList added in v0.4.0

type CustomMetricTargetList struct {
	Items []CustomMetricTarget `json:"items" protobuf:"bytes,1,rep,name=items"`
}

func (*CustomMetricTargetList) Marshal added in v1.3.0

func (m *CustomMetricTargetList) Marshal() (data []byte, err error)

func (*CustomMetricTargetList) MarshalTo added in v1.3.0

func (m *CustomMetricTargetList) MarshalTo(data []byte) (int, error)

func (*CustomMetricTargetList) ProtoMessage added in v1.3.0

func (*CustomMetricTargetList) ProtoMessage()

func (*CustomMetricTargetList) Reset added in v1.3.0

func (m *CustomMetricTargetList) Reset()

func (*CustomMetricTargetList) Size added in v1.3.0

func (m *CustomMetricTargetList) Size() (n int)

func (*CustomMetricTargetList) String added in v1.3.0

func (m *CustomMetricTargetList) String() string

func (*CustomMetricTargetList) Unmarshal added in v1.3.0

func (m *CustomMetricTargetList) Unmarshal(data []byte) error

type DaemonSet

type DaemonSet struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired behavior of this daemon set.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Spec DaemonSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Status is the current status of this daemon set. This data may be
	// out of date by some window of time.
	// Populated by the system.
	// Read-only.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Status DaemonSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

DaemonSet represents the configuration of a daemon set.

func (*DaemonSet) Marshal added in v1.3.0

func (m *DaemonSet) Marshal() (data []byte, err error)

func (*DaemonSet) MarshalTo added in v1.3.0

func (m *DaemonSet) MarshalTo(data []byte) (int, error)

func (*DaemonSet) ProtoMessage added in v1.3.0

func (*DaemonSet) ProtoMessage()

func (*DaemonSet) Reset added in v1.3.0

func (m *DaemonSet) Reset()

func (*DaemonSet) Size added in v1.3.0

func (m *DaemonSet) Size() (n int)

func (*DaemonSet) String added in v1.3.0

func (m *DaemonSet) String() string

func (DaemonSet) SwaggerDoc

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

func (*DaemonSet) Unmarshal added in v1.3.0

func (m *DaemonSet) Unmarshal(data []byte) error

type DaemonSetList

type DaemonSetList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of daemon sets.
	Items []DaemonSet `json:"items" protobuf:"bytes,2,rep,name=items"`
}

DaemonSetList is a collection of daemon sets.

func (*DaemonSetList) Marshal added in v1.3.0

func (m *DaemonSetList) Marshal() (data []byte, err error)

func (*DaemonSetList) MarshalTo added in v1.3.0

func (m *DaemonSetList) MarshalTo(data []byte) (int, error)

func (*DaemonSetList) ProtoMessage added in v1.3.0

func (*DaemonSetList) ProtoMessage()

func (*DaemonSetList) Reset added in v1.3.0

func (m *DaemonSetList) Reset()

func (*DaemonSetList) Size added in v1.3.0

func (m *DaemonSetList) Size() (n int)

func (*DaemonSetList) String added in v1.3.0

func (m *DaemonSetList) String() string

func (DaemonSetList) SwaggerDoc

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

func (*DaemonSetList) Unmarshal added in v1.3.0

func (m *DaemonSetList) Unmarshal(data []byte) error

type DaemonSetSpec

type DaemonSetSpec struct {
	// Selector is a label query over pods that are managed by the daemon set.
	// Must match in order to be controlled.
	// If empty, defaulted to labels on Pod template.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/labels.md#label-selectors
	Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"`

	// Template is the object that describes the pod that will be created.
	// The DaemonSet will create exactly one copy of this pod on every node
	// that matches the template's node selector (or on every node if no node
	// selector is specified).
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/replication-controller.md#pod-template
	Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,2,opt,name=template"`
}

DaemonSetSpec is the specification of a daemon set.

func (*DaemonSetSpec) Marshal added in v1.3.0

func (m *DaemonSetSpec) Marshal() (data []byte, err error)

func (*DaemonSetSpec) MarshalTo added in v1.3.0

func (m *DaemonSetSpec) MarshalTo(data []byte) (int, error)

func (*DaemonSetSpec) ProtoMessage added in v1.3.0

func (*DaemonSetSpec) ProtoMessage()

func (*DaemonSetSpec) Reset added in v1.3.0

func (m *DaemonSetSpec) Reset()

func (*DaemonSetSpec) Size added in v1.3.0

func (m *DaemonSetSpec) Size() (n int)

func (*DaemonSetSpec) String added in v1.3.0

func (m *DaemonSetSpec) String() string

func (DaemonSetSpec) SwaggerDoc

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

func (*DaemonSetSpec) Unmarshal added in v1.3.0

func (m *DaemonSetSpec) Unmarshal(data []byte) error

type DaemonSetStatus

type DaemonSetStatus struct {
	// CurrentNumberScheduled is the number of nodes that are running at least 1
	// daemon pod and are supposed to run the daemon pod.
	// More info: http://releases.k8s.io/release-1.3/docs/admin/daemons.md
	CurrentNumberScheduled int32 `json:"currentNumberScheduled" protobuf:"varint,1,opt,name=currentNumberScheduled"`

	// NumberMisscheduled is the number of nodes that are running the daemon pod, but are
	// not supposed to run the daemon pod.
	// More info: http://releases.k8s.io/release-1.3/docs/admin/daemons.md
	NumberMisscheduled int32 `json:"numberMisscheduled" protobuf:"varint,2,opt,name=numberMisscheduled"`

	// DesiredNumberScheduled is the total number of nodes that should be running the daemon
	// pod (including nodes correctly running the daemon pod).
	// More info: http://releases.k8s.io/release-1.3/docs/admin/daemons.md
	DesiredNumberScheduled int32 `json:"desiredNumberScheduled" protobuf:"varint,3,opt,name=desiredNumberScheduled"`
}

DaemonSetStatus represents the current status of a daemon set.

func (*DaemonSetStatus) Marshal added in v1.3.0

func (m *DaemonSetStatus) Marshal() (data []byte, err error)

func (*DaemonSetStatus) MarshalTo added in v1.3.0

func (m *DaemonSetStatus) MarshalTo(data []byte) (int, error)

func (*DaemonSetStatus) ProtoMessage added in v1.3.0

func (*DaemonSetStatus) ProtoMessage()

func (*DaemonSetStatus) Reset added in v1.3.0

func (m *DaemonSetStatus) Reset()

func (*DaemonSetStatus) Size added in v1.3.0

func (m *DaemonSetStatus) Size() (n int)

func (*DaemonSetStatus) String added in v1.3.0

func (m *DaemonSetStatus) String() string

func (DaemonSetStatus) SwaggerDoc

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

func (*DaemonSetStatus) Unmarshal added in v1.3.0

func (m *DaemonSetStatus) Unmarshal(data []byte) error

type Deployment

type Deployment struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object metadata.
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Specification of the desired behavior of the Deployment.
	Spec DeploymentSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Most recently observed status of the Deployment.
	Status DeploymentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Deployment enables declarative updates for Pods and ReplicaSets.

func (*Deployment) Marshal added in v1.3.0

func (m *Deployment) Marshal() (data []byte, err error)

func (*Deployment) MarshalTo added in v1.3.0

func (m *Deployment) MarshalTo(data []byte) (int, error)

func (*Deployment) ProtoMessage added in v1.3.0

func (*Deployment) ProtoMessage()

func (*Deployment) Reset added in v1.3.0

func (m *Deployment) Reset()

func (*Deployment) Size added in v1.3.0

func (m *Deployment) Size() (n int)

func (*Deployment) String added in v1.3.0

func (m *Deployment) String() string

func (Deployment) SwaggerDoc

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

func (*Deployment) Unmarshal added in v1.3.0

func (m *Deployment) Unmarshal(data []byte) error

type DeploymentList

type DeploymentList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of Deployments.
	Items []Deployment `json:"items" protobuf:"bytes,2,rep,name=items"`
}

DeploymentList is a list of Deployments.

func (*DeploymentList) Marshal added in v1.3.0

func (m *DeploymentList) Marshal() (data []byte, err error)

func (*DeploymentList) MarshalTo added in v1.3.0

func (m *DeploymentList) MarshalTo(data []byte) (int, error)

func (*DeploymentList) ProtoMessage added in v1.3.0

func (*DeploymentList) ProtoMessage()

func (*DeploymentList) Reset added in v1.3.0

func (m *DeploymentList) Reset()

func (*DeploymentList) Size added in v1.3.0

func (m *DeploymentList) Size() (n int)

func (*DeploymentList) String added in v1.3.0

func (m *DeploymentList) String() string

func (DeploymentList) SwaggerDoc

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

func (*DeploymentList) Unmarshal added in v1.3.0

func (m *DeploymentList) Unmarshal(data []byte) error

type DeploymentRollback added in v0.4.0

type DeploymentRollback struct {
	unversioned.TypeMeta `json:",inline"`
	// Required: This must match the Name of a deployment.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// The annotations to be updated to a deployment
	UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty" protobuf:"bytes,2,rep,name=updatedAnnotations"`
	// The config of this deployment rollback.
	RollbackTo RollbackConfig `json:"rollbackTo" protobuf:"bytes,3,opt,name=rollbackTo"`
}

DeploymentRollback stores the information required to rollback a deployment.

func (*DeploymentRollback) Marshal added in v1.3.0

func (m *DeploymentRollback) Marshal() (data []byte, err error)

func (*DeploymentRollback) MarshalTo added in v1.3.0

func (m *DeploymentRollback) MarshalTo(data []byte) (int, error)

func (*DeploymentRollback) ProtoMessage added in v1.3.0

func (*DeploymentRollback) ProtoMessage()

func (*DeploymentRollback) Reset added in v1.3.0

func (m *DeploymentRollback) Reset()

func (*DeploymentRollback) Size added in v1.3.0

func (m *DeploymentRollback) Size() (n int)

func (*DeploymentRollback) String added in v1.3.0

func (m *DeploymentRollback) String() string

func (DeploymentRollback) SwaggerDoc added in v0.4.0

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

func (*DeploymentRollback) Unmarshal added in v1.3.0

func (m *DeploymentRollback) Unmarshal(data []byte) error

type DeploymentSpec

type DeploymentSpec struct {
	// Number of desired pods. This is a pointer to distinguish between explicit
	// zero and not specified. Defaults to 1.
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// Label selector for pods. Existing ReplicaSets whose pods are
	// selected by this will be the ones affected by this deployment.
	Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`

	// Template describes the pods that will be created.
	Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"`

	// The deployment strategy to use to replace existing pods with new ones.
	Strategy DeploymentStrategy `json:"strategy,omitempty" protobuf:"bytes,4,opt,name=strategy"`

	// Minimum number of seconds for which a newly created pod should be ready
	// without any of its container crashing, for it to be considered available.
	// Defaults to 0 (pod will be considered available as soon as it is ready)
	MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,5,opt,name=minReadySeconds"`

	// The number of old ReplicaSets to retain to allow rollback.
	// This is a pointer to distinguish between explicit zero and not specified.
	RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty" protobuf:"varint,6,opt,name=revisionHistoryLimit"`

	// Indicates that the deployment is paused and will not be processed by the
	// deployment controller.
	Paused bool `json:"paused,omitempty" protobuf:"varint,7,opt,name=paused"`
	// The config this deployment is rolling back to. Will be cleared after rollback is done.
	RollbackTo *RollbackConfig `json:"rollbackTo,omitempty" protobuf:"bytes,8,opt,name=rollbackTo"`
}

DeploymentSpec is the specification of the desired behavior of the Deployment.

func (*DeploymentSpec) Marshal added in v1.3.0

func (m *DeploymentSpec) Marshal() (data []byte, err error)

func (*DeploymentSpec) MarshalTo added in v1.3.0

func (m *DeploymentSpec) MarshalTo(data []byte) (int, error)

func (*DeploymentSpec) ProtoMessage added in v1.3.0

func (*DeploymentSpec) ProtoMessage()

func (*DeploymentSpec) Reset added in v1.3.0

func (m *DeploymentSpec) Reset()

func (*DeploymentSpec) Size added in v1.3.0

func (m *DeploymentSpec) Size() (n int)

func (*DeploymentSpec) String added in v1.3.0

func (m *DeploymentSpec) String() string

func (DeploymentSpec) SwaggerDoc

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

func (*DeploymentSpec) Unmarshal added in v1.3.0

func (m *DeploymentSpec) Unmarshal(data []byte) error

type DeploymentStatus

type DeploymentStatus struct {
	// The generation observed by the deployment controller.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"`

	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	UpdatedReplicas int32 `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"`

	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"`

	// Total number of unavailable pods targeted by this deployment.
	UnavailableReplicas int32 `json:"unavailableReplicas,omitempty" protobuf:"varint,5,opt,name=unavailableReplicas"`
}

DeploymentStatus is the most recently observed status of the Deployment.

func (*DeploymentStatus) Marshal added in v1.3.0

func (m *DeploymentStatus) Marshal() (data []byte, err error)

func (*DeploymentStatus) MarshalTo added in v1.3.0

func (m *DeploymentStatus) MarshalTo(data []byte) (int, error)

func (*DeploymentStatus) ProtoMessage added in v1.3.0

func (*DeploymentStatus) ProtoMessage()

func (*DeploymentStatus) Reset added in v1.3.0

func (m *DeploymentStatus) Reset()

func (*DeploymentStatus) Size added in v1.3.0

func (m *DeploymentStatus) Size() (n int)

func (*DeploymentStatus) String added in v1.3.0

func (m *DeploymentStatus) String() string

func (DeploymentStatus) SwaggerDoc

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

func (*DeploymentStatus) Unmarshal added in v1.3.0

func (m *DeploymentStatus) Unmarshal(data []byte) error

type DeploymentStrategy

type DeploymentStrategy struct {
	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	Type DeploymentStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentStrategyType"`

	// Rolling update config params. Present only if DeploymentStrategyType =
	// RollingUpdate.
	//---
	// TODO: Update this to follow our convention for oneOf, whatever we decide it
	// to be.
	RollingUpdate *RollingUpdateDeployment `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

func (*DeploymentStrategy) Marshal added in v1.3.0

func (m *DeploymentStrategy) Marshal() (data []byte, err error)

func (*DeploymentStrategy) MarshalTo added in v1.3.0

func (m *DeploymentStrategy) MarshalTo(data []byte) (int, error)

func (*DeploymentStrategy) ProtoMessage added in v1.3.0

func (*DeploymentStrategy) ProtoMessage()

func (*DeploymentStrategy) Reset added in v1.3.0

func (m *DeploymentStrategy) Reset()

func (*DeploymentStrategy) Size added in v1.3.0

func (m *DeploymentStrategy) Size() (n int)

func (*DeploymentStrategy) String added in v1.3.0

func (m *DeploymentStrategy) String() string

func (DeploymentStrategy) SwaggerDoc

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

func (*DeploymentStrategy) Unmarshal added in v1.3.0

func (m *DeploymentStrategy) Unmarshal(data []byte) error

type DeploymentStrategyType

type DeploymentStrategyType string
const (
	// Kill all existing pods before creating new ones.
	RecreateDeploymentStrategyType DeploymentStrategyType = "Recreate"

	// Replace the old RCs by new one using rolling update i.e gradually scale down the old RCs and scale up the new one.
	RollingUpdateDeploymentStrategyType DeploymentStrategyType = "RollingUpdate"
)

type ExportOptions

type ExportOptions struct {
	unversioned.TypeMeta `json:",inline"`
	// Should this value be exported.  Export strips fields that a user can not specify.
	Export bool `json:"export" protobuf:"varint,1,opt,name=export"`
	// Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'
	Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"`
}

ExportOptions is the query options to the standard REST get call.

func (*ExportOptions) Marshal added in v1.3.0

func (m *ExportOptions) Marshal() (data []byte, err error)

func (*ExportOptions) MarshalTo added in v1.3.0

func (m *ExportOptions) MarshalTo(data []byte) (int, error)

func (*ExportOptions) ProtoMessage added in v1.3.0

func (*ExportOptions) ProtoMessage()

func (*ExportOptions) Reset added in v1.3.0

func (m *ExportOptions) Reset()

func (*ExportOptions) Size added in v1.3.0

func (m *ExportOptions) Size() (n int)

func (*ExportOptions) String added in v1.3.0

func (m *ExportOptions) String() string

func (ExportOptions) SwaggerDoc

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

func (*ExportOptions) Unmarshal added in v1.3.0

func (m *ExportOptions) Unmarshal(data []byte) error

type FSGroupStrategyOptions added in v1.3.0

type FSGroupStrategyOptions struct {
	// Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
	Rule FSGroupStrategyType `json:"rule,omitempty" protobuf:"bytes,1,opt,name=rule,casttype=FSGroupStrategyType"`
	// Ranges are the allowed ranges of fs groups.  If you would like to force a single
	// fs group then supply a single range with the same start and end.
	Ranges []IDRange `json:"ranges,omitempty" protobuf:"bytes,2,rep,name=ranges"`
}

FSGroupStrategyOptions defines the strategy type and options used to create the strategy.

func (*FSGroupStrategyOptions) Marshal added in v1.3.0

func (m *FSGroupStrategyOptions) Marshal() (data []byte, err error)

func (*FSGroupStrategyOptions) MarshalTo added in v1.3.0

func (m *FSGroupStrategyOptions) MarshalTo(data []byte) (int, error)

func (*FSGroupStrategyOptions) ProtoMessage added in v1.3.0

func (*FSGroupStrategyOptions) ProtoMessage()

func (*FSGroupStrategyOptions) Reset added in v1.3.0

func (m *FSGroupStrategyOptions) Reset()

func (*FSGroupStrategyOptions) Size added in v1.3.0

func (m *FSGroupStrategyOptions) Size() (n int)

func (*FSGroupStrategyOptions) String added in v1.3.0

func (m *FSGroupStrategyOptions) String() string

func (FSGroupStrategyOptions) SwaggerDoc added in v1.3.0

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

func (*FSGroupStrategyOptions) Unmarshal added in v1.3.0

func (m *FSGroupStrategyOptions) Unmarshal(data []byte) error

type FSGroupStrategyType added in v1.3.0

type FSGroupStrategyType string

FSGroupStrategyType denotes strategy types for generating FSGroup values for a SecurityContext

const (
	// container must have FSGroup of X applied.
	FSGroupStrategyMustRunAs FSGroupStrategyType = "MustRunAs"
	// container may make requests for any FSGroup labels.
	FSGroupStrategyRunAsAny FSGroupStrategyType = "RunAsAny"
)

type FSType added in v0.4.0

type FSType string

FS Type gives strong typing to different file systems that are used by volumes.

var (
	AzureFile             FSType = "azureFile"
	Flocker               FSType = "flocker"
	FlexVolume            FSType = "flexVolume"
	HostPath              FSType = "hostPath"
	EmptyDir              FSType = "emptyDir"
	GCEPersistentDisk     FSType = "gcePersistentDisk"
	AWSElasticBlockStore  FSType = "awsElasticBlockStore"
	GitRepo               FSType = "gitRepo"
	Secret                FSType = "secret"
	NFS                   FSType = "nfs"
	ISCSI                 FSType = "iscsi"
	Glusterfs             FSType = "glusterfs"
	PersistentVolumeClaim FSType = "persistentVolumeClaim"
	RBD                   FSType = "rbd"
	Cinder                FSType = "cinder"
	CephFS                FSType = "cephFS"
	DownwardAPI           FSType = "downwardAPI"
	FC                    FSType = "fc"
	ConfigMap             FSType = "configMap"
	All                   FSType = "*"
)

type HTTPIngressPath

type HTTPIngressPath struct {
	// Path is a extended POSIX regex as defined by IEEE Std 1003.1,
	// (i.e this follows the egrep/unix syntax, not the perl syntax)
	// matched against the path of an incoming request. Currently it can
	// contain characters disallowed from the conventional "path"
	// part of a URL as defined by RFC 3986. Paths must begin with
	// a '/'. If unspecified, the path defaults to a catch all sending
	// traffic to the backend.
	Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`

	// Backend defines the referenced service endpoint to which the traffic
	// will be forwarded to.
	Backend IngressBackend `json:"backend" protobuf:"bytes,2,opt,name=backend"`
}

HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.

func (*HTTPIngressPath) Marshal added in v1.3.0

func (m *HTTPIngressPath) Marshal() (data []byte, err error)

func (*HTTPIngressPath) MarshalTo added in v1.3.0

func (m *HTTPIngressPath) MarshalTo(data []byte) (int, error)

func (*HTTPIngressPath) ProtoMessage added in v1.3.0

func (*HTTPIngressPath) ProtoMessage()

func (*HTTPIngressPath) Reset added in v1.3.0

func (m *HTTPIngressPath) Reset()

func (*HTTPIngressPath) Size added in v1.3.0

func (m *HTTPIngressPath) Size() (n int)

func (*HTTPIngressPath) String added in v1.3.0

func (m *HTTPIngressPath) String() string

func (HTTPIngressPath) SwaggerDoc

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

func (*HTTPIngressPath) Unmarshal added in v1.3.0

func (m *HTTPIngressPath) Unmarshal(data []byte) error

type HTTPIngressRuleValue

type HTTPIngressRuleValue struct {
	// A collection of paths that map requests to backends.
	Paths []HTTPIngressPath `json:"paths" protobuf:"bytes,1,rep,name=paths"`
}

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

func (*HTTPIngressRuleValue) Marshal added in v1.3.0

func (m *HTTPIngressRuleValue) Marshal() (data []byte, err error)

func (*HTTPIngressRuleValue) MarshalTo added in v1.3.0

func (m *HTTPIngressRuleValue) MarshalTo(data []byte) (int, error)

func (*HTTPIngressRuleValue) ProtoMessage added in v1.3.0

func (*HTTPIngressRuleValue) ProtoMessage()

func (*HTTPIngressRuleValue) Reset added in v1.3.0

func (m *HTTPIngressRuleValue) Reset()

func (*HTTPIngressRuleValue) Size added in v1.3.0

func (m *HTTPIngressRuleValue) Size() (n int)

func (*HTTPIngressRuleValue) String added in v1.3.0

func (m *HTTPIngressRuleValue) String() string

func (HTTPIngressRuleValue) SwaggerDoc

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

func (*HTTPIngressRuleValue) Unmarshal added in v1.3.0

func (m *HTTPIngressRuleValue) Unmarshal(data []byte) error

type HorizontalPodAutoscaler

type HorizontalPodAutoscaler struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object metadata. More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// behaviour of autoscaler. More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status.
	Spec HorizontalPodAutoscalerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// current information about the autoscaler.
	Status HorizontalPodAutoscalerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

configuration of a horizontal pod autoscaler.

func (*HorizontalPodAutoscaler) Marshal added in v1.3.0

func (m *HorizontalPodAutoscaler) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscaler) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscaler) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscaler) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscaler) ProtoMessage()

func (*HorizontalPodAutoscaler) Reset added in v1.3.0

func (m *HorizontalPodAutoscaler) Reset()

func (*HorizontalPodAutoscaler) Size added in v1.3.0

func (m *HorizontalPodAutoscaler) Size() (n int)

func (*HorizontalPodAutoscaler) String added in v1.3.0

func (m *HorizontalPodAutoscaler) String() string

func (HorizontalPodAutoscaler) SwaggerDoc

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

func (*HorizontalPodAutoscaler) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscaler) Unmarshal(data []byte) error

type HorizontalPodAutoscalerList

type HorizontalPodAutoscalerList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// list of horizontal pod autoscaler objects.
	Items []HorizontalPodAutoscaler `json:"items" protobuf:"bytes,2,rep,name=items"`
}

list of horizontal pod autoscaler objects.

func (*HorizontalPodAutoscalerList) Marshal added in v1.3.0

func (m *HorizontalPodAutoscalerList) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscalerList) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscalerList) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscalerList) ProtoMessage()

func (*HorizontalPodAutoscalerList) Reset added in v1.3.0

func (m *HorizontalPodAutoscalerList) Reset()

func (*HorizontalPodAutoscalerList) Size added in v1.3.0

func (m *HorizontalPodAutoscalerList) Size() (n int)

func (*HorizontalPodAutoscalerList) String added in v1.3.0

func (m *HorizontalPodAutoscalerList) String() string

func (HorizontalPodAutoscalerList) SwaggerDoc

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

func (*HorizontalPodAutoscalerList) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscalerList) Unmarshal(data []byte) error

type HorizontalPodAutoscalerSpec

type HorizontalPodAutoscalerSpec struct {
	// reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status,
	// and will set the desired number of pods by modifying its spec.
	ScaleRef SubresourceReference `json:"scaleRef" protobuf:"bytes,1,opt,name=scaleRef"`
	// lower limit for the number of pods that can be set by the autoscaler, default 1.
	MinReplicas *int32 `json:"minReplicas,omitempty" protobuf:"varint,2,opt,name=minReplicas"`
	// upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
	MaxReplicas int32 `json:"maxReplicas" protobuf:"varint,3,opt,name=maxReplicas"`
	// target average CPU utilization (represented as a percentage of requested CPU) over all the pods;
	// if not specified it defaults to the target CPU utilization at 80% of the requested resources.
	CPUUtilization *CPUTargetUtilization `json:"cpuUtilization,omitempty" protobuf:"bytes,4,opt,name=cpuUtilization"`
}

specification of a horizontal pod autoscaler.

func (*HorizontalPodAutoscalerSpec) Marshal added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscalerSpec) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscalerSpec) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscalerSpec) ProtoMessage()

func (*HorizontalPodAutoscalerSpec) Reset added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Reset()

func (*HorizontalPodAutoscalerSpec) Size added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Size() (n int)

func (*HorizontalPodAutoscalerSpec) String added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) String() string

func (HorizontalPodAutoscalerSpec) SwaggerDoc

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

func (*HorizontalPodAutoscalerSpec) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscalerSpec) Unmarshal(data []byte) error

type HorizontalPodAutoscalerStatus

type HorizontalPodAutoscalerStatus struct {
	// most recent generation observed by this autoscaler.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// last time the HorizontalPodAutoscaler scaled the number of pods;
	// used by the autoscaler to control how often the number of pods is changed.
	LastScaleTime *unversioned.Time `json:"lastScaleTime,omitempty" protobuf:"bytes,2,opt,name=lastScaleTime"`

	// current number of replicas of pods managed by this autoscaler.
	CurrentReplicas int32 `json:"currentReplicas" protobuf:"varint,3,opt,name=currentReplicas"`

	// desired number of replicas of pods managed by this autoscaler.
	DesiredReplicas int32 `json:"desiredReplicas" protobuf:"varint,4,opt,name=desiredReplicas"`

	// current average CPU utilization over all pods, represented as a percentage of requested CPU,
	// e.g. 70 means that an average pod is using now 70% of its requested CPU.
	CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage,omitempty" protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage"`
}

current status of a horizontal pod autoscaler

func (*HorizontalPodAutoscalerStatus) Marshal added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Marshal() (data []byte, err error)

func (*HorizontalPodAutoscalerStatus) MarshalTo added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) MarshalTo(data []byte) (int, error)

func (*HorizontalPodAutoscalerStatus) ProtoMessage added in v1.3.0

func (*HorizontalPodAutoscalerStatus) ProtoMessage()

func (*HorizontalPodAutoscalerStatus) Reset added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Reset()

func (*HorizontalPodAutoscalerStatus) Size added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Size() (n int)

func (*HorizontalPodAutoscalerStatus) String added in v1.3.0

func (HorizontalPodAutoscalerStatus) SwaggerDoc

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

func (*HorizontalPodAutoscalerStatus) Unmarshal added in v1.3.0

func (m *HorizontalPodAutoscalerStatus) Unmarshal(data []byte) error

type HostPortRange added in v0.4.0

type HostPortRange struct {
	// min is the start of the range, inclusive.
	Min int32 `json:"min" protobuf:"varint,1,opt,name=min"`
	// max is the end of the range, inclusive.
	Max int32 `json:"max" protobuf:"varint,2,opt,name=max"`
}

Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.

func (*HostPortRange) Marshal added in v1.3.0

func (m *HostPortRange) Marshal() (data []byte, err error)

func (*HostPortRange) MarshalTo added in v1.3.0

func (m *HostPortRange) MarshalTo(data []byte) (int, error)

func (*HostPortRange) ProtoMessage added in v1.3.0

func (*HostPortRange) ProtoMessage()

func (*HostPortRange) Reset added in v1.3.0

func (m *HostPortRange) Reset()

func (*HostPortRange) Size added in v1.3.0

func (m *HostPortRange) Size() (n int)

func (*HostPortRange) String added in v1.3.0

func (m *HostPortRange) String() string

func (HostPortRange) SwaggerDoc added in v0.4.0

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

func (*HostPortRange) Unmarshal added in v1.3.0

func (m *HostPortRange) Unmarshal(data []byte) error

type IDRange added in v0.4.0

type IDRange struct {
	// Min is the start of the range, inclusive.
	Min int64 `json:"min" protobuf:"varint,1,opt,name=min"`
	// Max is the end of the range, inclusive.
	Max int64 `json:"max" protobuf:"varint,2,opt,name=max"`
}

ID Range provides a min/max of an allowed range of IDs.

func (*IDRange) Marshal added in v1.3.0

func (m *IDRange) Marshal() (data []byte, err error)

func (*IDRange) MarshalTo added in v1.3.0

func (m *IDRange) MarshalTo(data []byte) (int, error)

func (*IDRange) ProtoMessage added in v1.3.0

func (*IDRange) ProtoMessage()

func (*IDRange) Reset added in v1.3.0

func (m *IDRange) Reset()

func (*IDRange) Size added in v1.3.0

func (m *IDRange) Size() (n int)

func (*IDRange) String added in v1.3.0

func (m *IDRange) String() string

func (IDRange) SwaggerDoc added in v0.4.0

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

func (*IDRange) Unmarshal added in v1.3.0

func (m *IDRange) Unmarshal(data []byte) error

type Ingress

type Ingress struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec is the desired state of the Ingress.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Spec IngressSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Status is the current state of the Ingress.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Status IngressStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

func (*Ingress) Marshal added in v1.3.0

func (m *Ingress) Marshal() (data []byte, err error)

func (*Ingress) MarshalTo added in v1.3.0

func (m *Ingress) MarshalTo(data []byte) (int, error)

func (*Ingress) ProtoMessage added in v1.3.0

func (*Ingress) ProtoMessage()

func (*Ingress) Reset added in v1.3.0

func (m *Ingress) Reset()

func (*Ingress) Size added in v1.3.0

func (m *Ingress) Size() (n int)

func (*Ingress) String added in v1.3.0

func (m *Ingress) String() string

func (Ingress) SwaggerDoc

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

func (*Ingress) Unmarshal added in v1.3.0

func (m *Ingress) Unmarshal(data []byte) error

type IngressBackend

type IngressBackend struct {
	// Specifies the name of the referenced service.
	ServiceName string `json:"serviceName" protobuf:"bytes,1,opt,name=serviceName"`

	// Specifies the port of the referenced service.
	ServicePort intstr.IntOrString `json:"servicePort" protobuf:"bytes,2,opt,name=servicePort"`
}

IngressBackend describes all endpoints for a given service and port.

func (*IngressBackend) Marshal added in v1.3.0

func (m *IngressBackend) Marshal() (data []byte, err error)

func (*IngressBackend) MarshalTo added in v1.3.0

func (m *IngressBackend) MarshalTo(data []byte) (int, error)

func (*IngressBackend) ProtoMessage added in v1.3.0

func (*IngressBackend) ProtoMessage()

func (*IngressBackend) Reset added in v1.3.0

func (m *IngressBackend) Reset()

func (*IngressBackend) Size added in v1.3.0

func (m *IngressBackend) Size() (n int)

func (*IngressBackend) String added in v1.3.0

func (m *IngressBackend) String() string

func (IngressBackend) SwaggerDoc

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

func (*IngressBackend) Unmarshal added in v1.3.0

func (m *IngressBackend) Unmarshal(data []byte) error

type IngressList

type IngressList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of Ingress.
	Items []Ingress `json:"items" protobuf:"bytes,2,rep,name=items"`
}

IngressList is a collection of Ingress.

func (*IngressList) Marshal added in v1.3.0

func (m *IngressList) Marshal() (data []byte, err error)

func (*IngressList) MarshalTo added in v1.3.0

func (m *IngressList) MarshalTo(data []byte) (int, error)

func (*IngressList) ProtoMessage added in v1.3.0

func (*IngressList) ProtoMessage()

func (*IngressList) Reset added in v1.3.0

func (m *IngressList) Reset()

func (*IngressList) Size added in v1.3.0

func (m *IngressList) Size() (n int)

func (*IngressList) String added in v1.3.0

func (m *IngressList) String() string

func (IngressList) SwaggerDoc

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

func (*IngressList) Unmarshal added in v1.3.0

func (m *IngressList) Unmarshal(data []byte) error

type IngressRule

type IngressRule struct {
	// Host is the fully qualified domain name of a network host, as defined
	// by RFC 3986. Note the following deviations from the "host" part of the
	// URI as defined in the RFC:
	// 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the
	//	  IP in the Spec of the parent Ingress.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	//	  Currently the port of an Ingress is implicitly :80 for http and
	//	  :443 for https.
	// Both these may change in the future.
	// Incoming requests are matched against the host before the IngressRuleValue.
	// If the host is unspecified, the Ingress routes all traffic based on the
	// specified IngressRuleValue.
	Host string `json:"host,omitempty" protobuf:"bytes,1,opt,name=host"`
	// IngressRuleValue represents a rule to route requests for this IngressRule.
	// If unspecified, the rule defaults to a http catch-all. Whether that sends
	// just traffic matching the host to the default backend or all traffic to the
	// default backend, is left to the controller fulfilling the Ingress. Http is
	// currently the only supported IngressRuleValue.
	IngressRuleValue `json:",inline,omitempty" protobuf:"bytes,2,opt,name=ingressRuleValue"`
}

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

func (*IngressRule) Marshal added in v1.3.0

func (m *IngressRule) Marshal() (data []byte, err error)

func (*IngressRule) MarshalTo added in v1.3.0

func (m *IngressRule) MarshalTo(data []byte) (int, error)

func (*IngressRule) ProtoMessage added in v1.3.0

func (*IngressRule) ProtoMessage()

func (*IngressRule) Reset added in v1.3.0

func (m *IngressRule) Reset()

func (*IngressRule) Size added in v1.3.0

func (m *IngressRule) Size() (n int)

func (*IngressRule) String added in v1.3.0

func (m *IngressRule) String() string

func (IngressRule) SwaggerDoc

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

func (*IngressRule) Unmarshal added in v1.3.0

func (m *IngressRule) Unmarshal(data []byte) error

type IngressRuleValue

type IngressRuleValue struct {
	HTTP *HTTPIngressRuleValue `json:"http,omitempty" protobuf:"bytes,1,opt,name=http"`
}

IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.

func (*IngressRuleValue) Marshal added in v1.3.0

func (m *IngressRuleValue) Marshal() (data []byte, err error)

func (*IngressRuleValue) MarshalTo added in v1.3.0

func (m *IngressRuleValue) MarshalTo(data []byte) (int, error)

func (*IngressRuleValue) ProtoMessage added in v1.3.0

func (*IngressRuleValue) ProtoMessage()

func (*IngressRuleValue) Reset added in v1.3.0

func (m *IngressRuleValue) Reset()

func (*IngressRuleValue) Size added in v1.3.0

func (m *IngressRuleValue) Size() (n int)

func (*IngressRuleValue) String added in v1.3.0

func (m *IngressRuleValue) String() string

func (IngressRuleValue) SwaggerDoc

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

func (*IngressRuleValue) Unmarshal added in v1.3.0

func (m *IngressRuleValue) Unmarshal(data []byte) error

type IngressSpec

type IngressSpec struct {
	// A default backend capable of servicing requests that don't match any
	// rule. At least one of 'backend' or 'rules' must be specified. This field
	// is optional to allow the loadbalancer controller or defaulting logic to
	// specify a global default.
	Backend *IngressBackend `json:"backend,omitempty" protobuf:"bytes,1,opt,name=backend"`

	// TLS configuration. Currently the Ingress only supports a single TLS
	// port, 443. If multiple members of this list specify different hosts, they
	// will be multiplexed on the same port according to the hostname specified
	// through the SNI TLS extension, if the ingress controller fulfilling the
	// ingress supports SNI.
	TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"`

	// A list of host rules used to configure the Ingress. If unspecified, or
	// no rule matches, all traffic is sent to the default backend.
	Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) Marshal added in v1.3.0

func (m *IngressSpec) Marshal() (data []byte, err error)

func (*IngressSpec) MarshalTo added in v1.3.0

func (m *IngressSpec) MarshalTo(data []byte) (int, error)

func (*IngressSpec) ProtoMessage added in v1.3.0

func (*IngressSpec) ProtoMessage()

func (*IngressSpec) Reset added in v1.3.0

func (m *IngressSpec) Reset()

func (*IngressSpec) Size added in v1.3.0

func (m *IngressSpec) Size() (n int)

func (*IngressSpec) String added in v1.3.0

func (m *IngressSpec) String() string

func (IngressSpec) SwaggerDoc

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

func (*IngressSpec) Unmarshal added in v1.3.0

func (m *IngressSpec) Unmarshal(data []byte) error

type IngressStatus

type IngressStatus struct {
	// LoadBalancer contains the current status of the load-balancer.
	LoadBalancer v1.LoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"`
}

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) Marshal added in v1.3.0

func (m *IngressStatus) Marshal() (data []byte, err error)

func (*IngressStatus) MarshalTo added in v1.3.0

func (m *IngressStatus) MarshalTo(data []byte) (int, error)

func (*IngressStatus) ProtoMessage added in v1.3.0

func (*IngressStatus) ProtoMessage()

func (*IngressStatus) Reset added in v1.3.0

func (m *IngressStatus) Reset()

func (*IngressStatus) Size added in v1.3.0

func (m *IngressStatus) Size() (n int)

func (*IngressStatus) String added in v1.3.0

func (m *IngressStatus) String() string

func (IngressStatus) SwaggerDoc

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

func (*IngressStatus) Unmarshal added in v1.3.0

func (m *IngressStatus) Unmarshal(data []byte) error

type IngressTLS added in v0.4.0

type IngressTLS struct {
	// Hosts are a list of hosts included in the TLS certificate. The values in
	// this list must match the name/s used in the tlsSecret. Defaults to the
	// wildcard host setting for the loadbalancer controller fulfilling this
	// Ingress, if left unspecified.
	Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"`
	// SecretName is the name of the secret used to terminate SSL traffic on 443.
	// Field is left optional to allow SSL routing based on SNI hostname alone.
	// If the SNI host in a listener conflicts with the "Host" header field used
	// by an IngressRule, the SNI host is used for termination and value of the
	// Host header is used for routing.
	SecretName string `json:"secretName,omitempty" protobuf:"bytes,2,opt,name=secretName"`
}

IngressTLS describes the transport layer security associated with an Ingress.

func (*IngressTLS) Marshal added in v1.3.0

func (m *IngressTLS) Marshal() (data []byte, err error)

func (*IngressTLS) MarshalTo added in v1.3.0

func (m *IngressTLS) MarshalTo(data []byte) (int, error)

func (*IngressTLS) ProtoMessage added in v1.3.0

func (*IngressTLS) ProtoMessage()

func (*IngressTLS) Reset added in v1.3.0

func (m *IngressTLS) Reset()

func (*IngressTLS) Size added in v1.3.0

func (m *IngressTLS) Size() (n int)

func (*IngressTLS) String added in v1.3.0

func (m *IngressTLS) String() string

func (IngressTLS) SwaggerDoc added in v0.4.0

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

func (*IngressTLS) Unmarshal added in v1.3.0

func (m *IngressTLS) Unmarshal(data []byte) error

type Job

type Job struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec is a structure defining the expected behavior of a job.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Spec JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Status is a structure describing current status of a job.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Status JobStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Job represents the configuration of a single job.

func (*Job) Marshal added in v1.3.0

func (m *Job) Marshal() (data []byte, err error)

func (*Job) MarshalTo added in v1.3.0

func (m *Job) MarshalTo(data []byte) (int, error)

func (*Job) ProtoMessage added in v1.3.0

func (*Job) ProtoMessage()

func (*Job) Reset added in v1.3.0

func (m *Job) Reset()

func (*Job) Size added in v1.3.0

func (m *Job) Size() (n int)

func (*Job) String added in v1.3.0

func (m *Job) String() string

func (Job) SwaggerDoc

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

func (*Job) Unmarshal added in v1.3.0

func (m *Job) Unmarshal(data []byte) error

type JobCondition

type JobCondition struct {
	// Type of job condition, Complete or Failed.
	Type JobConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=JobConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"`
	// Last time the condition was checked.
	LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"`
	// Last time the condition transit from one status to another.
	LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// (brief) reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// Human readable message indicating details about last transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

JobCondition describes current state of a job.

func (*JobCondition) Marshal added in v1.3.0

func (m *JobCondition) Marshal() (data []byte, err error)

func (*JobCondition) MarshalTo added in v1.3.0

func (m *JobCondition) MarshalTo(data []byte) (int, error)

func (*JobCondition) ProtoMessage added in v1.3.0

func (*JobCondition) ProtoMessage()

func (*JobCondition) Reset added in v1.3.0

func (m *JobCondition) Reset()

func (*JobCondition) Size added in v1.3.0

func (m *JobCondition) Size() (n int)

func (*JobCondition) String added in v1.3.0

func (m *JobCondition) String() string

func (JobCondition) SwaggerDoc

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

func (*JobCondition) Unmarshal added in v1.3.0

func (m *JobCondition) Unmarshal(data []byte) error

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.

type JobList

type JobList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of Job.
	Items []Job `json:"items" protobuf:"bytes,2,rep,name=items"`
}

JobList is a collection of jobs.

func (*JobList) Marshal added in v1.3.0

func (m *JobList) Marshal() (data []byte, err error)

func (*JobList) MarshalTo added in v1.3.0

func (m *JobList) MarshalTo(data []byte) (int, error)

func (*JobList) ProtoMessage added in v1.3.0

func (*JobList) ProtoMessage()

func (*JobList) Reset added in v1.3.0

func (m *JobList) Reset()

func (*JobList) Size added in v1.3.0

func (m *JobList) Size() (n int)

func (*JobList) String added in v1.3.0

func (m *JobList) String() string

func (JobList) SwaggerDoc

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

func (*JobList) Unmarshal added in v1.3.0

func (m *JobList) Unmarshal(data []byte) error

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/release-1.3/docs/user-guide/jobs.md
	Parallelism *int32 `json:"parallelism,omitempty" protobuf:"varint,1,opt,name=parallelism"`

	// 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/release-1.3/docs/user-guide/jobs.md
	Completions *int32 `json:"completions,omitempty" protobuf:"varint,2,opt,name=completions"`

	// 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" protobuf:"varint,3,opt,name=activeDeadlineSeconds"`

	// 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/release-1.3/docs/user-guide/labels.md#label-selectors
	Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"`

	// AutoSelector controls generation of pod labels and pod selectors.
	// It was not present in the original extensions/v1beta1 Job definition, but exists
	// to allow conversion from batch/v1 Jobs, where it corresponds to, but has the opposite
	// meaning as, ManualSelector.
	// More info: http://releases.k8s.io/release-1.3/docs/design/selector-generation.md
	AutoSelector *bool `json:"autoSelector,omitempty" protobuf:"varint,5,opt,name=autoSelector"`

	// Template is the object that describes the pod that will be created when
	// executing a job.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/jobs.md
	Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,6,opt,name=template"`
}

JobSpec describes how the job execution will look like.

func (*JobSpec) Marshal added in v1.3.0

func (m *JobSpec) Marshal() (data []byte, err error)

func (*JobSpec) MarshalTo added in v1.3.0

func (m *JobSpec) MarshalTo(data []byte) (int, error)

func (*JobSpec) ProtoMessage added in v1.3.0

func (*JobSpec) ProtoMessage()

func (*JobSpec) Reset added in v1.3.0

func (m *JobSpec) Reset()

func (*JobSpec) Size added in v1.3.0

func (m *JobSpec) Size() (n int)

func (*JobSpec) String added in v1.3.0

func (m *JobSpec) String() string

func (JobSpec) SwaggerDoc

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

func (*JobSpec) Unmarshal added in v1.3.0

func (m *JobSpec) Unmarshal(data []byte) error

type JobStatus

type JobStatus struct {

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

	// 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" protobuf:"bytes,2,opt,name=startTime"`

	// 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" protobuf:"bytes,3,opt,name=completionTime"`

	// Active is the number of actively running pods.
	Active int32 `json:"active,omitempty" protobuf:"varint,4,opt,name=active"`

	// Succeeded is the number of pods which reached Phase Succeeded.
	Succeeded int32 `json:"succeeded,omitempty" protobuf:"varint,5,opt,name=succeeded"`

	// Failed is the number of pods which reached Phase Failed.
	Failed int32 `json:"failed,omitempty" protobuf:"varint,6,opt,name=failed"`
}

JobStatus represents the current state of a Job.

func (*JobStatus) Marshal added in v1.3.0

func (m *JobStatus) Marshal() (data []byte, err error)

func (*JobStatus) MarshalTo added in v1.3.0

func (m *JobStatus) MarshalTo(data []byte) (int, error)

func (*JobStatus) ProtoMessage added in v1.3.0

func (*JobStatus) ProtoMessage()

func (*JobStatus) Reset added in v1.3.0

func (m *JobStatus) Reset()

func (*JobStatus) Size added in v1.3.0

func (m *JobStatus) Size() (n int)

func (*JobStatus) String added in v1.3.0

func (m *JobStatus) String() string

func (JobStatus) SwaggerDoc

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

func (*JobStatus) Unmarshal added in v1.3.0

func (m *JobStatus) Unmarshal(data []byte) error

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" protobuf:"bytes,1,rep,name=matchLabels"`
	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"`
}

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) Marshal added in v1.3.0

func (m *LabelSelector) Marshal() (data []byte, err error)

func (*LabelSelector) MarshalTo added in v1.3.0

func (m *LabelSelector) MarshalTo(data []byte) (int, error)

func (*LabelSelector) ProtoMessage added in v1.3.0

func (*LabelSelector) ProtoMessage()

func (*LabelSelector) Reset added in v1.3.0

func (m *LabelSelector) Reset()

func (*LabelSelector) Size added in v1.3.0

func (m *LabelSelector) Size() (n int)

func (*LabelSelector) String added in v1.3.0

func (m *LabelSelector) String() string

func (LabelSelector) SwaggerDoc

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

func (*LabelSelector) Unmarshal added in v1.3.0

func (m *LabelSelector) Unmarshal(data []byte) error

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"
)

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	// key is the label key that the selector applies to.
	Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"`
	// operator represents a key's relationship to a set of values.
	// Valid operators ard In, NotIn, Exists and DoesNotExist.
	Operator LabelSelectorOperator `json:"operator" protobuf:"bytes,2,opt,name=operator,casttype=LabelSelectorOperator"`
	// 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" protobuf:"bytes,3,rep,name=values"`
}

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

func (*LabelSelectorRequirement) Marshal added in v1.3.0

func (m *LabelSelectorRequirement) Marshal() (data []byte, err error)

func (*LabelSelectorRequirement) MarshalTo added in v1.3.0

func (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error)

func (*LabelSelectorRequirement) ProtoMessage added in v1.3.0

func (*LabelSelectorRequirement) ProtoMessage()

func (*LabelSelectorRequirement) Reset added in v1.3.0

func (m *LabelSelectorRequirement) Reset()

func (*LabelSelectorRequirement) Size added in v1.3.0

func (m *LabelSelectorRequirement) Size() (n int)

func (*LabelSelectorRequirement) String added in v1.3.0

func (m *LabelSelectorRequirement) String() string

func (LabelSelectorRequirement) SwaggerDoc

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

func (*LabelSelectorRequirement) Unmarshal added in v1.3.0

func (m *LabelSelectorRequirement) Unmarshal(data []byte) error

type ListOptions

type ListOptions struct {
	unversioned.TypeMeta `json:",inline"`

	// A selector to restrict the list of returned objects by their labels.
	// Defaults to everything.
	LabelSelector string `json:"labelSelector,omitempty" protobuf:"bytes,1,opt,name=labelSelector"`
	// A selector to restrict the list of returned objects by their fields.
	// Defaults to everything.
	FieldSelector string `json:"fieldSelector,omitempty" protobuf:"bytes,2,opt,name=fieldSelector"`
	// Watch for changes to the described resources and return them as a stream of
	// add, update, and remove notifications. Specify resourceVersion.
	Watch bool `json:"watch,omitempty" protobuf:"varint,3,opt,name=watch"`
	// When specified with a watch call, shows changes that occur after that particular version of a resource.
	// Defaults to changes from the beginning of history.
	ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,4,opt,name=resourceVersion"`
	// Timeout for the list/watch call.
	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"varint,5,opt,name=timeoutSeconds"`
}

ListOptions is the query options to a standard REST list call.

func (*ListOptions) Marshal added in v1.3.0

func (m *ListOptions) Marshal() (data []byte, err error)

func (*ListOptions) MarshalTo added in v1.3.0

func (m *ListOptions) MarshalTo(data []byte) (int, error)

func (*ListOptions) ProtoMessage added in v1.3.0

func (*ListOptions) ProtoMessage()

func (*ListOptions) Reset added in v1.3.0

func (m *ListOptions) Reset()

func (*ListOptions) Size added in v1.3.0

func (m *ListOptions) Size() (n int)

func (*ListOptions) String added in v1.3.0

func (m *ListOptions) String() string

func (ListOptions) SwaggerDoc

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

func (*ListOptions) Unmarshal added in v1.3.0

func (m *ListOptions) Unmarshal(data []byte) error

type NetworkPolicy added in v1.3.0

type NetworkPolicy struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Specification of the desired behavior for this NetworkPolicy.
	Spec NetworkPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

func (*NetworkPolicy) Marshal added in v1.3.0

func (m *NetworkPolicy) Marshal() (data []byte, err error)

func (*NetworkPolicy) MarshalTo added in v1.3.0

func (m *NetworkPolicy) MarshalTo(data []byte) (int, error)

func (*NetworkPolicy) ProtoMessage added in v1.3.0

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) Reset added in v1.3.0

func (m *NetworkPolicy) Reset()

func (*NetworkPolicy) Size added in v1.3.0

func (m *NetworkPolicy) Size() (n int)

func (*NetworkPolicy) String added in v1.3.0

func (m *NetworkPolicy) String() string

func (NetworkPolicy) SwaggerDoc added in v1.3.0

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

func (*NetworkPolicy) Unmarshal added in v1.3.0

func (m *NetworkPolicy) Unmarshal(data []byte) error

type NetworkPolicyIngressRule added in v1.3.0

type NetworkPolicyIngressRule struct {
	// List of ports which should be made accessible on the pods selected for this rule.
	// Each item in this list is combined using a logical OR.
	// If this field is not provided, this rule matches all ports (traffic not restricted by port).
	// If this field is empty, this rule matches no ports (no traffic matches).
	// If this field is present and contains at least one item, then this rule allows traffic
	// only if the traffic matches at least one port in the list.
	// TODO: Update this to be a pointer to slice as soon as auto-generation supports it.
	Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`

	// List of sources which should be able to access the pods selected for this rule.
	// Items in this list are combined using a logical OR operation.
	// If this field is not provided, this rule matches all sources (traffic not restricted by source).
	// If this field is empty, this rule matches no sources (no traffic matches).
	// If this field is present and contains at least on item, this rule allows traffic only if the
	// traffic matches at least one item in the from list.
	// TODO: Update this to be a pointer to slice as soon as auto-generation supports it.
	From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"`
}

This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.

func (*NetworkPolicyIngressRule) Marshal added in v1.3.0

func (m *NetworkPolicyIngressRule) Marshal() (data []byte, err error)

func (*NetworkPolicyIngressRule) MarshalTo added in v1.3.0

func (m *NetworkPolicyIngressRule) MarshalTo(data []byte) (int, error)

func (*NetworkPolicyIngressRule) ProtoMessage added in v1.3.0

func (*NetworkPolicyIngressRule) ProtoMessage()

func (*NetworkPolicyIngressRule) Reset added in v1.3.0

func (m *NetworkPolicyIngressRule) Reset()

func (*NetworkPolicyIngressRule) Size added in v1.3.0

func (m *NetworkPolicyIngressRule) Size() (n int)

func (*NetworkPolicyIngressRule) String added in v1.3.0

func (m *NetworkPolicyIngressRule) String() string

func (NetworkPolicyIngressRule) SwaggerDoc added in v1.3.0

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

func (*NetworkPolicyIngressRule) Unmarshal added in v1.3.0

func (m *NetworkPolicyIngressRule) Unmarshal(data []byte) error

type NetworkPolicyList added in v1.3.0

type NetworkPolicyList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of schema objects.
	Items []NetworkPolicy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

Network Policy List is a list of NetworkPolicy objects.

func (*NetworkPolicyList) Marshal added in v1.3.0

func (m *NetworkPolicyList) Marshal() (data []byte, err error)

func (*NetworkPolicyList) MarshalTo added in v1.3.0

func (m *NetworkPolicyList) MarshalTo(data []byte) (int, error)

func (*NetworkPolicyList) ProtoMessage added in v1.3.0

func (*NetworkPolicyList) ProtoMessage()

func (*NetworkPolicyList) Reset added in v1.3.0

func (m *NetworkPolicyList) Reset()

func (*NetworkPolicyList) Size added in v1.3.0

func (m *NetworkPolicyList) Size() (n int)

func (*NetworkPolicyList) String added in v1.3.0

func (m *NetworkPolicyList) String() string

func (NetworkPolicyList) SwaggerDoc added in v1.3.0

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

func (*NetworkPolicyList) Unmarshal added in v1.3.0

func (m *NetworkPolicyList) Unmarshal(data []byte) error

type NetworkPolicyPeer added in v1.3.0

type NetworkPolicyPeer struct {

	// This is a label selector which selects Pods in this namespace.
	// This field follows standard label selector semantics.
	// If not provided, this selector selects no pods.
	// If present but empty, this selector selects all pods in this namespace.
	PodSelector *LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"`

	// Selects Namespaces using cluster scoped-labels.  This
	// matches all pods in all namespaces selected by this label selector.
	// This field follows standard label selector semantics.
	// If omitted, this selector selects no namespaces.
	// If present but empty, this selector selects all namespaces.
	NamespaceSelector *LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"`
}

func (*NetworkPolicyPeer) Marshal added in v1.3.0

func (m *NetworkPolicyPeer) Marshal() (data []byte, err error)

func (*NetworkPolicyPeer) MarshalTo added in v1.3.0

func (m *NetworkPolicyPeer) MarshalTo(data []byte) (int, error)

func (*NetworkPolicyPeer) ProtoMessage added in v1.3.0

func (*NetworkPolicyPeer) ProtoMessage()

func (*NetworkPolicyPeer) Reset added in v1.3.0

func (m *NetworkPolicyPeer) Reset()

func (*NetworkPolicyPeer) Size added in v1.3.0

func (m *NetworkPolicyPeer) Size() (n int)

func (*NetworkPolicyPeer) String added in v1.3.0

func (m *NetworkPolicyPeer) String() string

func (NetworkPolicyPeer) SwaggerDoc added in v1.3.0

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

func (*NetworkPolicyPeer) Unmarshal added in v1.3.0

func (m *NetworkPolicyPeer) Unmarshal(data []byte) error

type NetworkPolicyPort added in v1.3.0

type NetworkPolicyPort struct {
	// Optional.  The protocol (TCP or UDP) which traffic must match.
	// If not specified, this field defaults to TCP.
	Protocol *v1.Protocol `json:"protocol,omitempty" protobuf:"bytes,1,opt,name=protocol,casttype=k8s.io/kubernetes/pkg/api/v1.Protocol"`

	// If specified, the port on the given protocol.  This can
	// either be a numerical or named port on a pod.  If this field is not provided,
	// this matches all port names and numbers.
	// If present, only traffic on the specified protocol AND port
	// will be matched.
	Port *intstr.IntOrString `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"`
}

func (*NetworkPolicyPort) Marshal added in v1.3.0

func (m *NetworkPolicyPort) Marshal() (data []byte, err error)

func (*NetworkPolicyPort) MarshalTo added in v1.3.0

func (m *NetworkPolicyPort) MarshalTo(data []byte) (int, error)

func (*NetworkPolicyPort) ProtoMessage added in v1.3.0

func (*NetworkPolicyPort) ProtoMessage()

func (*NetworkPolicyPort) Reset added in v1.3.0

func (m *NetworkPolicyPort) Reset()

func (*NetworkPolicyPort) Size added in v1.3.0

func (m *NetworkPolicyPort) Size() (n int)

func (*NetworkPolicyPort) String added in v1.3.0

func (m *NetworkPolicyPort) String() string

func (NetworkPolicyPort) SwaggerDoc added in v1.3.0

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

func (*NetworkPolicyPort) Unmarshal added in v1.3.0

func (m *NetworkPolicyPort) Unmarshal(data []byte) error

type NetworkPolicySpec added in v1.3.0

type NetworkPolicySpec struct {
	// Selects the pods to which this NetworkPolicy object applies.  The array of ingress rules
	// is applied to any pods selected by this field. Multiple network policies can select the
	// same set of pods.  In this case, the ingress rules for each are combined additively.
	// This field is NOT optional and follows standard label selector semantics.
	// An empty podSelector matches all pods in this namespace.
	PodSelector LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"`

	// List of ingress rules to be applied to the selected pods.
	// Traffic is allowed to a pod if namespace.networkPolicy.ingress.isolation is undefined and cluster policy allows it,
	// OR if the traffic source is the pod's local node,
	// OR if the traffic matches at least one ingress rule across all of the NetworkPolicy
	// objects whose podSelector matches the pod.
	// If this field is empty then this NetworkPolicy does not affect ingress isolation.
	// If this field is present and contains at least one rule, this policy allows any traffic
	// which matches at least one of the ingress rules in this list.
	Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"`
}

func (*NetworkPolicySpec) Marshal added in v1.3.0

func (m *NetworkPolicySpec) Marshal() (data []byte, err error)

func (*NetworkPolicySpec) MarshalTo added in v1.3.0

func (m *NetworkPolicySpec) MarshalTo(data []byte) (int, error)

func (*NetworkPolicySpec) ProtoMessage added in v1.3.0

func (*NetworkPolicySpec) ProtoMessage()

func (*NetworkPolicySpec) Reset added in v1.3.0

func (m *NetworkPolicySpec) Reset()

func (*NetworkPolicySpec) Size added in v1.3.0

func (m *NetworkPolicySpec) Size() (n int)

func (*NetworkPolicySpec) String added in v1.3.0

func (m *NetworkPolicySpec) String() string

func (NetworkPolicySpec) SwaggerDoc added in v1.3.0

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

func (*NetworkPolicySpec) Unmarshal added in v1.3.0

func (m *NetworkPolicySpec) Unmarshal(data []byte) error

type PodSecurityPolicy added in v0.4.0

type PodSecurityPolicy struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// spec defines the policy enforced.
	Spec PodSecurityPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.

func (*PodSecurityPolicy) Marshal added in v1.3.0

func (m *PodSecurityPolicy) Marshal() (data []byte, err error)

func (*PodSecurityPolicy) MarshalTo added in v1.3.0

func (m *PodSecurityPolicy) MarshalTo(data []byte) (int, error)

func (*PodSecurityPolicy) ProtoMessage added in v1.3.0

func (*PodSecurityPolicy) ProtoMessage()

func (*PodSecurityPolicy) Reset added in v1.3.0

func (m *PodSecurityPolicy) Reset()

func (*PodSecurityPolicy) Size added in v1.3.0

func (m *PodSecurityPolicy) Size() (n int)

func (*PodSecurityPolicy) String added in v1.3.0

func (m *PodSecurityPolicy) String() string

func (PodSecurityPolicy) SwaggerDoc added in v0.4.0

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

func (*PodSecurityPolicy) Unmarshal added in v1.3.0

func (m *PodSecurityPolicy) Unmarshal(data []byte) error

type PodSecurityPolicyList added in v0.4.0

type PodSecurityPolicyList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of schema objects.
	Items []PodSecurityPolicy `json:"items" protobuf:"bytes,2,rep,name=items"`
}

Pod Security Policy List is a list of PodSecurityPolicy objects.

func (*PodSecurityPolicyList) Marshal added in v1.3.0

func (m *PodSecurityPolicyList) Marshal() (data []byte, err error)

func (*PodSecurityPolicyList) MarshalTo added in v1.3.0

func (m *PodSecurityPolicyList) MarshalTo(data []byte) (int, error)

func (*PodSecurityPolicyList) ProtoMessage added in v1.3.0

func (*PodSecurityPolicyList) ProtoMessage()

func (*PodSecurityPolicyList) Reset added in v1.3.0

func (m *PodSecurityPolicyList) Reset()

func (*PodSecurityPolicyList) Size added in v1.3.0

func (m *PodSecurityPolicyList) Size() (n int)

func (*PodSecurityPolicyList) String added in v1.3.0

func (m *PodSecurityPolicyList) String() string

func (PodSecurityPolicyList) SwaggerDoc added in v0.4.0

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

func (*PodSecurityPolicyList) Unmarshal added in v1.3.0

func (m *PodSecurityPolicyList) Unmarshal(data []byte) error

type PodSecurityPolicySpec added in v0.4.0

type PodSecurityPolicySpec struct {
	// privileged determines if a pod can request to be run as privileged.
	Privileged bool `json:"privileged,omitempty" protobuf:"varint,1,opt,name=privileged"`
	// DefaultAddCapabilities is the default set of capabilities that will be added to the container
	// unless the pod spec specifically drops the capability.  You may not list a capabiility in both
	// DefaultAddCapabilities and RequiredDropCapabilities.
	DefaultAddCapabilities []v1.Capability `` /* 139-byte string literal not displayed */
	// RequiredDropCapabilities are the capabilities that will be dropped from the container.  These
	// are required to be dropped and cannot be added.
	RequiredDropCapabilities []v1.Capability `` /* 143-byte string literal not displayed */
	// AllowedCapabilities is a list of capabilities that can be requested to add to the container.
	// Capabilities in this field may be added at the pod author's discretion.
	// You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.
	AllowedCapabilities []v1.Capability `` /* 133-byte string literal not displayed */
	// volumes is a white list of allowed volume plugins.  Empty indicates that all plugins
	// may be used.
	Volumes []FSType `json:"volumes,omitempty" protobuf:"bytes,5,rep,name=volumes,casttype=FSType"`
	// hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
	HostNetwork bool `json:"hostNetwork,omitempty" protobuf:"varint,6,opt,name=hostNetwork"`
	// hostPorts determines which host port ranges are allowed to be exposed.
	HostPorts []HostPortRange `json:"hostPorts,omitempty" protobuf:"bytes,7,rep,name=hostPorts"`
	// hostPID determines if the policy allows the use of HostPID in the pod spec.
	HostPID bool `json:"hostPID,omitempty" protobuf:"varint,8,opt,name=hostPID"`
	// hostIPC determines if the policy allows the use of HostIPC in the pod spec.
	HostIPC bool `json:"hostIPC,omitempty" protobuf:"varint,9,opt,name=hostIPC"`
	// seLinux is the strategy that will dictate the allowable labels that may be set.
	SELinux SELinuxStrategyOptions `json:"seLinux" protobuf:"bytes,10,opt,name=seLinux"`
	// runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
	RunAsUser RunAsUserStrategyOptions `json:"runAsUser" protobuf:"bytes,11,opt,name=runAsUser"`
	// SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
	SupplementalGroups SupplementalGroupsStrategyOptions `json:"supplementalGroups" protobuf:"bytes,12,opt,name=supplementalGroups"`
	// FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.
	FSGroup FSGroupStrategyOptions `json:"fsGroup" protobuf:"bytes,13,opt,name=fsGroup"`
	// ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file
	// system.  If the container specifically requests to run with a non-read only root file system
	// the PSP should deny the pod.
	// If set to false the container may run with a read only root file system if it wishes but it
	// will not be forced to.
	ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty" protobuf:"varint,14,opt,name=readOnlyRootFilesystem"`
}

Pod Security Policy Spec defines the policy enforced.

func (*PodSecurityPolicySpec) Marshal added in v1.3.0

func (m *PodSecurityPolicySpec) Marshal() (data []byte, err error)

func (*PodSecurityPolicySpec) MarshalTo added in v1.3.0

func (m *PodSecurityPolicySpec) MarshalTo(data []byte) (int, error)

func (*PodSecurityPolicySpec) ProtoMessage added in v1.3.0

func (*PodSecurityPolicySpec) ProtoMessage()

func (*PodSecurityPolicySpec) Reset added in v1.3.0

func (m *PodSecurityPolicySpec) Reset()

func (*PodSecurityPolicySpec) Size added in v1.3.0

func (m *PodSecurityPolicySpec) Size() (n int)

func (*PodSecurityPolicySpec) String added in v1.3.0

func (m *PodSecurityPolicySpec) String() string

func (PodSecurityPolicySpec) SwaggerDoc added in v0.4.0

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

func (*PodSecurityPolicySpec) Unmarshal added in v1.3.0

func (m *PodSecurityPolicySpec) Unmarshal(data []byte) error

type ReplicaSet added in v0.4.0

type ReplicaSet struct {
	unversioned.TypeMeta `json:",inline"`

	// If the Labels of a ReplicaSet are empty, they are defaulted to
	// be the same as the Pod(s) that the ReplicaSet manages.
	// Standard object's metadata. More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the specification of the desired behavior of the ReplicaSet.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Spec ReplicaSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Status is the most recently observed status of the ReplicaSet.
	// This data may be out of date by some window of time.
	// Populated by the system.
	// Read-only.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status
	Status ReplicaSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ReplicaSet represents the configuration of a ReplicaSet.

func (*ReplicaSet) Marshal added in v1.3.0

func (m *ReplicaSet) Marshal() (data []byte, err error)

func (*ReplicaSet) MarshalTo added in v1.3.0

func (m *ReplicaSet) MarshalTo(data []byte) (int, error)

func (*ReplicaSet) ProtoMessage added in v1.3.0

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) Reset added in v1.3.0

func (m *ReplicaSet) Reset()

func (*ReplicaSet) Size added in v1.3.0

func (m *ReplicaSet) Size() (n int)

func (*ReplicaSet) String added in v1.3.0

func (m *ReplicaSet) String() string

func (ReplicaSet) SwaggerDoc added in v0.4.0

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

func (*ReplicaSet) Unmarshal added in v1.3.0

func (m *ReplicaSet) Unmarshal(data []byte) error

type ReplicaSetList added in v0.4.0

type ReplicaSetList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#types-kinds
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of ReplicaSets.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/replication-controller.md
	Items []ReplicaSet `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ReplicaSetList is a collection of ReplicaSets.

func (*ReplicaSetList) Marshal added in v1.3.0

func (m *ReplicaSetList) Marshal() (data []byte, err error)

func (*ReplicaSetList) MarshalTo added in v1.3.0

func (m *ReplicaSetList) MarshalTo(data []byte) (int, error)

func (*ReplicaSetList) ProtoMessage added in v1.3.0

func (*ReplicaSetList) ProtoMessage()

func (*ReplicaSetList) Reset added in v1.3.0

func (m *ReplicaSetList) Reset()

func (*ReplicaSetList) Size added in v1.3.0

func (m *ReplicaSetList) Size() (n int)

func (*ReplicaSetList) String added in v1.3.0

func (m *ReplicaSetList) String() string

func (ReplicaSetList) SwaggerDoc added in v0.4.0

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

func (*ReplicaSetList) Unmarshal added in v1.3.0

func (m *ReplicaSetList) Unmarshal(data []byte) error

type ReplicaSetSpec added in v0.4.0

type ReplicaSetSpec struct {
	// Replicas is the number of desired replicas.
	// This is a pointer to distinguish between explicit zero and unspecified.
	// Defaults to 1.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/replication-controller.md#what-is-a-replication-controller
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// Selector is a label query over pods that should match the replica count.
	// If the selector is empty, it is defaulted to the labels present on the pod template.
	// Label keys and values that must match in order to be controlled by this replica set.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/labels.md#label-selectors
	Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`

	// Template is the object that describes the pod that will be created if
	// insufficient replicas are detected.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/replication-controller.md#pod-template
	Template v1.PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"`
}

ReplicaSetSpec is the specification of a ReplicaSet.

func (*ReplicaSetSpec) Marshal added in v1.3.0

func (m *ReplicaSetSpec) Marshal() (data []byte, err error)

func (*ReplicaSetSpec) MarshalTo added in v1.3.0

func (m *ReplicaSetSpec) MarshalTo(data []byte) (int, error)

func (*ReplicaSetSpec) ProtoMessage added in v1.3.0

func (*ReplicaSetSpec) ProtoMessage()

func (*ReplicaSetSpec) Reset added in v1.3.0

func (m *ReplicaSetSpec) Reset()

func (*ReplicaSetSpec) Size added in v1.3.0

func (m *ReplicaSetSpec) Size() (n int)

func (*ReplicaSetSpec) String added in v1.3.0

func (m *ReplicaSetSpec) String() string

func (ReplicaSetSpec) SwaggerDoc added in v0.4.0

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

func (*ReplicaSetSpec) Unmarshal added in v1.3.0

func (m *ReplicaSetSpec) Unmarshal(data []byte) error

type ReplicaSetStatus added in v0.4.0

type ReplicaSetStatus struct {
	// Replicas is the most recently oberved number of replicas.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/replication-controller.md#what-is-a-replication-controller
	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`

	// The number of pods that have labels matching the labels of the pod template of the replicaset.
	FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty" protobuf:"varint,2,opt,name=fullyLabeledReplicas"`

	// ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
}

ReplicaSetStatus represents the current status of a ReplicaSet.

func (*ReplicaSetStatus) Marshal added in v1.3.0

func (m *ReplicaSetStatus) Marshal() (data []byte, err error)

func (*ReplicaSetStatus) MarshalTo added in v1.3.0

func (m *ReplicaSetStatus) MarshalTo(data []byte) (int, error)

func (*ReplicaSetStatus) ProtoMessage added in v1.3.0

func (*ReplicaSetStatus) ProtoMessage()

func (*ReplicaSetStatus) Reset added in v1.3.0

func (m *ReplicaSetStatus) Reset()

func (*ReplicaSetStatus) Size added in v1.3.0

func (m *ReplicaSetStatus) Size() (n int)

func (*ReplicaSetStatus) String added in v1.3.0

func (m *ReplicaSetStatus) String() string

func (ReplicaSetStatus) SwaggerDoc added in v0.4.0

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

func (*ReplicaSetStatus) Unmarshal added in v1.3.0

func (m *ReplicaSetStatus) Unmarshal(data []byte) error

type ReplicationControllerDummy

type ReplicationControllerDummy struct {
	unversioned.TypeMeta `json:",inline"`
}

Dummy definition

func (*ReplicationControllerDummy) Marshal added in v1.3.0

func (m *ReplicationControllerDummy) Marshal() (data []byte, err error)

func (*ReplicationControllerDummy) MarshalTo added in v1.3.0

func (m *ReplicationControllerDummy) MarshalTo(data []byte) (int, error)

func (*ReplicationControllerDummy) ProtoMessage added in v1.3.0

func (*ReplicationControllerDummy) ProtoMessage()

func (*ReplicationControllerDummy) Reset added in v1.3.0

func (m *ReplicationControllerDummy) Reset()

func (*ReplicationControllerDummy) Size added in v1.3.0

func (m *ReplicationControllerDummy) Size() (n int)

func (*ReplicationControllerDummy) String added in v1.3.0

func (m *ReplicationControllerDummy) String() string

func (ReplicationControllerDummy) SwaggerDoc

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

func (*ReplicationControllerDummy) Unmarshal added in v1.3.0

func (m *ReplicationControllerDummy) Unmarshal(data []byte) error

type RollbackConfig added in v0.4.0

type RollbackConfig struct {
	// The revision to rollback to. If set to 0, rollbck to the last revision.
	Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
}

func (*RollbackConfig) Marshal added in v1.3.0

func (m *RollbackConfig) Marshal() (data []byte, err error)

func (*RollbackConfig) MarshalTo added in v1.3.0

func (m *RollbackConfig) MarshalTo(data []byte) (int, error)

func (*RollbackConfig) ProtoMessage added in v1.3.0

func (*RollbackConfig) ProtoMessage()

func (*RollbackConfig) Reset added in v1.3.0

func (m *RollbackConfig) Reset()

func (*RollbackConfig) Size added in v1.3.0

func (m *RollbackConfig) Size() (n int)

func (*RollbackConfig) String added in v1.3.0

func (m *RollbackConfig) String() string

func (RollbackConfig) SwaggerDoc added in v0.4.0

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

func (*RollbackConfig) Unmarshal added in v1.3.0

func (m *RollbackConfig) Unmarshal(data []byte) error

type RollingUpdateDeployment

type RollingUpdateDeployment struct {
	// The maximum number of pods that can be unavailable during the update.
	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
	// Absolute number is calculated from percentage by rounding up.
	// This can not be 0 if MaxSurge is 0.
	// By default, a fixed value of 1 is used.
	// Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods
	// immediately when the rolling update starts. Once new pods are ready, old RC
	// can be scaled down further, followed by scaling up the new RC, ensuring
	// that the total number of pods available at all times during the update is at
	// least 70% of desired pods.
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`

	// The maximum number of pods that can be scheduled above the desired number of
	// pods.
	// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
	// This can not be 0 if MaxUnavailable is 0.
	// Absolute number is calculated from percentage by rounding up.
	// By default, a value of 1 is used.
	// Example: when this is set to 30%, the new RC can be scaled up immediately when
	// the rolling update starts, such that the total number of old and new pods do not exceed
	// 130% of desired pods. Once old pods have been killed,
	// new RC can be scaled up further, ensuring that total number of pods running
	// at any time during the update is atmost 130% of desired pods.
	MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"`
}

Spec to control the desired behavior of rolling update.

func (*RollingUpdateDeployment) Marshal added in v1.3.0

func (m *RollingUpdateDeployment) Marshal() (data []byte, err error)

func (*RollingUpdateDeployment) MarshalTo added in v1.3.0

func (m *RollingUpdateDeployment) MarshalTo(data []byte) (int, error)

func (*RollingUpdateDeployment) ProtoMessage added in v1.3.0

func (*RollingUpdateDeployment) ProtoMessage()

func (*RollingUpdateDeployment) Reset added in v1.3.0

func (m *RollingUpdateDeployment) Reset()

func (*RollingUpdateDeployment) Size added in v1.3.0

func (m *RollingUpdateDeployment) Size() (n int)

func (*RollingUpdateDeployment) String added in v1.3.0

func (m *RollingUpdateDeployment) String() string

func (RollingUpdateDeployment) SwaggerDoc

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

func (*RollingUpdateDeployment) Unmarshal added in v1.3.0

func (m *RollingUpdateDeployment) Unmarshal(data []byte) error

type RunAsUserStrategy added in v0.4.0

type RunAsUserStrategy string

RunAsUserStrategy denotes strategy types for generating RunAsUser values for a Security Context.

const (
	// container must run as a particular uid.
	RunAsUserStrategyMustRunAs RunAsUserStrategy = "MustRunAs"
	// container must run as a non-root uid
	RunAsUserStrategyMustRunAsNonRoot RunAsUserStrategy = "MustRunAsNonRoot"
	// container may make requests for any uid.
	RunAsUserStrategyRunAsAny RunAsUserStrategy = "RunAsAny"
)

type RunAsUserStrategyOptions added in v0.4.0

type RunAsUserStrategyOptions struct {
	// Rule is the strategy that will dictate the allowable RunAsUser values that may be set.
	Rule RunAsUserStrategy `json:"rule" protobuf:"bytes,1,opt,name=rule,casttype=RunAsUserStrategy"`
	// Ranges are the allowed ranges of uids that may be used.
	Ranges []IDRange `json:"ranges,omitempty" protobuf:"bytes,2,rep,name=ranges"`
}

Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.

func (*RunAsUserStrategyOptions) Marshal added in v1.3.0

func (m *RunAsUserStrategyOptions) Marshal() (data []byte, err error)

func (*RunAsUserStrategyOptions) MarshalTo added in v1.3.0

func (m *RunAsUserStrategyOptions) MarshalTo(data []byte) (int, error)

func (*RunAsUserStrategyOptions) ProtoMessage added in v1.3.0

func (*RunAsUserStrategyOptions) ProtoMessage()

func (*RunAsUserStrategyOptions) Reset added in v1.3.0

func (m *RunAsUserStrategyOptions) Reset()

func (*RunAsUserStrategyOptions) Size added in v1.3.0

func (m *RunAsUserStrategyOptions) Size() (n int)

func (*RunAsUserStrategyOptions) String added in v1.3.0

func (m *RunAsUserStrategyOptions) String() string

func (RunAsUserStrategyOptions) SwaggerDoc added in v0.4.0

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

func (*RunAsUserStrategyOptions) Unmarshal added in v1.3.0

func (m *RunAsUserStrategyOptions) Unmarshal(data []byte) error

type SELinuxStrategy added in v0.4.0

type SELinuxStrategy string

SELinuxStrategy denotes strategy types for generating SELinux options for a Security Context.

const (
	// container must have SELinux labels of X applied.
	SELinuxStrategyMustRunAs SELinuxStrategy = "MustRunAs"
	// container may make requests for any SELinux context labels.
	SELinuxStrategyRunAsAny SELinuxStrategy = "RunAsAny"
)

type SELinuxStrategyOptions added in v0.4.0

type SELinuxStrategyOptions struct {
	// type is the strategy that will dictate the allowable labels that may be set.
	Rule SELinuxStrategy `json:"rule" protobuf:"bytes,1,opt,name=rule,casttype=SELinuxStrategy"`
	// seLinuxOptions required to run as; required for MustRunAs
	// More info: http://releases.k8s.io/release-1.3/docs/design/security_context.md#security-context
	SELinuxOptions *v1.SELinuxOptions `json:"seLinuxOptions,omitempty" protobuf:"bytes,2,opt,name=seLinuxOptions"`
}

SELinux Strategy Options defines the strategy type and any options used to create the strategy.

func (*SELinuxStrategyOptions) Marshal added in v1.3.0

func (m *SELinuxStrategyOptions) Marshal() (data []byte, err error)

func (*SELinuxStrategyOptions) MarshalTo added in v1.3.0

func (m *SELinuxStrategyOptions) MarshalTo(data []byte) (int, error)

func (*SELinuxStrategyOptions) ProtoMessage added in v1.3.0

func (*SELinuxStrategyOptions) ProtoMessage()

func (*SELinuxStrategyOptions) Reset added in v1.3.0

func (m *SELinuxStrategyOptions) Reset()

func (*SELinuxStrategyOptions) Size added in v1.3.0

func (m *SELinuxStrategyOptions) Size() (n int)

func (*SELinuxStrategyOptions) String added in v1.3.0

func (m *SELinuxStrategyOptions) String() string

func (SELinuxStrategyOptions) SwaggerDoc added in v0.4.0

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

func (*SELinuxStrategyOptions) Unmarshal added in v1.3.0

func (m *SELinuxStrategyOptions) Unmarshal(data []byte) error

type Scale

type Scale struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object metadata; More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata.
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// defines the behavior of the scale. More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status.
	Spec ScaleSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// current status of the scale. More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#spec-and-status. Read-only.
	Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

represents a scaling request for a resource.

func (*Scale) Marshal added in v1.3.0

func (m *Scale) Marshal() (data []byte, err error)

func (*Scale) MarshalTo added in v1.3.0

func (m *Scale) MarshalTo(data []byte) (int, error)

func (*Scale) ProtoMessage added in v1.3.0

func (*Scale) ProtoMessage()

func (*Scale) Reset added in v1.3.0

func (m *Scale) Reset()

func (*Scale) Size added in v1.3.0

func (m *Scale) Size() (n int)

func (*Scale) String added in v1.3.0

func (m *Scale) String() string

func (Scale) SwaggerDoc

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

func (*Scale) Unmarshal added in v1.3.0

func (m *Scale) Unmarshal(data []byte) error

type ScaleSpec

type ScaleSpec struct {
	// desired number of instances for the scaled object.
	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}

describes the attributes of a scale subresource

func (*ScaleSpec) Marshal added in v1.3.0

func (m *ScaleSpec) Marshal() (data []byte, err error)

func (*ScaleSpec) MarshalTo added in v1.3.0

func (m *ScaleSpec) MarshalTo(data []byte) (int, error)

func (*ScaleSpec) ProtoMessage added in v1.3.0

func (*ScaleSpec) ProtoMessage()

func (*ScaleSpec) Reset added in v1.3.0

func (m *ScaleSpec) Reset()

func (*ScaleSpec) Size added in v1.3.0

func (m *ScaleSpec) Size() (n int)

func (*ScaleSpec) String added in v1.3.0

func (m *ScaleSpec) String() string

func (ScaleSpec) SwaggerDoc

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

func (*ScaleSpec) Unmarshal added in v1.3.0

func (m *ScaleSpec) Unmarshal(data []byte) error

type ScaleStatus

type ScaleStatus struct {
	// actual number of observed instances of the scaled object.
	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`

	// label query over pods that should match the replicas count. More info: http://releases.k8s.io/release-1.3/docs/user-guide/labels.md#label-selectors
	Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,2,rep,name=selector"`

	// label selector for pods that should match the replicas count. This is a serializated
	// version of both map-based and more expressive set-based selectors. This is done to
	// avoid introspection in the clients. The string will be in the same format as the
	// query-param syntax. If the target type only supports map-based selectors, both this
	// field and map-based selector field are populated.
	// More info: http://releases.k8s.io/release-1.3/docs/user-guide/labels.md#label-selectors
	TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
}

represents the current status of a scale subresource.

func (*ScaleStatus) Marshal added in v1.3.0

func (m *ScaleStatus) Marshal() (data []byte, err error)

func (*ScaleStatus) MarshalTo added in v1.3.0

func (m *ScaleStatus) MarshalTo(data []byte) (int, error)

func (*ScaleStatus) ProtoMessage added in v1.3.0

func (*ScaleStatus) ProtoMessage()

func (*ScaleStatus) Reset added in v1.3.0

func (m *ScaleStatus) Reset()

func (*ScaleStatus) Size added in v1.3.0

func (m *ScaleStatus) Size() (n int)

func (*ScaleStatus) String added in v1.3.0

func (m *ScaleStatus) String() string

func (ScaleStatus) SwaggerDoc

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

func (*ScaleStatus) Unmarshal added in v1.3.0

func (m *ScaleStatus) Unmarshal(data []byte) error

type SubresourceReference

type SubresourceReference struct {
	// Kind of the referent; More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
	// Name of the referent; More info: http://releases.k8s.io/release-1.3/docs/user-guide/identifiers.md#names
	Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
	// API version of the referent
	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"`
	// Subresource name of the referent
	Subresource string `json:"subresource,omitempty" protobuf:"bytes,4,opt,name=subresource"`
}

SubresourceReference contains enough information to let you inspect or modify the referred subresource.

func (*SubresourceReference) Marshal added in v1.3.0

func (m *SubresourceReference) Marshal() (data []byte, err error)

func (*SubresourceReference) MarshalTo added in v1.3.0

func (m *SubresourceReference) MarshalTo(data []byte) (int, error)

func (*SubresourceReference) ProtoMessage added in v1.3.0

func (*SubresourceReference) ProtoMessage()

func (*SubresourceReference) Reset added in v1.3.0

func (m *SubresourceReference) Reset()

func (*SubresourceReference) Size added in v1.3.0

func (m *SubresourceReference) Size() (n int)

func (*SubresourceReference) String added in v1.3.0

func (m *SubresourceReference) String() string

func (SubresourceReference) SwaggerDoc

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

func (*SubresourceReference) Unmarshal added in v1.3.0

func (m *SubresourceReference) Unmarshal(data []byte) error

type SupplementalGroupsStrategyOptions added in v1.3.0

type SupplementalGroupsStrategyOptions struct {
	// Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
	Rule SupplementalGroupsStrategyType `json:"rule,omitempty" protobuf:"bytes,1,opt,name=rule,casttype=SupplementalGroupsStrategyType"`
	// Ranges are the allowed ranges of supplemental groups.  If you would like to force a single
	// supplemental group then supply a single range with the same start and end.
	Ranges []IDRange `json:"ranges,omitempty" protobuf:"bytes,2,rep,name=ranges"`
}

SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.

func (*SupplementalGroupsStrategyOptions) Marshal added in v1.3.0

func (m *SupplementalGroupsStrategyOptions) Marshal() (data []byte, err error)

func (*SupplementalGroupsStrategyOptions) MarshalTo added in v1.3.0

func (m *SupplementalGroupsStrategyOptions) MarshalTo(data []byte) (int, error)

func (*SupplementalGroupsStrategyOptions) ProtoMessage added in v1.3.0

func (*SupplementalGroupsStrategyOptions) ProtoMessage()

func (*SupplementalGroupsStrategyOptions) Reset added in v1.3.0

func (*SupplementalGroupsStrategyOptions) Size added in v1.3.0

func (m *SupplementalGroupsStrategyOptions) Size() (n int)

func (*SupplementalGroupsStrategyOptions) String added in v1.3.0

func (SupplementalGroupsStrategyOptions) SwaggerDoc added in v1.3.0

func (*SupplementalGroupsStrategyOptions) Unmarshal added in v1.3.0

func (m *SupplementalGroupsStrategyOptions) Unmarshal(data []byte) error

type SupplementalGroupsStrategyType added in v1.3.0

type SupplementalGroupsStrategyType string

SupplementalGroupsStrategyType denotes strategy types for determining valid supplemental groups for a SecurityContext.

const (
	// container must run as a particular gid.
	SupplementalGroupsStrategyMustRunAs SupplementalGroupsStrategyType = "MustRunAs"
	// container may make requests for any gid.
	SupplementalGroupsStrategyRunAsAny SupplementalGroupsStrategyType = "RunAsAny"
)

type ThirdPartyResource

type ThirdPartyResource struct {
	unversioned.TypeMeta `json:",inline"`

	// Standard object metadata
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Description is the description of this object.
	Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`

	// Versions are versions for this third party object
	Versions []APIVersion `json:"versions,omitempty" protobuf:"bytes,3,rep,name=versions"`
}

A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource types to the API. It consists of one or more Versions of the api.

func (*ThirdPartyResource) Marshal added in v1.3.0

func (m *ThirdPartyResource) Marshal() (data []byte, err error)

func (*ThirdPartyResource) MarshalTo added in v1.3.0

func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error)

func (*ThirdPartyResource) ProtoMessage added in v1.3.0

func (*ThirdPartyResource) ProtoMessage()

func (*ThirdPartyResource) Reset added in v1.3.0

func (m *ThirdPartyResource) Reset()

func (*ThirdPartyResource) Size added in v1.3.0

func (m *ThirdPartyResource) Size() (n int)

func (*ThirdPartyResource) String added in v1.3.0

func (m *ThirdPartyResource) String() string

func (ThirdPartyResource) SwaggerDoc

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

func (*ThirdPartyResource) Unmarshal added in v1.3.0

func (m *ThirdPartyResource) Unmarshal(data []byte) error

type ThirdPartyResourceData

type ThirdPartyResourceData struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object metadata.
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Data is the raw JSON data for this data.
	Data []byte `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"`
}

An internal object, used for versioned storage in etcd. Not exposed to the end user.

func (*ThirdPartyResourceData) Marshal added in v1.3.0

func (m *ThirdPartyResourceData) Marshal() (data []byte, err error)

func (*ThirdPartyResourceData) MarshalTo added in v1.3.0

func (m *ThirdPartyResourceData) MarshalTo(data []byte) (int, error)

func (*ThirdPartyResourceData) ProtoMessage added in v1.3.0

func (*ThirdPartyResourceData) ProtoMessage()

func (*ThirdPartyResourceData) Reset added in v1.3.0

func (m *ThirdPartyResourceData) Reset()

func (*ThirdPartyResourceData) Size added in v1.3.0

func (m *ThirdPartyResourceData) Size() (n int)

func (*ThirdPartyResourceData) String added in v1.3.0

func (m *ThirdPartyResourceData) String() string

func (ThirdPartyResourceData) SwaggerDoc

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

func (*ThirdPartyResourceData) Unmarshal added in v1.3.0

func (m *ThirdPartyResourceData) Unmarshal(data []byte) error

type ThirdPartyResourceDataList

type ThirdPartyResourceDataList struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/release-1.3/docs/devel/api-conventions.md#metadata
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of ThirdpartyResourceData.
	Items []ThirdPartyResourceData `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ThirdPartyResrouceDataList is a list of ThirdPartyResourceData.

func (*ThirdPartyResourceDataList) Marshal added in v1.3.0

func (m *ThirdPartyResourceDataList) Marshal() (data []byte, err error)

func (*ThirdPartyResourceDataList) MarshalTo added in v1.3.0

func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error)

func (*ThirdPartyResourceDataList) ProtoMessage added in v1.3.0

func (*ThirdPartyResourceDataList) ProtoMessage()

func (*ThirdPartyResourceDataList) Reset added in v1.3.0

func (m *ThirdPartyResourceDataList) Reset()

func (*ThirdPartyResourceDataList) Size added in v1.3.0

func (m *ThirdPartyResourceDataList) Size() (n int)

func (*ThirdPartyResourceDataList) String added in v1.3.0

func (m *ThirdPartyResourceDataList) String() string

func (ThirdPartyResourceDataList) SwaggerDoc

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

func (*ThirdPartyResourceDataList) Unmarshal added in v1.3.0

func (m *ThirdPartyResourceDataList) Unmarshal(data []byte) error

type ThirdPartyResourceList

type ThirdPartyResourceList struct {
	unversioned.TypeMeta `json:",inline"`

	// Standard list metadata.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of ThirdPartyResources.
	Items []ThirdPartyResource `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ThirdPartyResourceList is a list of ThirdPartyResources.

func (*ThirdPartyResourceList) Marshal added in v1.3.0

func (m *ThirdPartyResourceList) Marshal() (data []byte, err error)

func (*ThirdPartyResourceList) MarshalTo added in v1.3.0

func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error)

func (*ThirdPartyResourceList) ProtoMessage added in v1.3.0

func (*ThirdPartyResourceList) ProtoMessage()

func (*ThirdPartyResourceList) Reset added in v1.3.0

func (m *ThirdPartyResourceList) Reset()

func (*ThirdPartyResourceList) Size added in v1.3.0

func (m *ThirdPartyResourceList) Size() (n int)

func (*ThirdPartyResourceList) String added in v1.3.0

func (m *ThirdPartyResourceList) String() string

func (ThirdPartyResourceList) SwaggerDoc

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

func (*ThirdPartyResourceList) Unmarshal added in v1.3.0

func (m *ThirdPartyResourceList) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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