- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,344 for valid (0.24 sec)
-
pkg/apis/resource/validation/validation.go
allErrs = append(allErrs, corevalidation.ValidateNodeSelector(resourceClass.SuitableNodes, field.NewPath("suitableNodes"))...) } return allErrs } // ValidateClassUpdate tests if an update to ResourceClass is valid. func ValidateClassUpdate(resourceClass, oldClass *resource.ResourceClass) field.ErrorList { allErrs := corevalidation.ValidateObjectMetaUpdate(&resourceClass.ObjectMeta, &oldClass.ObjectMeta, field.NewPath("metadata"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
src/crypto/x509/verify.go
} var valid string if ip := net.ParseIP(h.Host); ip != nil { // Trying to validate an IP if len(c.IPAddresses) == 0 { return "x509: cannot validate certificate for " + h.Host + " because it doesn't contain any IP SANs" } for _, san := range c.IPAddresses { if len(valid) > 0 { valid += ", " } valid += san.String() } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:39 UTC 2024 - 35.7K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
expectedOutput: "Error: expecting a workload namespace\n", }, { description: "valid case - minimal flags, infer defaults", args: strings.Split("group create --name foo --namespace bar", " "), expectedException: false, expectedOutput: defaultYAML, }, { description: "valid case - create full workload group",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_test.go
}, { desc: "valid DNSClusterFirstWithHostNet without hostnetwork", hasClusterDNS: true, dnsPolicy: v1.DNSClusterFirstWithHostNet, expectedDNSType: podDNSCluster, }, { desc: "valid DNSDefault without hostnetwork", dnsPolicy: v1.DNSDefault, expectedDNSType: podDNSHost, }, { desc: "valid DNSDefault with hostnetwork",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
pkg/apis/networking/validation/validation.go
// valid. func validateIngressClassSpecUpdate(newSpec, oldSpec *networking.IngressClassSpec, fldPath *field.Path) field.ErrorList { return apivalidation.ValidateImmutableField(newSpec.Controller, oldSpec.Controller, fldPath.Child("controller")) } // validateIngressTypedLocalObjectReference ensures that Parameters fields are valid.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 14:48:01 UTC 2024 - 31.5K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
// Short-circuit if the kubeconfig file exists and is valid. ok, err := isClientConfigStillValid(kubeconfigPath) if err != nil { return err } if ok { klog.V(2).InfoS("Kubeconfig exists and is valid, skipping bootstrap", "path", kubeconfigPath) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
src/net/mail/message_test.go
t.Errorf("Header(Date: %s).Date() did not return an error but %v", test.dateStr, date) } date, err = ParseDate(test.dateStr) if err != nil && test.valid { t.Errorf("ParseDate(%s): %v", test.dateStr, err) } else if err == nil && test.exp.IsZero() { // OK. Used when exact result depends on the // system's local zoneinfo.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:31:03 UTC 2024 - 30.4K bytes - Viewed (0) -
staging/src/k8s.io/api/certificates/v1beta1/types.go
// // The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. // // +optional ExpirationSeconds *int32 `json:"expirationSeconds,omitempty" protobuf:"varint,8,opt,name=expirationSeconds"` // allowedUsages specifies a set of usage contexts the key will be // valid for. // See: // https://tools.ietf.org/html/rfc5280#section-4.2.1.3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 10.4K bytes - Viewed (0) -
internal/hash/checksum.go
} n := binary.PutUvarint(tmp[:], uint64(checksums)) b = append(b, tmp[:n]...) if len(parts) > 0 { b = append(b, parts...) } } return b } // Valid returns whether checksum is valid. func (c Checksum) Valid() bool { if c.Type == ChecksumInvalid { return false } if len(c.Encoded) == 0 || c.Type.Trailing() { return c.Type.Is(ChecksumNone) || c.Type.Trailing() } raw := c.Raw
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 08 16:18:34 UTC 2024 - 12.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/server_run_options_test.go
MaxRequestBodyBytes: 10 * 1024 * 1024, ShutdownDelayDuration: -time.Second, }, expectErr: "--shutdown-delay-duration can not be negative value", }, { name: "Test when HSTSHeaders is valid", testOptions: &ServerRunOptions{ AdvertiseAddress: netutils.ParseIPSloppy("192.168.10.10"), CorsAllowedOriginList: []string{"10.10.10.100", "10.10.10.200"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 15:49:49 UTC 2023 - 10.9K bytes - Viewed (0)