- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for _isInvalid (0.27 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go
} if _, ok := knownReasons[reason]; !ok && code == http.StatusConflict { return true } return false } // IsInvalid determines if the err is an error which indicates the provided resource is not valid. // It supports wrapped errors and returns false when the error is nil. func IsInvalid(err error) bool { reason, code := reasonAndCodeForError(err) if reason == metav1.StatusReasonInvalid { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 21 03:41:32 UTC 2022 - 30.5K bytes - Viewed (0) -
pkg/controller/history/controller_history.go
types.StrategicMergePatchType, dataBytes, metav1.PatchOptions{}) if err != nil { if errors.IsNotFound(err) { // We ignore deleted revisions return nil, nil } if errors.IsInvalid(err) { // We ignore cases where the parent no longer owns the revision or where the revision has no // owner. return nil, nil } } return released, err } type fakeHistory struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 05 13:33:52 UTC 2021 - 18.2K bytes - Viewed (0) -
pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go
// 2. the content is so large that that the server sends a validation error "Too long: must have at most 1048576 characters" if apierrors.IsRequestEntityTooLargeError(err) || (apierrors.IsInvalid(err) && strings.Contains(err.Error(), "Too long")) { if deleteErr := configMapClient.ConfigMaps(required.Namespace).Delete(context.TODO(), required.Name, metav1.DeleteOptions{}); deleteErr != nil { return deleteErr }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18.2K bytes - Viewed (0) -
src/main/webapp/js/admin/moment-with-locales.min.js
a=0,t=ca.length;a<t;a++)if(ca[a][1].exec(i[1])){n=ca[a][0],s=!1!==ca[a][2];break}if(null==n)return void(e._isValid=!1);if(i[3]){for(a=0,t=Ya.length;a<t;a++)if(Ya[a][1].exec(i[3])){d=(i[2]||" ")+Ya[a][0];break}if(null==d)return void(e._isValid=!1)}if(!s&&null!=d)return void(e._isValid=!1);if(i[4]){if(!La.exec(i[4]))return void(e._isValid=!1);r="Z"}e._f=n+(d||"")+(r||""),ga(e)}else e._isValid=!1}var ka=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Jul 12 13:18:07 UTC 2018 - 319K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
"apiVersion": "mygroup.example.com/" + version, "kind": "WishIHadChosenNoxu", }, } if _, err := noxuResourceClient.Create(context.TODO(), typedNoBodyInstance, metav1.CreateOptions{}); !errors.IsInvalid(err) { t.Errorf("expected invalid request for submitting malformed object, got %#v", err) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 26 20:48:36 UTC 2021 - 63.6K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
valid := []string{ "net.foo.bar", "kernel.shmmax", "net.ipv4.conf.enp3s0/200.forwarding", "net/ipv4/conf/enp3s0.200/forwarding", } invalid := []string{ "i..nvalid", "_invalid", } invalidWithHostNet := []string{ "net.ipv4.conf.enp3s0/200.forwarding", "net/ipv4/conf/enp3s0.200/forwarding", } invalidWithHostIPC := []string{ "kernel.shmmax",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0)