Documentation ¶
Index ¶
- func ValidLeaseCandidateName(name string, prefix bool) []string
- func ValidateCoordinatedLeaseStrategy(strategy coordination.CoordinatedLeaseStrategy, fldPath *field.Path) field.ErrorList
- func ValidateLease(lease *coordination.Lease) field.ErrorList
- func ValidateLeaseCandidate(lease *coordination.LeaseCandidate) field.ErrorList
- func ValidateLeaseCandidateSpec(spec *coordination.LeaseCandidateSpec, fldPath *field.Path) field.ErrorList
- func ValidateLeaseCandidateSpecUpdate(leaseCandidateSpec, oldLeaseCandidateSpec *coordination.LeaseCandidateSpec) field.ErrorList
- func ValidateLeaseCandidateUpdate(leaseCandidate, oldLeaseCandidate *coordination.LeaseCandidate) field.ErrorList
- func ValidateLeaseSpec(spec *coordination.LeaseSpec, fldPath *field.Path) field.ErrorList
- func ValidateLeaseUpdate(lease, oldLease *coordination.Lease) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidLeaseCandidateName ¶ added in v1.31.0
func ValidateCoordinatedLeaseStrategy ¶ added in v1.31.0
func ValidateCoordinatedLeaseStrategy(strategy coordination.CoordinatedLeaseStrategy, fldPath *field.Path) field.ErrorList
ValidateCoordinatedLeaseStrategy validates the Strategy field in both the Lease and LeaseCandidate
func ValidateLease ¶
func ValidateLease(lease *coordination.Lease) field.ErrorList
ValidateLease validates a Lease.
func ValidateLeaseCandidate ¶ added in v1.31.0
func ValidateLeaseCandidate(lease *coordination.LeaseCandidate) field.ErrorList
ValidateLeaseCandidate validates a LeaseCandidate.
func ValidateLeaseCandidateSpec ¶ added in v1.31.0
func ValidateLeaseCandidateSpec(spec *coordination.LeaseCandidateSpec, fldPath *field.Path) field.ErrorList
ValidateLeaseCandidateSpec validates spec of LeaseCandidate.
func ValidateLeaseCandidateSpecUpdate ¶ added in v1.31.0
func ValidateLeaseCandidateSpecUpdate(leaseCandidateSpec, oldLeaseCandidateSpec *coordination.LeaseCandidateSpec) field.ErrorList
func ValidateLeaseCandidateUpdate ¶ added in v1.31.0
func ValidateLeaseCandidateUpdate(leaseCandidate, oldLeaseCandidate *coordination.LeaseCandidate) field.ErrorList
ValidateLeaseCandidateUpdate validates an update of LeaseCandidate object.
func ValidateLeaseSpec ¶
ValidateLeaseSpec validates spec of Lease.
func ValidateLeaseUpdate ¶
func ValidateLeaseUpdate(lease, oldLease *coordination.Lease) field.ErrorList
ValidateLeaseUpdate validates an update of Lease object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.