v1beta1

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2017 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

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
CustomMetricCurrentStatus
CustomMetricCurrentStatusList
CustomMetricTarget
CustomMetricTargetList
DaemonSet
DaemonSetList
DaemonSetSpec
DaemonSetStatus
DaemonSetUpdateStrategy
Deployment
DeploymentCondition
DeploymentList
DeploymentRollback
DeploymentSpec
DeploymentStatus
DeploymentStrategy
FSGroupStrategyOptions
HTTPIngressPath
HTTPIngressRuleValue
HostPortRange
IDRange
Ingress
IngressBackend
IngressList
IngressRule
IngressRuleValue
IngressSpec
IngressStatus
IngressTLS
NetworkPolicy
NetworkPolicyIngressRule
NetworkPolicyList
NetworkPolicyPeer
NetworkPolicyPort
NetworkPolicySpec
PodSecurityPolicy
PodSecurityPolicyList
PodSecurityPolicySpec
ReplicaSet
ReplicaSetCondition
ReplicaSetList
ReplicaSetSpec
ReplicaSetStatus
ReplicationControllerDummy
RollbackConfig
RollingUpdateDaemonSet
RollingUpdateDeployment
RunAsUserStrategyOptions
SELinuxStrategyOptions
Scale
ScaleSpec
ScaleStatus
SupplementalGroupsStrategyOptions
ThirdPartyResource
ThirdPartyResourceData
ThirdPartyResourceDataList
ThirdPartyResourceList

Index

Constants

View Source
const (
	// DaemonSetTemplateGenerationKey is the key of the labels that is added
	// to daemon set pods to distinguish between old and new pod templates
	// during DaemonSet template update.
	DaemonSetTemplateGenerationKey string = "pod-template-generation"
)
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 (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

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_DaemonSetUpdateStrategy_To_v1beta1_DaemonSetUpdateStrategy added in v1.6.0

func Convert_extensions_DaemonSetUpdateStrategy_To_v1beta1_DaemonSetUpdateStrategy(in *extensions.DaemonSetUpdateStrategy, out *DaemonSetUpdateStrategy, 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_DeploymentCondition_To_v1beta1_DeploymentCondition added in v1.5.1

func Convert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(in *extensions.DeploymentCondition, out *DeploymentCondition, 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

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

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

func Convert_extensions_IDRange_To_v1beta1_IDRange

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

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

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

func Convert_extensions_PodSecurityPolicySpec_To_v1beta1_PodSecurityPolicySpec

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

func Convert_extensions_PodSecurityPolicy_To_v1beta1_PodSecurityPolicy

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

func Convert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition added in v1.5.1

func Convert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition(in *extensions.ReplicaSetCondition, out *ReplicaSetCondition, s conversion.Scope) error

func Convert_extensions_ReplicaSetList_To_v1beta1_ReplicaSetList

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

func Convert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec

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

func Convert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus

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

func Convert_extensions_ReplicaSet_To_v1beta1_ReplicaSet

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

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

func Convert_extensions_RollingUpdateDaemonSet_To_v1beta1_RollingUpdateDaemonSet added in v1.6.0

func Convert_extensions_RollingUpdateDaemonSet_To_v1beta1_RollingUpdateDaemonSet(in *extensions.RollingUpdateDaemonSet, out *RollingUpdateDaemonSet, 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

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

func Convert_extensions_SELinuxStrategyOptions_To_v1beta1_SELinuxStrategyOptions

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_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_DaemonSetUpdateStrategy_To_extensions_DaemonSetUpdateStrategy added in v1.6.0

func Convert_v1beta1_DaemonSetUpdateStrategy_To_extensions_DaemonSetUpdateStrategy(in *DaemonSetUpdateStrategy, out *extensions.DaemonSetUpdateStrategy, 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_DeploymentCondition_To_extensions_DeploymentCondition added in v1.5.1

func Convert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(in *DeploymentCondition, out *extensions.DeploymentCondition, 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

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_HostPortRange_To_extensions_HostPortRange

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

func Convert_v1beta1_IDRange_To_extensions_IDRange

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

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_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

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

func Convert_v1beta1_PodSecurityPolicySpec_To_extensions_PodSecurityPolicySpec

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

func Convert_v1beta1_PodSecurityPolicy_To_extensions_PodSecurityPolicy

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

func Convert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition added in v1.5.1

func Convert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition(in *ReplicaSetCondition, out *extensions.ReplicaSetCondition, s conversion.Scope) error

func Convert_v1beta1_ReplicaSetList_To_extensions_ReplicaSetList

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

func Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec

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

func Convert_v1beta1_ReplicaSetStatus_To_extensions_ReplicaSetStatus

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

func Convert_v1beta1_ReplicaSet_To_extensions_ReplicaSet

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

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

func Convert_v1beta1_RollingUpdateDaemonSet_To_extensions_RollingUpdateDaemonSet added in v1.6.0

func Convert_v1beta1_RollingUpdateDaemonSet_To_extensions_RollingUpdateDaemonSet(in *RollingUpdateDaemonSet, out *extensions.RollingUpdateDaemonSet, 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

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

func Convert_v1beta1_SELinuxStrategyOptions_To_extensions_SELinuxStrategyOptions

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_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 interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricCurrentStatus added in v1.3.0

func DeepCopy_v1beta1_CustomMetricCurrentStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricCurrentStatusList added in v1.3.0

func DeepCopy_v1beta1_CustomMetricCurrentStatusList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricTarget added in v1.3.0

func DeepCopy_v1beta1_CustomMetricTarget(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_CustomMetricTargetList added in v1.3.0

func DeepCopy_v1beta1_CustomMetricTargetList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSet added in v1.3.0

func DeepCopy_v1beta1_DaemonSet(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSetList added in v1.3.0

func DeepCopy_v1beta1_DaemonSetList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSetSpec added in v1.3.0

func DeepCopy_v1beta1_DaemonSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSetStatus added in v1.3.0

func DeepCopy_v1beta1_DaemonSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DaemonSetUpdateStrategy added in v1.6.0

func DeepCopy_v1beta1_DaemonSetUpdateStrategy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_Deployment added in v1.3.0

func DeepCopy_v1beta1_Deployment(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentCondition added in v1.5.1

func DeepCopy_v1beta1_DeploymentCondition(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentList added in v1.3.0

func DeepCopy_v1beta1_DeploymentList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentRollback added in v1.3.0

func DeepCopy_v1beta1_DeploymentRollback(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentSpec added in v1.3.0

func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentStatus added in v1.3.0

func DeepCopy_v1beta1_DeploymentStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_DeploymentStrategy added in v1.3.0

func DeepCopy_v1beta1_DeploymentStrategy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_FSGroupStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_FSGroupStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_HTTPIngressPath added in v1.3.0

func DeepCopy_v1beta1_HTTPIngressPath(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_HTTPIngressRuleValue added in v1.3.0

func DeepCopy_v1beta1_HTTPIngressRuleValue(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_HostPortRange added in v1.3.0

func DeepCopy_v1beta1_HostPortRange(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IDRange added in v1.3.0

func DeepCopy_v1beta1_IDRange(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_Ingress added in v1.3.0

func DeepCopy_v1beta1_Ingress(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressBackend added in v1.3.0

func DeepCopy_v1beta1_IngressBackend(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressList added in v1.3.0

func DeepCopy_v1beta1_IngressList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressRule added in v1.3.0

func DeepCopy_v1beta1_IngressRule(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressRuleValue added in v1.3.0

func DeepCopy_v1beta1_IngressRuleValue(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressSpec added in v1.3.0

func DeepCopy_v1beta1_IngressSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressStatus added in v1.3.0

func DeepCopy_v1beta1_IngressStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_IngressTLS added in v1.3.0

func DeepCopy_v1beta1_IngressTLS(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicy added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyIngressRule added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyIngressRule(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyList added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyPeer added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyPeer(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicyPort added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicyPort(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_NetworkPolicySpec added in v1.3.0

func DeepCopy_v1beta1_NetworkPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_PodSecurityPolicy added in v1.3.0

func DeepCopy_v1beta1_PodSecurityPolicy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_PodSecurityPolicyList added in v1.3.0

func DeepCopy_v1beta1_PodSecurityPolicyList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_PodSecurityPolicySpec added in v1.3.0

func DeepCopy_v1beta1_PodSecurityPolicySpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSet added in v1.3.0

func DeepCopy_v1beta1_ReplicaSet(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSetCondition added in v1.5.1

func DeepCopy_v1beta1_ReplicaSetCondition(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSetList added in v1.3.0

func DeepCopy_v1beta1_ReplicaSetList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSetSpec added in v1.3.0

func DeepCopy_v1beta1_ReplicaSetSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicaSetStatus added in v1.3.0

func DeepCopy_v1beta1_ReplicaSetStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ReplicationControllerDummy added in v1.3.0

func DeepCopy_v1beta1_ReplicationControllerDummy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_RollbackConfig added in v1.3.0

func DeepCopy_v1beta1_RollbackConfig(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_RollingUpdateDaemonSet added in v1.6.0

func DeepCopy_v1beta1_RollingUpdateDaemonSet(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_RollingUpdateDeployment added in v1.3.0

func DeepCopy_v1beta1_RollingUpdateDeployment(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_RunAsUserStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_RunAsUserStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_SELinuxStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_SELinuxStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_Scale added in v1.3.0

func DeepCopy_v1beta1_Scale(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ScaleSpec added in v1.3.0

func DeepCopy_v1beta1_ScaleSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ScaleStatus added in v1.3.0

func DeepCopy_v1beta1_ScaleStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_SupplementalGroupsStrategyOptions added in v1.3.0

func DeepCopy_v1beta1_SupplementalGroupsStrategyOptions(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResource added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResource(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResourceData added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResourceData(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResourceDataList added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResourceDataList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1beta1_ThirdPartyResourceList added in v1.3.0

func DeepCopy_v1beta1_ThirdPartyResourceList(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions added in v1.4.2

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies added in v1.4.2

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults added in v1.5.1

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource added in v1.6.0

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

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

func SetDefaults_NetworkPolicy(obj *NetworkPolicy)

func SetDefaults_ReplicaSet added in v1.3.0

func SetDefaults_ReplicaSet(obj *ReplicaSet)

func SetObjectDefaults_DaemonSet added in v1.5.1

func SetObjectDefaults_DaemonSet(in *DaemonSet)

func SetObjectDefaults_DaemonSetList added in v1.5.1

func SetObjectDefaults_DaemonSetList(in *DaemonSetList)

func SetObjectDefaults_Deployment added in v1.5.1

func SetObjectDefaults_Deployment(in *Deployment)

func SetObjectDefaults_DeploymentList added in v1.5.1

func SetObjectDefaults_DeploymentList(in *DeploymentList)

func SetObjectDefaults_NetworkPolicy added in v1.5.1

func SetObjectDefaults_NetworkPolicy(in *NetworkPolicy)

func SetObjectDefaults_NetworkPolicyList added in v1.5.1

func SetObjectDefaults_NetworkPolicyList(in *NetworkPolicyList)

func SetObjectDefaults_ReplicaSet added in v1.5.1

func SetObjectDefaults_ReplicaSet(in *ReplicaSet)

func SetObjectDefaults_ReplicaSetList added in v1.5.1

func SetObjectDefaults_ReplicaSetList(in *ReplicaSetList)

Types

type APIVersion

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

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

func (*APIVersion) CodecDecodeSelf

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

func (*APIVersion) CodecEncodeSelf

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

func (*APIVersion) Descriptor added in v1.4.2

func (*APIVersion) Descriptor() ([]byte, []int)

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 (this *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 CustomMetricCurrentStatus

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

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

func (*CustomMetricCurrentStatus) CodecEncodeSelf

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

func (*CustomMetricCurrentStatus) Descriptor added in v1.4.2

func (*CustomMetricCurrentStatus) Descriptor() ([]byte, []int)

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 (this *CustomMetricCurrentStatus) String() string

func (CustomMetricCurrentStatus) SwaggerDoc

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

func (*CustomMetricCurrentStatus) Unmarshal added in v1.3.0

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

type CustomMetricCurrentStatusList

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

func (*CustomMetricCurrentStatusList) CodecDecodeSelf

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

func (*CustomMetricCurrentStatusList) CodecEncodeSelf

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

func (*CustomMetricCurrentStatusList) Descriptor added in v1.4.2

func (*CustomMetricCurrentStatusList) Descriptor() ([]byte, []int)

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 (this *CustomMetricCurrentStatusList) String() string

func (*CustomMetricCurrentStatusList) Unmarshal added in v1.3.0

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

type CustomMetricTarget

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

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

func (*CustomMetricTarget) CodecEncodeSelf

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

func (*CustomMetricTarget) Descriptor added in v1.4.2

func (*CustomMetricTarget) Descriptor() ([]byte, []int)

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 (this *CustomMetricTarget) String() string

func (CustomMetricTarget) SwaggerDoc

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

func (*CustomMetricTarget) Unmarshal added in v1.3.0

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

type CustomMetricTargetList

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

func (*CustomMetricTargetList) CodecDecodeSelf

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

func (*CustomMetricTargetList) CodecEncodeSelf

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

func (*CustomMetricTargetList) Descriptor added in v1.4.2

func (*CustomMetricTargetList) Descriptor() ([]byte, []int)

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 (this *CustomMetricTargetList) String() string

func (*CustomMetricTargetList) Unmarshal added in v1.3.0

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

type DaemonSet

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

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

	// 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/HEAD/docs/devel/api-conventions.md#spec-and-status
	// +optional
	Status DaemonSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

DaemonSet represents the configuration of a daemon set.

func (*DaemonSet) CodecDecodeSelf

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

func (*DaemonSet) CodecEncodeSelf

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

func (*DaemonSet) Descriptor added in v1.4.2

func (*DaemonSet) Descriptor() ([]byte, []int)

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 (this *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 {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

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

DaemonSetList is a collection of daemon sets.

func (*DaemonSetList) CodecDecodeSelf

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

func (*DaemonSetList) CodecEncodeSelf

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

func (*DaemonSetList) Descriptor added in v1.4.2

func (*DaemonSetList) Descriptor() ([]byte, []int)

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 (this *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 {
	// 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://kubernetes.io/docs/user-guide/labels#label-selectors
	// +optional
	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"`

	// An 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://kubernetes.io/docs/user-guide/replication-controller#pod-template
	Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,2,opt,name=template"`

	// An update strategy to replace existing DaemonSet pods with new pods.
	// +optional
	UpdateStrategy DaemonSetUpdateStrategy `json:"updateStrategy,omitempty" protobuf:"bytes,3,opt,name=updateStrategy"`

	// The minimum number of seconds for which a newly created DaemonSet 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).
	// +optional
	MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,4,opt,name=minReadySeconds"`

	// A sequence number representing a specific generation of the template.
	// Populated by the system. It can be set only during the creation.
	// +optional
	TemplateGeneration int64 `json:"templateGeneration,omitempty" protobuf:"varint,5,opt,name=templateGeneration"`
}

DaemonSetSpec is the specification of a daemon set.

func (*DaemonSetSpec) CodecDecodeSelf

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

func (*DaemonSetSpec) CodecEncodeSelf

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

func (*DaemonSetSpec) Descriptor added in v1.4.2

func (*DaemonSetSpec) Descriptor() ([]byte, []int)

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 (this *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 {
	// 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/HEAD/docs/admin/daemons.md
	CurrentNumberScheduled int32 `json:"currentNumberScheduled" protobuf:"varint,1,opt,name=currentNumberScheduled"`

	// 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/HEAD/docs/admin/daemons.md
	NumberMisscheduled int32 `json:"numberMisscheduled" protobuf:"varint,2,opt,name=numberMisscheduled"`

	// 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/HEAD/docs/admin/daemons.md
	DesiredNumberScheduled int32 `json:"desiredNumberScheduled" protobuf:"varint,3,opt,name=desiredNumberScheduled"`

	// The number of nodes that should be running the daemon pod and have one
	// or more of the daemon pod running and ready.
	NumberReady int32 `json:"numberReady" protobuf:"varint,4,opt,name=numberReady"`

	// The most recent generation observed by the daemon set controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,5,opt,name=observedGeneration"`

	// The total number of nodes that are running updated daemon pod
	// +optional
	UpdatedNumberScheduled int32 `json:"updatedNumberScheduled,omitempty" protobuf:"varint,6,opt,name=updatedNumberScheduled"`

	// The number of nodes that should be running the
	// daemon pod and have one or more of the daemon pod running and
	// available (ready for at least spec.minReadySeconds)
	// +optional
	NumberAvailable int32 `json:"numberAvailable,omitempty" protobuf:"varint,7,opt,name=numberAvailable"`

	// The number of nodes that should be running the
	// daemon pod and have none of the daemon pod running and available
	// (ready for at least spec.minReadySeconds)
	// +optional
	NumberUnavailable int32 `json:"numberUnavailable,omitempty" protobuf:"varint,8,opt,name=numberUnavailable"`
}

DaemonSetStatus represents the current status of a daemon set.

func (*DaemonSetStatus) CodecDecodeSelf

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

func (*DaemonSetStatus) CodecEncodeSelf

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

func (*DaemonSetStatus) Descriptor added in v1.4.2

func (*DaemonSetStatus) Descriptor() ([]byte, []int)

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 (this *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 DaemonSetUpdateStrategy added in v1.6.0

type DaemonSetUpdateStrategy struct {
	// Type of daemon set update. Can be "RollingUpdate" or "OnDelete".
	// Default is OnDelete.
	// +optional
	Type DaemonSetUpdateStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`

	// Rolling update config params. Present only if type = "RollingUpdate".
	//---
	// TODO: Update this to follow our convention for oneOf, whatever we decide it
	// to be. Same as DeploymentStrategy.RollingUpdate.
	// See https://github.com/kubernetes/kubernetes/issues/35345
	// +optional
	RollingUpdate *RollingUpdateDaemonSet `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"`
}

func (*DaemonSetUpdateStrategy) CodecDecodeSelf added in v1.6.0

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

func (*DaemonSetUpdateStrategy) CodecEncodeSelf added in v1.6.0

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

func (*DaemonSetUpdateStrategy) Descriptor added in v1.6.0

func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int)

func (*DaemonSetUpdateStrategy) Marshal added in v1.6.0

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

func (*DaemonSetUpdateStrategy) MarshalTo added in v1.6.0

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

func (*DaemonSetUpdateStrategy) ProtoMessage added in v1.6.0

func (*DaemonSetUpdateStrategy) ProtoMessage()

func (*DaemonSetUpdateStrategy) Reset added in v1.6.0

func (m *DaemonSetUpdateStrategy) Reset()

func (*DaemonSetUpdateStrategy) Size added in v1.6.0

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

func (*DaemonSetUpdateStrategy) String added in v1.6.0

func (this *DaemonSetUpdateStrategy) String() string

func (DaemonSetUpdateStrategy) SwaggerDoc added in v1.6.0

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

func (*DaemonSetUpdateStrategy) Unmarshal added in v1.6.0

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

type DaemonSetUpdateStrategyType added in v1.6.0

type DaemonSetUpdateStrategyType string
const (
	// Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other.
	RollingUpdateDaemonSetStrategyType DaemonSetUpdateStrategyType = "RollingUpdate"

	// Replace the old daemons only when it's killed
	OnDeleteDaemonSetStrategyType DaemonSetUpdateStrategyType = "OnDelete"
)

func (*DaemonSetUpdateStrategyType) CodecDecodeSelf added in v1.6.0

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

func (DaemonSetUpdateStrategyType) CodecEncodeSelf added in v1.6.0

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

type Deployment

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

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

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

Deployment enables declarative updates for Pods and ReplicaSets.

func (*Deployment) CodecDecodeSelf

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

func (*Deployment) CodecEncodeSelf

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

func (*Deployment) Descriptor added in v1.4.2

func (*Deployment) Descriptor() ([]byte, []int)

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 (this *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 DeploymentCondition added in v1.5.1

type DeploymentCondition struct {
	// Type of deployment condition.
	Type DeploymentConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DeploymentConditionType"`
	// 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"`
	// The last time this condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,6,opt,name=lastUpdateTime"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,7,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

DeploymentCondition describes the state of a deployment at a certain point.

func (*DeploymentCondition) CodecDecodeSelf added in v1.5.1

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

func (*DeploymentCondition) CodecEncodeSelf added in v1.5.1

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

func (*DeploymentCondition) Descriptor added in v1.5.1

func (*DeploymentCondition) Descriptor() ([]byte, []int)

func (*DeploymentCondition) Marshal added in v1.5.1

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

func (*DeploymentCondition) MarshalTo added in v1.5.1

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

func (*DeploymentCondition) ProtoMessage added in v1.5.1

func (*DeploymentCondition) ProtoMessage()

func (*DeploymentCondition) Reset added in v1.5.1

func (m *DeploymentCondition) Reset()

func (*DeploymentCondition) Size added in v1.5.1

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

func (*DeploymentCondition) String added in v1.5.1

func (this *DeploymentCondition) String() string

func (DeploymentCondition) SwaggerDoc added in v1.5.1

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

func (*DeploymentCondition) Unmarshal added in v1.5.1

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

type DeploymentConditionType added in v1.5.1

type DeploymentConditionType string
const (
	// Available means the deployment is available, ie. at least the minimum available
	// replicas required are up and running for at least minReadySeconds.
	DeploymentAvailable DeploymentConditionType = "Available"
	// Progressing means the deployment is progressing. Progress for a deployment is
	// considered when a new replica set is created or adopted, and when new pods scale
	// up or old pods scale down. Progress is not estimated for paused deployments or
	// when progressDeadlineSeconds is not specified.
	DeploymentProgressing DeploymentConditionType = "Progressing"
	// ReplicaFailure is added in a deployment when one of its pods fails to be created
	// or deleted.
	DeploymentReplicaFailure DeploymentConditionType = "ReplicaFailure"
)

These are valid conditions of a deployment.

func (*DeploymentConditionType) CodecDecodeSelf added in v1.5.1

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

func (DeploymentConditionType) CodecEncodeSelf added in v1.5.1

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

type DeploymentList

type DeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// +optional
	metav1.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) CodecDecodeSelf

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

func (*DeploymentList) CodecEncodeSelf

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

func (*DeploymentList) Descriptor added in v1.4.2

func (*DeploymentList) Descriptor() ([]byte, []int)

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 (this *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

type DeploymentRollback struct {
	metav1.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
	// +optional
	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) CodecDecodeSelf

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

func (*DeploymentRollback) CodecEncodeSelf

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

func (*DeploymentRollback) Descriptor added in v1.4.2

func (*DeploymentRollback) Descriptor() ([]byte, []int)

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 (this *DeploymentRollback) String() string

func (DeploymentRollback) SwaggerDoc

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.
	// +optional
	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.
	// +optional
	Selector *metav1.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.
	// +optional
	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)
	// +optional
	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.
	// +optional
	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.
	// +optional
	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.
	// +optional
	RollbackTo *RollbackConfig `json:"rollbackTo,omitempty" protobuf:"bytes,8,opt,name=rollbackTo"`

	// The maximum time in seconds for a deployment to make progress before it
	// is considered to be failed. The deployment controller will continue to
	// process failed deployments and a condition with a ProgressDeadlineExceeded
	// reason will be surfaced in the deployment status. Once autoRollback is
	// implemented, the deployment controller will automatically rollback failed
	// deployments. Note that progress will not be estimated during the time a
	// deployment is paused. This is not set by default.
	ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty" protobuf:"varint,9,opt,name=progressDeadlineSeconds"`
}

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

func (*DeploymentSpec) CodecDecodeSelf

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

func (*DeploymentSpec) CodecEncodeSelf

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

func (*DeploymentSpec) Descriptor added in v1.4.2

func (*DeploymentSpec) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	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).
	// +optional
	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.
	// +optional
	UpdatedReplicas int32 `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"`

	// Total number of ready pods targeted by this deployment.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,7,opt,name=readyReplicas"`

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

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

	// Represents the latest available observations of a deployment's current state.
	Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}

DeploymentStatus is the most recently observed status of the Deployment.

func (*DeploymentStatus) CodecDecodeSelf

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

func (*DeploymentStatus) CodecEncodeSelf

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

func (*DeploymentStatus) Descriptor added in v1.4.2

func (*DeploymentStatus) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	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.
	// +optional
	RollingUpdate *RollingUpdateDeployment `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

func (*DeploymentStrategy) CodecDecodeSelf

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

func (*DeploymentStrategy) CodecEncodeSelf

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

func (*DeploymentStrategy) Descriptor added in v1.4.2

func (*DeploymentStrategy) Descriptor() ([]byte, []int)

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 (this *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"
)

func (*DeploymentStrategyType) CodecDecodeSelf

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

func (DeploymentStrategyType) CodecEncodeSelf

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

type FSGroupStrategyOptions added in v1.3.0

type FSGroupStrategyOptions struct {
	// Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
	// +optional
	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.
	// +optional
	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) CodecDecodeSelf added in v1.3.0

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

func (*FSGroupStrategyOptions) CodecEncodeSelf added in v1.3.0

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

func (*FSGroupStrategyOptions) Descriptor added in v1.4.2

func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int)

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 (this *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"
)

func (*FSGroupStrategyType) CodecDecodeSelf added in v1.3.0

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

func (FSGroupStrategyType) CodecEncodeSelf added in v1.3.0

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

type FSType

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"
	Quobyte               FSType = "quobyte"
	AzureDisk             FSType = "azureDisk"
	All                   FSType = "*"
)

func (*FSType) CodecDecodeSelf

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

func (FSType) CodecEncodeSelf

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

type HTTPIngressPath

type HTTPIngressPath struct {
	// Path is an 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.
	// +optional
	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) CodecDecodeSelf

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

func (*HTTPIngressPath) CodecEncodeSelf

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

func (*HTTPIngressPath) Descriptor added in v1.4.2

func (*HTTPIngressPath) Descriptor() ([]byte, []int)

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 (this *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) CodecDecodeSelf

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

func (*HTTPIngressRuleValue) CodecEncodeSelf

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

func (*HTTPIngressRuleValue) Descriptor added in v1.4.2

func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)

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 (this *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 HostPortRange

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

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

func (*HostPortRange) CodecEncodeSelf

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

func (*HostPortRange) Descriptor added in v1.4.2

func (*HostPortRange) Descriptor() ([]byte, []int)

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 (this *HostPortRange) String() string

func (HostPortRange) SwaggerDoc

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

func (*HostPortRange) Unmarshal added in v1.3.0

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

type IDRange

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

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

func (*IDRange) CodecEncodeSelf

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

func (*IDRange) Descriptor added in v1.4.2

func (*IDRange) Descriptor() ([]byte, []int)

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 (this *IDRange) String() string

func (IDRange) SwaggerDoc

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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec is the desired state of the Ingress.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
	// +optional
	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/HEAD/docs/devel/api-conventions.md#spec-and-status
	// +optional
	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) CodecDecodeSelf

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

func (*Ingress) CodecEncodeSelf

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

func (*Ingress) Descriptor added in v1.4.2

func (*Ingress) Descriptor() ([]byte, []int)

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 (this *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) CodecDecodeSelf

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

func (*IngressBackend) CodecEncodeSelf

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

func (*IngressBackend) Descriptor added in v1.4.2

func (*IngressBackend) Descriptor() ([]byte, []int)

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 (this *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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.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) CodecDecodeSelf

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

func (*IngressList) CodecEncodeSelf

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

func (*IngressList) Descriptor added in v1.4.2

func (*IngressList) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	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.
	// +optional
	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) CodecDecodeSelf

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

func (*IngressRule) CodecEncodeSelf

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

func (*IngressRule) Descriptor added in v1.4.2

func (*IngressRule) Descriptor() ([]byte, []int)

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 (this *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 {

	// +optional
	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) CodecDecodeSelf

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

func (*IngressRuleValue) CodecEncodeSelf

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

func (*IngressRuleValue) Descriptor added in v1.4.2

func (*IngressRuleValue) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	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.
	// +optional
	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.
	// +optional
	Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
}

IngressSpec describes the Ingress the user wishes to exist.

func (*IngressSpec) CodecDecodeSelf

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

func (*IngressSpec) CodecEncodeSelf

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

func (*IngressSpec) Descriptor added in v1.4.2

func (*IngressSpec) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	LoadBalancer v1.LoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"`
}

IngressStatus describe the current state of the Ingress.

func (*IngressStatus) CodecDecodeSelf

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

func (*IngressStatus) CodecEncodeSelf

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

func (*IngressStatus) Descriptor added in v1.4.2

func (*IngressStatus) Descriptor() ([]byte, []int)

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 (this *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

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.
	// +optional
	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.
	// +optional
	SecretName string `json:"secretName,omitempty" protobuf:"bytes,2,opt,name=secretName"`
}

IngressTLS describes the transport layer security associated with an Ingress.

func (*IngressTLS) CodecDecodeSelf

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

func (*IngressTLS) CodecEncodeSelf

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

func (*IngressTLS) Descriptor added in v1.4.2

func (*IngressTLS) Descriptor() ([]byte, []int)

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 (this *IngressTLS) String() string

func (IngressTLS) SwaggerDoc

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

func (*IngressTLS) Unmarshal added in v1.3.0

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

type NetworkPolicy added in v1.3.0

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

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

func (*NetworkPolicy) CodecDecodeSelf added in v1.3.0

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

func (*NetworkPolicy) CodecEncodeSelf added in v1.3.0

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

func (*NetworkPolicy) Descriptor added in v1.4.2

func (*NetworkPolicy) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	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.
	// +optional
	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) CodecDecodeSelf added in v1.3.0

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

func (*NetworkPolicyIngressRule) CodecEncodeSelf added in v1.3.0

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

func (*NetworkPolicyIngressRule) Descriptor added in v1.4.2

func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int)

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 (this *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 {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.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) CodecDecodeSelf added in v1.3.0

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

func (*NetworkPolicyList) CodecEncodeSelf added in v1.3.0

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

func (*NetworkPolicyList) Descriptor added in v1.4.2

func (*NetworkPolicyList) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	PodSelector *metav1.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.
	// +optional
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"`
}

func (*NetworkPolicyPeer) CodecDecodeSelf added in v1.3.0

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

func (*NetworkPolicyPeer) CodecEncodeSelf added in v1.3.0

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

func (*NetworkPolicyPeer) Descriptor added in v1.4.2

func (*NetworkPolicyPeer) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	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.
	// +optional
	Port *intstr.IntOrString `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"`
}

func (*NetworkPolicyPort) CodecDecodeSelf added in v1.3.0

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

func (*NetworkPolicyPort) CodecEncodeSelf added in v1.3.0

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

func (*NetworkPolicyPort) Descriptor added in v1.4.2

func (*NetworkPolicyPort) Descriptor() ([]byte, []int)

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 (this *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 metav1.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.
	// +optional
	Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"`
}

func (*NetworkPolicySpec) CodecDecodeSelf added in v1.3.0

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

func (*NetworkPolicySpec) CodecEncodeSelf added in v1.3.0

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

func (*NetworkPolicySpec) Descriptor added in v1.4.2

func (*NetworkPolicySpec) Descriptor() ([]byte, []int)

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 (this *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

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

	// spec defines the policy enforced.
	// +optional
	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) CodecDecodeSelf

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

func (*PodSecurityPolicy) CodecEncodeSelf

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

func (*PodSecurityPolicy) Descriptor added in v1.4.2

func (*PodSecurityPolicy) Descriptor() ([]byte, []int)

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 (this *PodSecurityPolicy) String() string

func (PodSecurityPolicy) SwaggerDoc

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

func (*PodSecurityPolicy) Unmarshal added in v1.3.0

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

type PodSecurityPolicyList

type PodSecurityPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.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) CodecDecodeSelf

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

func (*PodSecurityPolicyList) CodecEncodeSelf

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

func (*PodSecurityPolicyList) Descriptor added in v1.4.2

func (*PodSecurityPolicyList) Descriptor() ([]byte, []int)

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 (this *PodSecurityPolicyList) String() string

func (PodSecurityPolicyList) SwaggerDoc

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

func (*PodSecurityPolicyList) Unmarshal added in v1.3.0

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

type PodSecurityPolicySpec

type PodSecurityPolicySpec struct {
	// privileged determines if a pod can request to be run as privileged.
	// +optional
	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.
	// +optional
	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.
	// +optional
	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.
	// +optional
	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.
	// +optional
	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.
	// +optional
	HostNetwork bool `json:"hostNetwork,omitempty" protobuf:"varint,6,opt,name=hostNetwork"`
	// hostPorts determines which host port ranges are allowed to be exposed.
	// +optional
	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.
	// +optional
	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.
	// +optional
	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.
	// +optional
	ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty" protobuf:"varint,14,opt,name=readOnlyRootFilesystem"`
}

Pod Security Policy Spec defines the policy enforced.

func (*PodSecurityPolicySpec) CodecDecodeSelf

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

func (*PodSecurityPolicySpec) CodecEncodeSelf

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

func (*PodSecurityPolicySpec) Descriptor added in v1.4.2

func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int)

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 (this *PodSecurityPolicySpec) String() string

func (PodSecurityPolicySpec) SwaggerDoc

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

func (*PodSecurityPolicySpec) Unmarshal added in v1.3.0

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

type ReplicaSet

type ReplicaSet struct {
	metav1.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/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.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/HEAD/docs/devel/api-conventions.md#spec-and-status
	// +optional
	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/HEAD/docs/devel/api-conventions.md#spec-and-status
	// +optional
	Status ReplicaSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ReplicaSet represents the configuration of a ReplicaSet.

func (*ReplicaSet) CodecDecodeSelf

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

func (*ReplicaSet) CodecEncodeSelf

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

func (*ReplicaSet) Descriptor added in v1.4.2

func (*ReplicaSet) Descriptor() ([]byte, []int)

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 (this *ReplicaSet) String() string

func (ReplicaSet) SwaggerDoc

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

func (*ReplicaSet) Unmarshal added in v1.3.0

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

type ReplicaSetCondition added in v1.5.1

type ReplicaSetCondition struct {
	// Type of replica set condition.
	Type ReplicaSetConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ReplicaSetConditionType"`
	// 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"`
	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

ReplicaSetCondition describes the state of a replica set at a certain point.

func (*ReplicaSetCondition) CodecDecodeSelf added in v1.5.1

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

func (*ReplicaSetCondition) CodecEncodeSelf added in v1.5.1

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

func (*ReplicaSetCondition) Descriptor added in v1.5.1

func (*ReplicaSetCondition) Descriptor() ([]byte, []int)

func (*ReplicaSetCondition) Marshal added in v1.5.1

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

func (*ReplicaSetCondition) MarshalTo added in v1.5.1

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

func (*ReplicaSetCondition) ProtoMessage added in v1.5.1

func (*ReplicaSetCondition) ProtoMessage()

func (*ReplicaSetCondition) Reset added in v1.5.1

func (m *ReplicaSetCondition) Reset()

func (*ReplicaSetCondition) Size added in v1.5.1

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

func (*ReplicaSetCondition) String added in v1.5.1

func (this *ReplicaSetCondition) String() string

func (ReplicaSetCondition) SwaggerDoc added in v1.5.1

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

func (*ReplicaSetCondition) Unmarshal added in v1.5.1

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

type ReplicaSetConditionType added in v1.5.1

type ReplicaSetConditionType string
const (
	// ReplicaSetReplicaFailure is added in a replica set when one of its pods fails to be created
	// due to insufficient quota, limit ranges, pod security policy, node selectors, etc. or deleted
	// due to kubelet being down or finalizers are failing.
	ReplicaSetReplicaFailure ReplicaSetConditionType = "ReplicaFailure"
)

These are valid conditions of a replica set.

func (*ReplicaSetConditionType) CodecDecodeSelf added in v1.5.1

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

func (ReplicaSetConditionType) CodecEncodeSelf added in v1.5.1

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

type ReplicaSetList

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

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

ReplicaSetList is a collection of ReplicaSets.

func (*ReplicaSetList) CodecDecodeSelf

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

func (*ReplicaSetList) CodecEncodeSelf

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

func (*ReplicaSetList) Descriptor added in v1.4.2

func (*ReplicaSetList) Descriptor() ([]byte, []int)

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 (this *ReplicaSetList) String() string

func (ReplicaSetList) SwaggerDoc

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

func (*ReplicaSetList) Unmarshal added in v1.3.0

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

type ReplicaSetSpec

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://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller
	// +optional
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`

	// 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)
	// +optional
	MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,4,opt,name=minReadySeconds"`

	// 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://kubernetes.io/docs/user-guide/labels#label-selectors
	// +optional
	Selector *metav1.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://kubernetes.io/docs/user-guide/replication-controller#pod-template
	// +optional
	Template v1.PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"`
}

ReplicaSetSpec is the specification of a ReplicaSet.

func (*ReplicaSetSpec) CodecDecodeSelf

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

func (*ReplicaSetSpec) CodecEncodeSelf

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

func (*ReplicaSetSpec) Descriptor added in v1.4.2

func (*ReplicaSetSpec) Descriptor() ([]byte, []int)

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 (this *ReplicaSetSpec) String() string

func (ReplicaSetSpec) SwaggerDoc

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

func (*ReplicaSetSpec) Unmarshal added in v1.3.0

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

type ReplicaSetStatus

type ReplicaSetStatus struct {
	// Replicas is the most recently oberved number of replicas.
	// More info: http://kubernetes.io/docs/user-guide/replication-controller#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.
	// +optional
	FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty" protobuf:"varint,2,opt,name=fullyLabeledReplicas"`

	// The number of ready replicas for this replica set.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,4,opt,name=readyReplicas"`

	// The number of available replicas (ready for at least minReadySeconds) for this replica set.
	// +optional
	AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,5,opt,name=availableReplicas"`

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

	// Represents the latest available observations of a replica set's current state.
	// +optional
	Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}

ReplicaSetStatus represents the current status of a ReplicaSet.

func (*ReplicaSetStatus) CodecDecodeSelf

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

func (*ReplicaSetStatus) CodecEncodeSelf

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

func (*ReplicaSetStatus) Descriptor added in v1.4.2

func (*ReplicaSetStatus) Descriptor() ([]byte, []int)

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 (this *ReplicaSetStatus) String() string

func (ReplicaSetStatus) SwaggerDoc

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 {
	metav1.TypeMeta `json:",inline"`
}

Dummy definition

func (*ReplicationControllerDummy) CodecDecodeSelf

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

func (*ReplicationControllerDummy) CodecEncodeSelf

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

func (*ReplicationControllerDummy) Descriptor added in v1.4.2

func (*ReplicationControllerDummy) Descriptor() ([]byte, []int)

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 (this *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

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

func (*RollbackConfig) CodecDecodeSelf

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

func (*RollbackConfig) CodecEncodeSelf

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

func (*RollbackConfig) Descriptor added in v1.4.2

func (*RollbackConfig) Descriptor() ([]byte, []int)

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 (this *RollbackConfig) String() string

func (RollbackConfig) SwaggerDoc

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

func (*RollbackConfig) Unmarshal added in v1.3.0

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

type RollingUpdateDaemonSet added in v1.6.0

type RollingUpdateDaemonSet struct {
	// The maximum number of DaemonSet pods that can be unavailable during the
	// update. Value can be an absolute number (ex: 5) or a percentage of total
	// number of DaemonSet pods at the start of the update (ex: 10%). Absolute
	// number is calculated from percentage by rounding up.
	// This cannot be 0.
	// Default value is 1.
	// Example: when this is set to 30%, at most 30% of the total number of nodes
	// that should be running the daemon pod (i.e. status.desiredNumberScheduled)
	// can have their pods stopped for an update at any given
	// time. The update starts by stopping at most 30% of those DaemonSet pods
	// and then brings up new DaemonSet pods in their place. Once the new pods
	// are available, it then proceeds onto other DaemonSet pods, thus ensuring
	// that at least 70% of original number of DaemonSet pods are available at
	// all times during the update.
	// +optional
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`
}

Spec to control the desired behavior of daemon set rolling update.

func (*RollingUpdateDaemonSet) CodecDecodeSelf added in v1.6.0

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

func (*RollingUpdateDaemonSet) CodecEncodeSelf added in v1.6.0

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

func (*RollingUpdateDaemonSet) Descriptor added in v1.6.0

func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int)

func (*RollingUpdateDaemonSet) Marshal added in v1.6.0

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

func (*RollingUpdateDaemonSet) MarshalTo added in v1.6.0

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

func (*RollingUpdateDaemonSet) ProtoMessage added in v1.6.0

func (*RollingUpdateDaemonSet) ProtoMessage()

func (*RollingUpdateDaemonSet) Reset added in v1.6.0

func (m *RollingUpdateDaemonSet) Reset()

func (*RollingUpdateDaemonSet) Size added in v1.6.0

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

func (*RollingUpdateDaemonSet) String added in v1.6.0

func (this *RollingUpdateDaemonSet) String() string

func (RollingUpdateDaemonSet) SwaggerDoc added in v1.6.0

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

func (*RollingUpdateDaemonSet) Unmarshal added in v1.6.0

func (m *RollingUpdateDaemonSet) 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 down.
	// 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.
	// +optional
	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.
	// +optional
	MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"`
}

Spec to control the desired behavior of rolling update.

func (*RollingUpdateDeployment) CodecDecodeSelf

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

func (*RollingUpdateDeployment) CodecEncodeSelf

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

func (*RollingUpdateDeployment) Descriptor added in v1.4.2

func (*RollingUpdateDeployment) Descriptor() ([]byte, []int)

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 (this *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

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

func (*RunAsUserStrategy) CodecDecodeSelf

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

func (RunAsUserStrategy) CodecEncodeSelf

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

type RunAsUserStrategyOptions

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.
	// +optional
	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) CodecDecodeSelf

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

func (*RunAsUserStrategyOptions) CodecEncodeSelf

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

func (*RunAsUserStrategyOptions) Descriptor added in v1.4.2

func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int)

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 (this *RunAsUserStrategyOptions) String() string

func (RunAsUserStrategyOptions) SwaggerDoc

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

func (*RunAsUserStrategyOptions) Unmarshal added in v1.3.0

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

type SELinuxStrategy

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

func (*SELinuxStrategy) CodecDecodeSelf

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

func (SELinuxStrategy) CodecEncodeSelf

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

type SELinuxStrategyOptions

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/HEAD/docs/design/security_context.md#security-context
	// +optional
	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) CodecDecodeSelf

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

func (*SELinuxStrategyOptions) CodecEncodeSelf

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

func (*SELinuxStrategyOptions) Descriptor added in v1.4.2

func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int)

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 (this *SELinuxStrategyOptions) String() string

func (SELinuxStrategyOptions) SwaggerDoc

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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

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

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

represents a scaling request for a resource.

func (*Scale) CodecDecodeSelf

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

func (*Scale) CodecEncodeSelf

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

func (*Scale) Descriptor added in v1.4.2

func (*Scale) Descriptor() ([]byte, []int)

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 (this *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.
	// +optional
	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}

describes the attributes of a scale subresource

func (*ScaleSpec) CodecDecodeSelf

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

func (*ScaleSpec) CodecEncodeSelf

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

func (*ScaleSpec) Descriptor added in v1.4.2

func (*ScaleSpec) Descriptor() ([]byte, []int)

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 (this *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://kubernetes.io/docs/user-guide/labels#label-selectors
	// +optional
	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://kubernetes.io/docs/user-guide/labels#label-selectors
	// +optional
	TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
}

represents the current status of a scale subresource.

func (*ScaleStatus) CodecDecodeSelf

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

func (*ScaleStatus) CodecEncodeSelf

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

func (*ScaleStatus) Descriptor added in v1.4.2

func (*ScaleStatus) Descriptor() ([]byte, []int)

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 (this *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 SupplementalGroupsStrategyOptions added in v1.3.0

type SupplementalGroupsStrategyOptions struct {
	// Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
	// +optional
	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.
	// +optional
	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) CodecDecodeSelf added in v1.3.0

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

func (*SupplementalGroupsStrategyOptions) CodecEncodeSelf added in v1.3.0

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

func (*SupplementalGroupsStrategyOptions) Descriptor added in v1.4.2

func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int)

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

func (*SupplementalGroupsStrategyType) CodecDecodeSelf added in v1.3.0

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

func (SupplementalGroupsStrategyType) CodecEncodeSelf added in v1.3.0

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

type ThirdPartyResource

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

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

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

	// Versions are versions for this third party object
	// +optional
	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) CodecDecodeSelf

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

func (*ThirdPartyResource) CodecEncodeSelf

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

func (*ThirdPartyResource) Descriptor added in v1.4.2

func (*ThirdPartyResource) Descriptor() ([]byte, []int)

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 (this *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 {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Data is the raw JSON data for this data.
	// +optional
	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) CodecDecodeSelf

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

func (*ThirdPartyResourceData) CodecEncodeSelf

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

func (*ThirdPartyResourceData) Descriptor added in v1.4.2

func (*ThirdPartyResourceData) Descriptor() ([]byte, []int)

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 (this *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 {
	metav1.TypeMeta `json:",inline"`
	// Standard list metadata
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	metav1.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) CodecDecodeSelf

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

func (*ThirdPartyResourceDataList) CodecEncodeSelf

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

func (*ThirdPartyResourceDataList) Descriptor added in v1.4.2

func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int)

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 (this *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 {
	metav1.TypeMeta `json:",inline"`

	// Standard list metadata.
	// +optional
	metav1.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) CodecDecodeSelf

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

func (*ThirdPartyResourceList) CodecEncodeSelf

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

func (*ThirdPartyResourceList) Descriptor added in v1.4.2

func (*ThirdPartyResourceList) Descriptor() ([]byte, []int)

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 (this *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