- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,141 for valid (0.07 sec)
-
cmd/kubeadm/app/util/runtime/runtime_test.go
func TestRemoveContainers(t *testing.T) { for _, tc := range []struct { name string containers []string prepare func(*fakeImpl) shouldError bool }{ { name: "valid", }, { name: "valid: two containers", containers: []string{"1", "2"}, shouldError: false, }, { name: "invalid: remove pod sandbox fails", containers: []string{"1"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 06:33:22 UTC 2024 - 11.1K bytes - Viewed (0) -
pkg/config/resource/name_test.go
valid: true, }, { description: "valid name with namespace", name: "testNamespace/testName", want: "testNamespace/testName", valid: true, }, } for _, s := range steps { t.Run(s.description, func(tt *testing.T) { n, err := ParseFullName(s.name) if err == nil && n.String() != s.want { tt.Fatalf("unexpected name: %v", n) } if s.valid {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/listtype_test.go
if createErr == nil { t.Fatalf("Expected validation errors, but did not get one") } t.Logf("Checking that valid fields DO NOT show in error") for _, valid := range validListTypeFields { if strings.Contains(createErr.Error(), valid) { t.Errorf("unexpected error about %q: %v", valid, err) } } t.Logf("Checking that invalid fields DO show in error") for _, invalid := range invalidListTypeFields {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
t.testCreateIgnoresMismatchedNamespace(valid.DeepCopyObject(), dryRunOpts) t.testCreateIgnoresMismatchedNamespace(valid.DeepCopyObject(), opts) t.testCreateResetsUserData(valid.DeepCopyObject(), dryRunOpts) t.testCreateResetsUserData(valid.DeepCopyObject(), opts) } else { t.testCreateRejectsMismatchedNamespace(valid.DeepCopyObject(), dryRunOpts)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 55.8K bytes - Viewed (0) -
operator/pkg/util/common.go
func IsHTTPURL(path string) (bool, error) { u, err := url.Parse(path) valid := err == nil && u.Host != "" && (u.Scheme == "http" || u.Scheme == "https") if strings.HasPrefix(path, "http") && !valid { return false, fmt.Errorf("%s starts with http but is not a valid URL: %s", path, err) } return valid, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go
enableRatcheting: false, crd: &apiextensions.CustomResourceDefinition{ ObjectMeta: metav1.ObjectMeta{Name: "foos.sigs.k8s.io", Annotations: map[string]string{v1beta1.KubeAPIApprovedAnnotation: "valid"}, ResourceVersion: "1"}, Spec: apiextensions.CustomResourceDefinitionSpec{ Validation: &apiextensions.CustomResourceValidation{ OpenAPIV3Schema: &apiextensions.JSONSchemaProps{ Type: "object",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 44.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite_test.go
{newPPC64ShiftAuxInt(17, 48, 63, 64), 32, false, 0, 0}, } for i, v := range tests { result := mergePPC64ClrlsldiSrw(int64(v.clrlsldi), v.srw) if v.valid && result == 0 { t.Errorf("mergePPC64ClrlsldiSrw(Test %d) did not merge", i) } else if !v.valid && result != 0 { t.Errorf("mergePPC64ClrlsldiSrw(Test %d) should return 0", i) } else if r, _, _, m := DecodePPC64RotateMask(result); v.rotate != r || v.mask != m {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 21:57:02 UTC 2021 - 6.9K bytes - Viewed (0) -
samples/multicluster/expose-istiod-https.yaml
tls: mode: SIMPLE # use a valid credential here credentialName: "$CREDENTIAL_NAME" hosts: # use a valid gateway host and domain for istiod - "ISTIOD-HOST.DOMAIN" - port: name: https-istiodwebhook number: 15017 protocol: https tls: mode: SIMPLE # use a valid credential here credentialName: "$CREDENTIAL_NAME"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 22 16:29:16 UTC 2021 - 1.6K bytes - Viewed (0) -
pkg/config/labels/instance_test.go
name string tags labels.Instance valid bool }{ { name: "empty tags", valid: true, }, { name: "bad tag", tags: labels.Instance{"^": "^"}, }, { name: "good tag", tags: labels.Instance{"key": "value"}, valid: true, }, { name: "good tag - empty value", tags: labels.Instance{"key": ""}, valid: true, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 16 06:54:36 UTC 2023 - 4.8K bytes - Viewed (0) -
tests/test_serialize_response.py
app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return {"name": "valid", "price": 1.0} @app.get("/items/coerce", response_model=Item) def get_coerce(): return {"name": "coerce", "price": "1.0"}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Aug 03 12:29:07 UTC 2020 - 1.4K bytes - Viewed (0)