Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 487 for modesA (0.16 sec)

  1. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    		modesA []string
    		modesB []string
    		equal  bool
    	}{
    		{
    			name:   "modes match",
    			modesA: []string{"a", "b", "c"},
    			modesB: []string{"a", "b", "c"},
    			equal:  true,
    		},
    		{
    			name:   "modes order does not match",
    			modesA: []string{"a", "c", "b"},
    			modesB: []string{"a", "b", "c"},
    		},
    		{
    			name:   "modes do not match; A has less modes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

            }
            outputContains("creating model for root project 'root'")
            outputContains("creating model for project ':a'")
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model2.size() == 2
            model2[0].message == "It works from project :"
            model2[1].message == "It works from project :a"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

            model4.is(model1)
    
            def model5 = converter.builder(TestModel.class).mixInTo(TestProject, "instance").build(protocolModel)
            !model5.is(model1)
            !model5.project.is(model1.project)
            !model5.is(model2)
            !model5.project.is(model2.project)
    
            def model6 = converter.builder(TestModel.class).mixInTo(TestProject, "instance").build(protocolModel)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model2.size() == 4
            model2[0].message == "project :a classpath = 2"
            model2[1].message == "project :b classpath = 1"
            model2[2].message == "project :c classpath = 0"
            model2[3].message == "project :d classpath = 0"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = fetchModel(GradleBuild)
    
            then:
            model2.rootProject.name == "root"
            model2.projects.size() == 3
            model2.projects[0].name == "root"
            model2.projects[1].name == "a"
            model2.projects[2].name == "b"
    
            and:
            fixture.assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCoupledProjectsIntegrationTest.groovy

            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model2.size() == 3
            model2[0].message == "project a"
            model2[1].message == "project b"
            model2[2].message == "It works from project :c"
    
            and:
            fixture.assertStateLoaded()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

            """
    
            withIsolatedProjects()
            def model3 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model3.size() == 2
            model3[0].message == "updated message for root"
            model3[1].message == "It works from project :a"
    
            fixture.assertStateUpdated {
                fileChanged("build.gradle")
                projectConfigured(":buildSrc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tests/test_response_model_include_exclude.py

            },
            "baz": "simple_include_dict model2 baz",
        }
    
    
    @app.get(
        "/simple_exclude",
        response_model=Model2,
        response_model_exclude={"ref": {"bar"}},
    )
    def simple_exclude():
        return Model2(
            ref=Model1(foo="simple_exclude model foo", bar="simple_exclude model bar"),
            baz="simple_exclude model2 baz",
        )
    
    
    @app.get(
        "/simple_exclude_dict",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
  9. tests/test_filter_pydantic_sub_model_pv2.py

        from pydantic import BaseModel, ValidationInfo, field_validator
    
        app = FastAPI()
    
        class ModelB(BaseModel):
            username: str
    
        class ModelC(ModelB):
            password: str
    
        class ModelA(BaseModel):
            name: str
            description: Optional[str] = None
            foo: ModelB
    
            @field_validator("name")
            def lower_username(cls, name: str, info: ValidationInfo):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/authorizer/modes/modes.go

    	ModeWebhook string = "Webhook"
    	// ModeRBAC is the mode to use Role Based Access Control to authorize
    	ModeRBAC string = "RBAC"
    	// ModeNode is an authorization mode that authorizes API requests made by kubelets.
    	ModeNode string = "Node"
    )
    
    // AuthorizationModeChoices is the list of supported authorization modes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 05 01:22:41 UTC 2018
    - 1.6K bytes
    - Viewed (0)
Back to top