Documentation ¶
Index ¶
- Variables
- func IsNotMoreThan100Percent(intOrStringValue intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func ValidateDaemonSet(ds *extensions.DaemonSet) field.ErrorList
- func ValidateDaemonSetSpec(spec *extensions.DaemonSetSpec, fldPath *field.Path) field.ErrorList
- func ValidateDaemonSetSpecUpdate(newSpec, oldSpec *extensions.DaemonSetSpec, fldPath *field.Path) field.ErrorList
- func ValidateDaemonSetStatusUpdate(ds, oldDS *extensions.DaemonSet) field.ErrorList
- func ValidateDaemonSetUpdate(ds, oldDS *extensions.DaemonSet) field.ErrorList
- func ValidateDaemonSetUpdateStrategy(strategy *extensions.DaemonSetUpdateStrategy, fldPath *field.Path) field.ErrorList
- func ValidateDeployment(obj *extensions.Deployment) field.ErrorList
- func ValidateDeploymentRollback(obj *extensions.DeploymentRollback) field.ErrorList
- func ValidateDeploymentSpec(spec *extensions.DeploymentSpec, fldPath *field.Path) field.ErrorList
- func ValidateDeploymentStatus(status *extensions.DeploymentStatus, fldPath *field.Path) field.ErrorList
- func ValidateDeploymentStatusUpdate(update, old *extensions.Deployment) field.ErrorList
- func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fldPath *field.Path) field.ErrorList
- func ValidateDeploymentUpdate(update, old *extensions.Deployment) field.ErrorList
- func ValidateIngress(ingress *extensions.Ingress) field.ErrorList
- 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 ValidatePodTemplateSpecForReplicaSet(template *api.PodTemplateSpec, selector labels.Selector, replicas int32, ...) field.ErrorList
- func ValidatePositiveIntOrPercent(intOrPercent intstr.IntOrString, fldPath *field.Path) field.ErrorList
- func ValidateReplicaSet(rs *extensions.ReplicaSet) field.ErrorList
- func ValidateReplicaSetSpec(spec *extensions.ReplicaSetSpec, fldPath *field.Path) field.ErrorList
- func ValidateReplicaSetStatus(status extensions.ReplicaSetStatus, 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
Constants ¶
This section is empty.
Variables ¶
var ValidateDaemonSetName = apimachineryvalidation.NameIsDNSSubdomain
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.
var ValidateDeploymentName = apimachineryvalidation.NameIsDNSSubdomain
Validates that the given name can be used as a deployment name.
var ValidateIngressName = apimachineryvalidation.NameIsDNSSubdomain
ValidateIngressName validates that the given name can be used as an Ingress name.
var ValidateReplicaSetName = apimachineryvalidation.NameIsDNSSubdomain
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.
Functions ¶
func IsNotMoreThan100Percent ¶
func ValidateDaemonSet ¶
func ValidateDaemonSet(ds *extensions.DaemonSet) field.ErrorList
ValidateDaemonSet tests if required fields in the DaemonSet are set.
func ValidateDaemonSetSpec ¶
func ValidateDaemonSetSpec(spec *extensions.DaemonSetSpec, fldPath *field.Path) field.ErrorList
ValidateDaemonSetSpec tests if required fields in the DaemonSetSpec are set.
func ValidateDaemonSetSpecUpdate ¶ added in v1.7.0
func ValidateDaemonSetSpecUpdate(newSpec, oldSpec *extensions.DaemonSetSpec, fldPath *field.Path) field.ErrorList
func ValidateDaemonSetStatusUpdate ¶
func ValidateDaemonSetStatusUpdate(ds, oldDS *extensions.DaemonSet) field.ErrorList
ValidateDaemonSetStatus validates tests if required fields in the DaemonSet Status section
func ValidateDaemonSetUpdate ¶
func ValidateDaemonSetUpdate(ds, oldDS *extensions.DaemonSet) field.ErrorList
ValidateDaemonSetUpdate tests if required fields in the DaemonSet are set.
func ValidateDaemonSetUpdateStrategy ¶ added in v1.7.0
func ValidateDaemonSetUpdateStrategy(strategy *extensions.DaemonSetUpdateStrategy, fldPath *field.Path) field.ErrorList
func ValidateDeployment ¶
func ValidateDeployment(obj *extensions.Deployment) field.ErrorList
func ValidateDeploymentRollback ¶
func ValidateDeploymentRollback(obj *extensions.DeploymentRollback) field.ErrorList
func ValidateDeploymentSpec ¶
func ValidateDeploymentSpec(spec *extensions.DeploymentSpec, fldPath *field.Path) field.ErrorList
Validates given deployment spec.
func ValidateDeploymentStatus ¶
func ValidateDeploymentStatus(status *extensions.DeploymentStatus, fldPath *field.Path) field.ErrorList
Validates given deployment status.
func ValidateDeploymentStatusUpdate ¶
func ValidateDeploymentStatusUpdate(update, old *extensions.Deployment) field.ErrorList
func ValidateDeploymentStrategy ¶
func ValidateDeploymentStrategy(strategy *extensions.DeploymentStrategy, fldPath *field.Path) field.ErrorList
func ValidateDeploymentUpdate ¶
func ValidateDeploymentUpdate(update, old *extensions.Deployment) field.ErrorList
func ValidateIngress ¶
func ValidateIngress(ingress *extensions.Ingress) field.ErrorList
ValidateIngress tests if required fields in the Ingress are set.
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 ValidatePodTemplateSpecForReplicaSet ¶
func ValidatePodTemplateSpecForReplicaSet(template *api.PodTemplateSpec, selector labels.Selector, replicas int32, fldPath *field.Path) field.ErrorList
Validates the given template and ensures that it is in accordance with the desired selector and replicas.
func ValidateReplicaSet ¶
func ValidateReplicaSet(rs *extensions.ReplicaSet) field.ErrorList
ValidateReplicaSet tests if required fields in the ReplicaSet are set.
func ValidateReplicaSetSpec ¶
func ValidateReplicaSetSpec(spec *extensions.ReplicaSetSpec, fldPath *field.Path) field.ErrorList
ValidateReplicaSetSpec tests if required fields in the ReplicaSet spec are set.
func ValidateReplicaSetStatus ¶ added in v1.7.0
func ValidateReplicaSetStatus(status extensions.ReplicaSetStatus, fldPath *field.Path) field.ErrorList
func ValidateReplicaSetStatusUpdate ¶
func ValidateReplicaSetStatusUpdate(rs, oldRs *extensions.ReplicaSet) field.ErrorList
ValidateReplicaSetStatusUpdate tests if required fields in the ReplicaSet are set.
func ValidateReplicaSetUpdate ¶
func ValidateReplicaSetUpdate(rs, oldRs *extensions.ReplicaSet) field.ErrorList
ValidateReplicaSetUpdate tests if required fields in the ReplicaSet are set.
func ValidateRollback ¶
func ValidateRollback(rollback *extensions.RollbackConfig, fldPath *field.Path) field.ErrorList
func ValidateRollingUpdateDaemonSet ¶ added in v1.7.0
func ValidateRollingUpdateDaemonSet(rollingUpdate *extensions.RollingUpdateDaemonSet, fldPath *field.Path) field.ErrorList
func ValidateRollingUpdateDeployment ¶
func ValidateRollingUpdateDeployment(rollingUpdate *extensions.RollingUpdateDeployment, fldPath *field.Path) field.ErrorList
Types ¶
This section is empty.