- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for Forbid (0.12 sec)
-
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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/.import-restrictions
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:21 UTC 2024 - 464 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5K bytes - Viewed (0) -
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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization.go
decisionAnnotationKey = "authorization.k8s.io/decision" reasonAnnotationKey = "authorization.k8s.io/reason" // Annotation values set in advanced audit decisionAllow = "allow" decisionForbid = "forbid" reasonError = "internal error" ) type recordAuthorizationMetricsFunc func(ctx context.Context, authorized authorizer.Decision, err error, authStart time.Time, authFinish time.Time)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 20 13:35:55 UTC 2023 - 3.8K bytes - Viewed (0) -
cmd/import-boss/README.md
contain rules which are evaluated against each dependency of the package in question. Evaluation starts with the rules file closest to the package. If that file makes a determination to allow or forbid the import, evaluation is done. If the import does not match any rule, the next-closest rules file is consulted, and so forth. If the rules files are exhausted and no determination has been
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:36 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/kubelet/sysctl/allowlist.go
// to be namespaced by the Linux kernel. Note that being allowlisted is required, but not // sufficient: the container runtime might have a stricter check and refuse to launch a pod. // // The parameters hostNet and hostIPC are used to forbid sysctls for pod sharing the // respective namespaces with the host. This check is only possible for sysctls on // the static default allowlist, not those on the custom allowlist provided by the admin.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 22:58:54 UTC 2023 - 4K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1beta1/generated.proto
optional int64 startingDeadlineSeconds = 2; // 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 optional string concurrencyPolicy = 3;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 5.7K bytes - Viewed (0)