- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for volerr (0.13 sec)
-
operator/pkg/validate/validate_values_test.go
if err != nil { t.Fatalf("yaml.Unmarshal(%s): got error %s", tt.desc, err) } errs := CheckValues(util.MustStruct(root)) if gotErr, wantErr := errs, tt.wantErrs; !util.EqualErrors(gotErr, wantErr) { t.Errorf("CheckValues(%s)(%v): gotErr:%s, wantErr:%s", tt.desc, tt.yamlStr, gotErr, wantErr) } }) } } func TestValidateValuesFromProfile(t *testing.T) { tests := []struct { profile string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 13:43:12 UTC 2024 - 6K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/oidc_test.go
} ctx = metadata.NewIncomingContext(ctx, md) actualCaller, err := authenticator.Authenticate(security.AuthContext{GrpcContext: ctx}) gotErr := err != nil if gotErr != tc.expectErr { t.Errorf("gotErr (%v) whereas expectErr (%v)", gotErr, tc.expectErr) } if gotErr { return } expectedCaller := &security.Caller{ AuthSource: security.AuthSourceIDToken, Identities: []string{tc.expectedID},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 7.3K bytes - Viewed (0) -
src/os/exec/lp_windows.go
return dotf, dotErr } } if !filepath.IsAbs(f) { if execerrdot.Value() != "0" { // If this is the same relative path that we already found, // dotErr is non-nil and we already checked it above. // Otherwise, record this path as the one to which we must resolve, // with or without a dotErr. if dotErr == nil { dotf, dotErr = f, &Error{file, ErrDot}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 6K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounters_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 3.5K bytes - Viewed (0) -
src/database/sql/driver/types_test.go
} func TestValueConverters(t *testing.T) { for i, tt := range valueConverterTests { out, err := tt.c.ConvertValue(tt.in) goterr := "" if err != nil { goterr = err.Error() } if goterr != tt.err { t.Errorf("test %d: %T(%T(%v)) error = %q; want error = %q", i, tt.c, tt.in, tt.in, goterr, tt.err) } if tt.err != "" { continue } if !reflect.DeepEqual(out, tt.out) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:53:24 UTC 2024 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation_test.go
allErrs, err, _ := validate(ctx, field.NewPath("test"), ss, ss, f, false, false, 10) if err != nil { t.Errorf("unexpected error: %v", err) } for _, valErr := range allErrs { t.Errorf("unexpected error: %v", valErr) } // cost budget exceeded for the first validation rule allErrs, err, _ = validate(ctx, field.NewPath("test"), ss, ss, f, false, false, 0) meet := 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/jwt_test.go
}, }, expectedErr: errAuthentication, }, } for i, testCase := range testCases { _, _, _, gotErr := metricsRequestAuthenticate(testCase.req) if testCase.expectedErr != gotErr { t.Errorf("Test %d, expected err %s, got %s", i+1, testCase.expectedErr, gotErr) } } } func BenchmarkParseJWTStandardClaims(b *testing.B) { ctx, cancel := context.WithCancel(context.Background())
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 16:45:14 UTC 2024 - 4.5K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
u, err := url.Parse(testCase.reqURL) if err != nil { t.Fatal(err) } d, err := GetDefaultExpiration(u.Query().Get("DurationSeconds")) gotErr := (err != nil) if testCase.expectErr != gotErr { t.Errorf("Test %d: Expected %v, got %v with error %s", i+1, testCase.expectErr, gotErr, err) } if d != testCase.duration { t.Errorf("Test %d: Expected duration %d, got %d", i+1, testCase.duration, d) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/fr/docs/tutorial/body.md
{!../../../docs_src/body/tutorial001.py!} ``` Tout comme pour la déclaration de paramètres de requête, quand un attribut de modèle a une valeur par défaut, il n'est pas nécessaire. Sinon, cet attribut doit être renseigné dans le corps de la requête. Pour rendre ce champ optionnel simplement, utilisez `None` comme valeur par défaut. Par exemple, le modèle ci-dessus déclare un "objet" JSON (ou `dict` Python) tel que : ```JSON { "name": "Foo",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 7.8K bytes - Viewed (0) -
pkg/kubelet/lifecycle/handlers.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 11:40:52 UTC 2024 - 8.2K bytes - Viewed (0)