package validation
import "k8s.io/kubernetes/pkg/apis/coordination/validation"
Index ¶
- func ValidateLease(lease *coordination.Lease) field.ErrorList
- func ValidateLeaseSpec(spec *coordination.LeaseSpec, fldPath *field.Path) field.ErrorList
- func ValidateLeaseUpdate(lease, oldLease *coordination.Lease) field.ErrorList
Functions ¶
func ValidateLease ¶
func ValidateLease(lease *coordination.Lease) field.ErrorList
ValidateLease validates a Lease.
func ValidateLeaseSpec ¶
ValidateLeaseSpec validates spec of Lease.
func ValidateLeaseUpdate ¶
func ValidateLeaseUpdate(lease, oldLease *coordination.Lease) field.ErrorList
ValidateLeaseUpdate validates an update of Lease object.
Source Files ¶
validation.go
- Version
- v1.25.4
- Published
- Nov 9, 2022
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 51 seconds ago –
Tools for package owners.