Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for Forbid (0.15 sec)

  1. plugin/pkg/admission/noderestriction/admission_test.go

    		{
    			name:       "forbid creating a mirror pod bound to another",
    			podsGetter: noExistingPods,
    			attributes: admission.NewAttributesRecord(coreothermirrorpod, nil, podKind, coreothermirrorpod.Namespace, coreothermirrorpod.Name, podResource, "", admission.Create, &metav1.CreateOptions{}, false, mynode),
    			err:        "spec.nodeName set to itself",
    		},
    		{
    			name:       "forbid update of mirror pod bound to another",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  2. tests/test_additional_properties_bool.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    
    
    class FooBaseModel(BaseModel):
        if PYDANTIC_V2:
            model_config = ConfigDict(extra="forbid")
        else:
    
            class Config:
                extra = "forbid"
    
    
    class Foo(FooBaseModel):
        pass
    
    
    app = FastAPI()
    
    
    @app.post("/")
    async def post(
        foo: Union[Foo, None] = None,
    ):
        return foo
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. pkg/controller/cronjob/cronjob_controllerv2_test.go

    			now:                        justBeforeTheHour(),
    			expectedWarnings:           1,
    			jobPresentInCJActiveStatus: true,
    		},
    		"never ran, not valid schedule, F": {
    			concurrencyPolicy:          "Forbid",
    			schedule:                   errorSchedule,
    			deadline:                   noDead,
    			jobCreationTime:            justAfterThePriorHour(),
    			now:                        justBeforeTheHour(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/.import-restrictions

        allowedPrefixes:
          - ''
      # Allow use from within e2e tests.
      - selectorRegexp: k8s[.]io/kubernetes/test
        allowedPrefixes:
          - k8s.io/kubernetes/test/e2e/apimachinery
      # Forbid use of this package in other k8s.io packages.
      - selectorRegexp: k8s[.]io
        forbiddenPrefixes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:21 UTC 2024
    - 464 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go

    				"RBAC: allowed to patch pod",
    				nil,
    			},
    			"allow",
    			"RBAC: allowed to patch pod",
    		},
    		"decision forbid": {
    			fakeAuthorizer{
    				authorizer.DecisionDeny,
    				"RBAC: not allowed to patch pod",
    				nil,
    			},
    			"forbid",
    			"RBAC: not allowed to patch pod",
    		},
    		"error": {
    			fakeAuthorizer{
    				authorizer.DecisionNoOpinion,
    				"",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. src/internal/testenv/testenv_notwin.go

    	"os"
    	"path/filepath"
    	"runtime"
    )
    
    func hasSymlink() (ok bool, reason string) {
    	switch runtime.GOOS {
    	case "plan9":
    		return false, ""
    	case "android", "wasip1":
    		// For wasip1, some runtimes forbid absolute symlinks,
    		// or symlinks that escape the current working directory.
    		// Perform a simple test to see whether the runtime
    		// supports symlinks or not. If we get a permission
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 05:22:00 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1beta1/types.go

    	// Specifies how to treat concurrent executions of a Job.
    	// Valid values are:
    	//
    	// - "Allow" (default): allows CronJobs to run concurrently;
    	// - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet;
    	// - "Replace": cancels currently running job and replaces it with a new one
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 11:58:57 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformOnJdk7IntegrationTest.groovy

                import org.junit.jupiter.api.Test;
    
                public class JUnitJupiterTest {
                    @Test
                    public void ok() { }
                }
                '''
        }
    
        def 'can forbid user to run JUnit platform on Java 7'() {
            when:
            def failure = fails('test')
    
            then:
            failure.assertHasCause('Running tests with JUnit platform requires a Java 8+ toolchain.')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/xml/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ParametricNullness.java

     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top