- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for validateFuncs (0.18 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/library/format.go
Name: "DNS1035Label", ValidateFunc: func(s string) []string { return apimachineryvalidation.NameIsDNS1035Label(s, false) }, MaxRegexSize: 30, }, "qualifiedName": { Name: "QualifiedName", ValidateFunc: validation.IsQualifiedName, MaxRegexSize: 60, // uses subdomain regex }, "dns1123LabelPrefix": { Name: "DNS1123LabelPrefix",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_linux_test.go
}, validateFunc: func(kubelet *Kubelet) error { podDir := kubelet.getPodDir("pod1uid") return validateDirNotExists(podDir) }, }, "pod-doesnot-exist-with-subpath-top": { prepareFunc: func(kubelet *Kubelet) error { podDir := kubelet.getPodDir("pod1uid") return os.MkdirAll(filepath.Join(podDir, "volume-subpaths"), 0750) }, validateFunc: func(kubelet *Kubelet) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/format.go
FormatType = cel.ObjectType("kubernetes.NamedFormat") ) // Format provdes a CEL representation of kubernetes format type Format struct { Name string ValidateFunc func(string) []string // Size of the regex string or estimated equivalent regex string used // for cost estimation MaxRegexSize int }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/config/schema/resource/schema.go
// StatusPackage refers to the name of the golang status package. StatusPackage string // ValidateProto performs validation on protobuf messages based on this schema. ValidateProto validation.ValidateFunc } // Build a Schema instance. func (b Builder) Build() (Schema, error) { s := b.BuildNoValidate() // Validate the schema. if err := s.Validate(); err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 9.7K bytes - Viewed (0)