Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for NotSupported (0.45 sec)

  1. pkg/apis/apps/validation/validation_test.go

    		errs: field.ErrorList{
    			field.NotSupported[string](field.NewPath("spec", "template", "spec", "restartPolicy"), nil, nil),
    		},
    	}, {
    		name: "invalid restart policy 2",
    		set:  mkStatefulSet(&validPodTemplate, tweakTemplateRestartPolicy(api.RestartPolicyNever)),
    		errs: field.ErrorList{
    			field.NotSupported[string](field.NewPath("spec", "template", "spec", "restartPolicy"), nil, nil),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		}
    		return field.ErrorList{}
    	}
    	for _, a := range accepted {
    		if a == value {
    			return field.ErrorList{}
    		}
    	}
    	return field.ErrorList{field.NotSupported(fldPath, value, accepted)}
    }
    
    // AcceptedConversionReviewVersions contains the list of ConversionReview versions the *prior* version of the API server understands.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    			configuration: api.AuthorizationConfiguration{
    				Authorizers: []api.AuthorizerConfiguration{
    					{
    						Type: "Foo",
    					},
    				},
    			},
    			expectedErrList: field.ErrorList{field.NotSupported(field.NewPath("type"), "Foo", []string{"..."})},
    			knownTypes:      sets.NewString(string("Webhook")),
    			repeatableTypes: sets.NewString(string("Webhook")),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/validation/validation.go

    		string(kubeproxyconfig.LocalModeInterfaceNamePrefix),
    		"",
    	}
    
    	if sets.New(validModes...).Has(string(mode)) {
    		return nil
    	}
    
    	return field.ErrorList{field.NotSupported(fldPath, string(mode), validModes)}
    }
    
    func validateClientConnectionConfiguration(config componentbaseconfig.ClientConnectionConfiguration, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation.go

    	}
    	allErrs = append(allErrs, validateResourceClaimParametersRef(spec.ParametersRef, fldPath.Child("parametersRef"))...)
    	if !supportedAllocationModes.Has(string(spec.AllocationMode)) {
    		allErrs = append(allErrs, field.NotSupported(fldPath.Child("allocationMode"), spec.AllocationMode, supportedAllocationModes.List()))
    	}
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  6. pkg/apis/resource/validation/validation_resourceclaim_test.go

    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    				claim.Spec.ResourceClassName = badName
    				return claim
    			}(),
    		},
    		"bad-mode": {
    			wantFailures: field.ErrorList{field.NotSupported(field.NewPath("spec", "allocationMode"), invalidMode, supportedAllocationModes.List())},
    			claim: func() *resource.ResourceClaim {
    				claim := testClaim(goodName, goodNS, goodClaimSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/validation/validation_test.go

    		},
    		"invalid DetectLocalMode": {
    			mutateConfigFunc: func(config *kubeproxyconfig.KubeProxyConfiguration) {
    				config.DetectLocalMode = "Guess"
    			},
    			expectedErrs: field.ErrorList{field.NotSupported(newPath.Child("DetectLocalMode"), "Guess", []string{"ClusterCIDR", "NodeCIDR", "BridgeInterface", "InterfaceNamePrefix", ""})},
    		},
    		"invalid logging format": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation_test.go

    				{ResourceName: "cpu", RestartPolicy: "NotRequired"},
    				{ResourceName: "memory", RestartPolicy: "Restarrrt"},
    			},
    			ExpectError:      true,
    			Errors:           field.ErrorList{field.NotSupported(field.NewPath("field"), core.ResourceResizeRestartPolicy("Restarrrt"), tSupportedResizePolicies.List())},
    			PodRestartPolicy: "Always",
    		},
    		"ValidMemoryandInvalidCPUPolicy": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    ====
    
    Running the task with the configuration cache enabled produces the following error:
    ----
    include::{snippetsPath}/configurationCache/topLevel/tests-groovy/notSupported.out[]
    ----
    
    To prevent the task from failing, convert the referenced top-level method to a static method within a class:
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top