Documentation ¶
Index ¶
- func IsNotMoreThan100Percent(intOrStringValue intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func ValidateClusterAutoscaler(autoscaler *extensions.ClusterAutoscaler) field.ErrorList
- func ValidateDaemonSet(controller *extensions.DaemonSet) field.ErrorList
- func ValidateDaemonSetName(name string, prefix bool) (bool, string)
- func ValidateDaemonSetSpec(spec *extensions.DaemonSetSpec, fldPath *field.Path) field.ErrorList
- func ValidateDaemonSetStatusUpdate(controller, oldController *extensions.DaemonSet) field.ErrorList
- func ValidateDaemonSetTemplateUpdate(podTemplate, oldPodTemplate api.PodTemplateSpec, fldPath *field.Path) field.ErrorList
- func ValidateDaemonSetUpdate(controller, oldController *extensions.DaemonSet) field.ErrorList
- func ValidateDaemonSetUpdateStrategy(strategy *extensions.DaemonSetUpdateStrategy, fldPath *field.Path) field.ErrorList
- func ValidateDeployment(obj *extensions.Deployment) field.ErrorList
- func ValidateDeploymentName(name string, prefix bool) (bool, string)
- func ValidateDeploymentRollback(obj *extensions.DeploymentRollback) field.ErrorList
- func ValidateDeploymentSpec(spec *extensions.DeploymentSpec, fldPath *field.Path) field.ErrorList
- func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fldPath *field.Path) field.ErrorList
- func ValidateDeploymentUpdate(update, old *extensions.Deployment) field.ErrorList
- func ValidateHorizontalPodAutoscaler(autoscaler *extensions.HorizontalPodAutoscaler) field.ErrorList
- func ValidateHorizontalPodAutoscalerName(name string, prefix bool) (bool, string)
- func ValidateHorizontalPodAutoscalerStatusUpdate(controller, oldController *extensions.HorizontalPodAutoscaler) field.ErrorList
- func ValidateHorizontalPodAutoscalerUpdate(newAutoscaler, oldAutoscaler *extensions.HorizontalPodAutoscaler) field.ErrorList
- func ValidateIngress(ingress *extensions.Ingress) field.ErrorList
- func ValidateIngressName(name string, prefix bool) (bool, string)
- func ValidateIngressSpec(spec *extensions.IngressSpec, fldPath *field.Path) field.ErrorList
- func ValidateIngressStatusUpdate(ingress, oldIngress *extensions.Ingress) field.ErrorList
- func ValidateIngressUpdate(ingress, oldIngress *extensions.Ingress) field.ErrorList
- func ValidateJob(job *extensions.Job) field.ErrorList
- func ValidateJobSpec(spec *extensions.JobSpec, fldPath *field.Path) field.ErrorList
- func ValidateJobSpecUpdate(spec, oldSpec extensions.JobSpec, fldPath *field.Path) field.ErrorList
- func ValidateJobStatus(status *extensions.JobStatus, fldPath *field.Path) field.ErrorList
- func ValidateJobStatusUpdate(status, oldStatus extensions.JobStatus) field.ErrorList
- func ValidateJobUpdate(job, oldJob *extensions.Job) field.ErrorList
- func ValidateJobUpdateStatus(job, oldJob *extensions.Job) field.ErrorList
- func ValidateLabelSelector(ps *extensions.LabelSelector, fldPath *field.Path) field.ErrorList
- func ValidateLabelSelectorRequirement(sr extensions.LabelSelectorRequirement, fldPath *field.Path) field.ErrorList
- func ValidatePodTemplateSpecForReplicaSet(template *api.PodTemplateSpec, selector labels.Selector, replicas int, ...) field.ErrorList
- func ValidatePositiveIntOrPercent(intOrPercent intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func ValidateReplicaSet(rs *extensions.ReplicaSet) field.ErrorList
- func ValidateReplicaSetName(name string, prefix bool) (bool, string)
- func ValidateReplicaSetSpec(spec *extensions.ReplicaSetSpec, fldPath *field.Path) field.ErrorList
- func ValidateReplicaSetStatusUpdate(rs, oldRs *extensions.ReplicaSet) field.ErrorList
- func ValidateReplicaSetUpdate(rs, oldRs *extensions.ReplicaSet) field.ErrorList
- func ValidateRollback(rollback *extensions.RollbackConfig, fldPath *field.Path) field.ErrorList
- func ValidateRollingUpdateDaemonSet(rollingUpdate *extensions.RollingUpdateDaemonSet, fldPath *field.Path) field.ErrorList
- func ValidateRollingUpdateDeployment(rollingUpdate *extensions.RollingUpdateDeployment, fldPath *field.Path) field.ErrorList
- func ValidateScale(scale *extensions.Scale) field.ErrorList
- func ValidateSubresourceReference(ref extensions.SubresourceReference, fldPath *field.Path) field.ErrorList
- func ValidateThirdPartyResource(obj *extensions.ThirdPartyResource) field.ErrorList
- func ValidateThirdPartyResourceData(obj *extensions.ThirdPartyResourceData) field.ErrorList
- func ValidateThirdPartyResourceDataUpdate(update, old *extensions.ThirdPartyResourceData) field.ErrorList
- func ValidateThirdPartyResourceName(name string, prefix bool) (bool, string)
- func ValidateThirdPartyResourceUpdate(update, old *extensions.ThirdPartyResource) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotMoreThan100Percent ¶
func ValidateClusterAutoscaler ¶
func ValidateClusterAutoscaler(autoscaler *extensions.ClusterAutoscaler) field.ErrorList
func ValidateDaemonSet ¶
func ValidateDaemonSet(controller *extensions.DaemonSet) field.ErrorList
ValidateDaemonSet tests if required fields in the DaemonSet are set.
func ValidateDaemonSetName ¶
ValidateDaemonSetName can be used to check whether the given daemon set name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateDaemonSetSpec ¶
func ValidateDaemonSetSpec(spec *extensions.DaemonSetSpec, fldPath *field.Path) field.ErrorList
ValidateDaemonSetSpec tests if required fields in the DaemonSetSpec are set.
func ValidateDaemonSetStatusUpdate ¶
func ValidateDaemonSetStatusUpdate(controller, oldController *extensions.DaemonSet) field.ErrorList
ValidateDaemonSetStatus validates tests if required fields in the DaemonSet Status section
func ValidateDaemonSetTemplateUpdate ¶
func ValidateDaemonSetTemplateUpdate(podTemplate, oldPodTemplate api.PodTemplateSpec, fldPath *field.Path) field.ErrorList
ValidateDaemonSetTemplateUpdate tests that certain fields in the daemon set's pod template are not updated.
func ValidateDaemonSetUpdate ¶
func ValidateDaemonSetUpdate(controller, oldController *extensions.DaemonSet) field.ErrorList
ValidateDaemonSetUpdate tests if required fields in the DaemonSet are set.
func ValidateDaemonSetUpdateStrategy ¶ added in v1.6.0
func ValidateDaemonSetUpdateStrategy(strategy *extensions.DaemonSetUpdateStrategy, fldPath *field.Path) field.ErrorList
func ValidateDeployment ¶
func ValidateDeployment(obj *extensions.Deployment) field.ErrorList
func ValidateDeploymentName ¶
Validates that the given name can be used as a deployment name.
func ValidateDeploymentRollback ¶ added in v1.2.0
func ValidateDeploymentRollback(obj *extensions.DeploymentRollback) field.ErrorList
func ValidateDeploymentSpec ¶
func ValidateDeploymentSpec(spec *extensions.DeploymentSpec, fldPath *field.Path) field.ErrorList
Validates given deployment spec.
func ValidateDeploymentStrategy ¶
func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fldPath *field.Path) field.ErrorList
func ValidateDeploymentUpdate ¶
func ValidateDeploymentUpdate(update, old *extensions.Deployment) field.ErrorList
func ValidateHorizontalPodAutoscaler ¶
func ValidateHorizontalPodAutoscaler(autoscaler *extensions.HorizontalPodAutoscaler) field.ErrorList
func ValidateHorizontalPodAutoscalerName ¶
ValidateHorizontalPodAutoscaler can be used to check whether the given autoscaler name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateHorizontalPodAutoscalerStatusUpdate ¶
func ValidateHorizontalPodAutoscalerStatusUpdate(controller, oldController *extensions.HorizontalPodAutoscaler) field.ErrorList
func ValidateHorizontalPodAutoscalerUpdate ¶
func ValidateHorizontalPodAutoscalerUpdate(newAutoscaler, oldAutoscaler *extensions.HorizontalPodAutoscaler) field.ErrorList
func ValidateIngress ¶
func ValidateIngress(ingress *extensions.Ingress) field.ErrorList
ValidateIngress tests if required fields in the Ingress are set.
func ValidateIngressName ¶
ValidateIngressName validates that the given name can be used as an Ingress name.
func ValidateIngressSpec ¶
func ValidateIngressSpec(spec *extensions.IngressSpec, fldPath *field.Path) field.ErrorList
ValidateIngressSpec tests if required fields in the IngressSpec are set.
func ValidateIngressStatusUpdate ¶
func ValidateIngressStatusUpdate(ingress, oldIngress *extensions.Ingress) field.ErrorList
ValidateIngressStatusUpdate tests if required fields in the Ingress are set when updating status.
func ValidateIngressUpdate ¶
func ValidateIngressUpdate(ingress, oldIngress *extensions.Ingress) field.ErrorList
ValidateIngressUpdate tests if required fields in the Ingress are set.
func ValidateJob ¶
func ValidateJob(job *extensions.Job) field.ErrorList
func ValidateJobSpec ¶
func ValidateJobSpecUpdate ¶
func ValidateJobStatus ¶
func ValidateJobStatusUpdate ¶
func ValidateJobStatusUpdate(status, oldStatus extensions.JobStatus) field.ErrorList
func ValidateJobUpdate ¶
func ValidateJobUpdate(job, oldJob *extensions.Job) field.ErrorList
func ValidateJobUpdateStatus ¶
func ValidateJobUpdateStatus(job, oldJob *extensions.Job) field.ErrorList
func ValidateLabelSelector ¶
func ValidateLabelSelector(ps *extensions.LabelSelector, fldPath *field.Path) field.ErrorList
func ValidateLabelSelectorRequirement ¶
func ValidateLabelSelectorRequirement(sr extensions.LabelSelectorRequirement, fldPath *field.Path) field.ErrorList
func ValidatePodTemplateSpecForReplicaSet ¶ added in v1.2.0
func ValidatePodTemplateSpecForReplicaSet(template *api.PodTemplateSpec, selector labels.Selector, replicas int, fldPath *field.Path) field.ErrorList
Validates the given template and ensures that it is in accordance with the desired selector and replicas.
func ValidateReplicaSet ¶ added in v1.2.0
func ValidateReplicaSet(rs *extensions.ReplicaSet) field.ErrorList
ValidateReplicaSet tests if required fields in the ReplicaSet are set.
func ValidateReplicaSetName ¶ added in v1.2.0
ValidateReplicaSetName can be used to check whether the given ReplicaSet name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateReplicaSetSpec ¶ added in v1.2.0
func ValidateReplicaSetSpec(spec *extensions.ReplicaSetSpec, fldPath *field.Path) field.ErrorList
ValidateReplicaSetSpec tests if required fields in the ReplicaSet spec are set.
func ValidateReplicaSetStatusUpdate ¶ added in v1.2.0
func ValidateReplicaSetStatusUpdate(rs, oldRs *extensions.ReplicaSet) field.ErrorList
ValidateReplicaSetStatusUpdate tests if required fields in the ReplicaSet are set.
func ValidateReplicaSetUpdate ¶ added in v1.2.0
func ValidateReplicaSetUpdate(rs, oldRs *extensions.ReplicaSet) field.ErrorList
ValidateReplicaSetUpdate tests if required fields in the ReplicaSet are set.
func ValidateRollback ¶ added in v1.2.0
func ValidateRollback(rollback *extensions.RollbackConfig, fldPath *field.Path) field.ErrorList
func ValidateRollingUpdateDaemonSet ¶ added in v1.6.0
func ValidateRollingUpdateDaemonSet(rollingUpdate *extensions.RollingUpdateDaemonSet, fldPath *field.Path) field.ErrorList
func ValidateRollingUpdateDeployment ¶
func ValidateRollingUpdateDeployment(rollingUpdate *extensions.RollingUpdateDeployment, fldPath *field.Path) field.ErrorList
func ValidateScale ¶ added in v1.2.0
func ValidateScale(scale *extensions.Scale) field.ErrorList
func ValidateSubresourceReference ¶ added in v1.2.0
func ValidateSubresourceReference(ref extensions.SubresourceReference, fldPath *field.Path) field.ErrorList
func ValidateThirdPartyResource ¶
func ValidateThirdPartyResource(obj *extensions.ThirdPartyResource) field.ErrorList
func ValidateThirdPartyResourceData ¶
func ValidateThirdPartyResourceData(obj *extensions.ThirdPartyResourceData) field.ErrorList
func ValidateThirdPartyResourceDataUpdate ¶
func ValidateThirdPartyResourceDataUpdate(update, old *extensions.ThirdPartyResourceData) field.ErrorList
func ValidateThirdPartyResourceName ¶ added in v1.2.0
func ValidateThirdPartyResourceUpdate ¶
func ValidateThirdPartyResourceUpdate(update, old *extensions.ThirdPartyResource) field.ErrorList
Types ¶
This section is empty.