Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for admitted (0.2 sec)

  1. pkg/kubelet/runonce.go

    	ch := make(chan RunPodResult)
    	admitted := []*v1.Pod{}
    	for _, pod := range pods {
    		// Check if we can admit the pod.
    		if ok, reason, message := kl.canAdmitPod(admitted, pod); !ok {
    			kl.rejectPod(pod, reason, message)
    			results = append(results, RunPodResult{pod, nil})
    			continue
    		}
    
    		admitted = append(admitted, pod)
    		go func(pod *v1.Pod) {
    			err := kl.runPod(ctx, pod, retryDelay)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. plugin/pkg/admission/namespace/exists/admission_test.go

    		Spec: api.PodSpec{
    			Volumes:    []api.Volume{{Name: "vol"}},
    			Containers: []api.Container{{Name: "ctr", Image: "image"}},
    		},
    	}
    }
    
    // TestAdmissionNamespaceExists verifies pod is admitted only if namespace exists.
    func TestAdmissionNamespaceExists(t *testing.T) {
    	namespace := "test"
    	mockClient := newMockClientForTest([]string{namespace})
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pkg/kubelet/lifecycle/handlers.go

    		io.Copy(io.Discard, &io.LimitedReader{R: resp.Body, N: maxRespBodyLength})
    	}
    }
    
    // NewAppArmorAdmitHandler returns a PodAdmitHandler which is used to evaluate
    // if a pod can be admitted from the perspective of AppArmor.
    func NewAppArmorAdmitHandler(validator apparmor.Validator) PodAdmitHandler {
    	return &appArmorAdmitHandler{
    		Validator: validator,
    	}
    }
    
    type appArmorAdmitHandler struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    // corresponding increase or decrease in Mantissa) such that:
    //
    // - No precision is lost
    // - No fractional digits will be emitted
    // - The exponent (or suffix) is as large as possible.
    //
    // The sign will be omitted unless the number is negative.
    //
    // Examples:
    //
    // - 1.5 will be serialized as "1500m"
    // - 1.5Gi will be serialized as "1536Mi"
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/ide/problems-api-usage/README.adoc

    
    ## Emitting a problem
    
    Problems can be emitted via an injected `Problems` service.
    Here's an example on how to report a problem from a plugin.
    
    ====
    include::sample[dir="groovy",files="reporters/standard-plugin/src/main/java/reporters/StandardPlugin.java[tags=problems-api-report]"]
    ====
    
    
    ## Receiving a problem report
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 08:50:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/separate-openapi-schemas.md

        # Code below omitted 👇
        ```
    
        <details>
        <summary>👀 Full file preview</summary>
    
        ```Python
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
        ```
    
        </details>
    
    === "Python 3.9+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py[ln:1-17]!}
    
        # Code below omitted 👇
        ```
    
        <details>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest.groovy

        def "emitsBuildOperationsForJUnitTests"() {
            given:
            executer.withRepositoryMirrors()
    
            when:
            run "test"
    
            then: "test build operations are emitted in expected hierarchy"
            def rootTestOp = operations.first(ExecuteTestBuildOperationType)
            rootTestOp.details.testDescriptor.name.startsWith("Gradle Test Run :test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

        }
    
        public void omitForNearer(Artifact omitted, Artifact kept) {
            String omittedVersion = omitted.getVersion();
            String keptVersion = kept.getVersion();
    
            if (!Objects.equals(omittedVersion, keptVersion)) {
                logger.debug(indent + omitted + " (removed - nearer found: " + keptVersion + ")");
            }
        }
    
        public void omitForCycle(Artifact omitted) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java

        public void endProcessChildren(Artifact artifact) {}
    
        public void includeArtifact(Artifact artifact) {}
    
        public void omitForNearer(Artifact omitted, Artifact kept) {}
    
        public void omitForCycle(Artifact omitted) {}
    
        public void updateScopeCurrentPom(Artifact artifact, String scope) {}
    
        public void updateScope(Artifact artifact, String scope) {}
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/kotlinDsl/multiProjectBuild/tests/build.sample.conf

    executable: gradle
    args: build
    # Do not fail for deprecation warnings: Project.getConvention emitted by the shadow plugin
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 151 bytes
    - Viewed (0)
Back to top