Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,091 for Usages (0.13 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

                dependencies {
                    testImplementation 'junit:junit:4.13'
                }
            """
        }
    
        @Issue("https://github.com/gradle/gradle/issues/21386")
        def "emits toolchain usages for a build #configureToolchain configured toolchain for '#task' task"() {
            JvmInstallationMetadata jdkMetadata
            if (configureToolchain == "without") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/fixtures/kotlin/lib/build.gradle.kts

    javaComponent.withVariantsFromConfiguration(configurations["testFixturesRuntimeElements"]) { skip() }
    // end::disable-test-fixtures-publishing[]
    
    tasks.create("usages") {
        val javaComponentUsages = (components["java"] as SoftwareComponentInternal).usages.map { it.name }
        doLast {
            javaComponentUsages.forEach { println(it) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. pkg/controller/certificates/signer/signer_test.go

    			case !c.constructionErr && err == nil:
    				// continue with rest of test
    			}
    
    			csr := makeTestCSR(csrBuilder{cn: c.commonName, signerName: c.signerName, approved: c.approved, failed: c.failed, usages: c.usages, org: c.org, dnsNames: c.dnsNames})
    			ctx := context.TODO()
    			if err := s.handle(ctx, csr); err != nil && !c.err {
    				t.Errorf("unexpected err: %v", err)
    			}
    			c.verify(t, client.Actions())
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 15K bytes
    - Viewed (0)
  4. pkg/controller/certificates/approver/sarapprove_test.go

    		func(b *csrBuilder) {
    			b.cn = "mike"
    		},
    		func(b *csrBuilder) {
    			b.orgs = nil
    		},
    		func(b *csrBuilder) {
    			b.orgs = []string{"system:master"}
    		},
    		func(b *csrBuilder) {
    			b.usages = append(b.usages, capi.UsageServerAuth)
    		},
    		func(b *csrBuilder) {
    			b.signerName = "example.com/not-correct"
    		},
    		func(b *csrBuilder) {
    			b.signerName = capi.KubeletServingSignerName
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package tests defines an Analyzer that checks for common mistaken
    // usages of tests and examples.
    //
    // # Analyzer tests
    //
    // tests: check for common mistaken usages of tests and examples
    //
    // The tests checker walks Test, Benchmark, Fuzzing and Example functions checking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 703 bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    		t.Errorf("expected organization %v, got %v", expectedConfig.Organization, cfg.Organization)
    
    	}
    
    	if len(cfg.Usages) != 1 || cfg.Usages[0] != expectedConfig.Usages[0] {
    		t.Errorf("expected ext key usage %v, got %v", expectedConfig.Usages, cfg.Usages)
    	}
    
    	if len(cfg.AltNames.IPs) != 1 || cfg.AltNames.IPs[0].String() != expectedConfig.AltNames.IPs[0].String() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/options/token.go

    	)
    }
    
    // AddUsagesFlag adds the --usages flag to the given flagset
    func (bto *BootstrapTokenOptions) AddUsagesFlag(fs *pflag.FlagSet) {
    	fs.StringSliceVar(
    		&bto.Usages, TokenUsages, bto.Usages,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token.go

    		ttl = duration.ShortHumanDuration(time.Until(obj.Expires.Time))
    		expires = obj.Expires.Format(time.RFC3339)
    	}
    	ttl = fmt.Sprintf("%-9s", ttl)
    
    	usages := strings.Join(obj.Usages, ",")
    	if len(usages) == 0 {
    		usages = "<none>"
    	}
    	usages = fmt.Sprintf("%-22s", usages)
    
    	description := obj.Description
    	if len(description) == 0 {
    		description = "<none>"
    	}
    	description = fmt.Sprintf("%-56s", description)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. security/pkg/k8s/chiron/utils.go

    		return nil, nil, nil, err
    	}
    	usages := []cert.KeyUsage{
    		cert.UsageDigitalSignature,
    		cert.UsageKeyEncipherment,
    		cert.UsageServerAuth,
    	}
    	if signerName == "" {
    		return nil, nil, nil, fmt.Errorf("signerName is required for Kubernetes CA")
    	}
    	certChain, caCert, err := SignCSRK8s(client, csrPEM, signerName, usages, dnsName, caFilePath, approveCsr, true, requestedLifetime)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 18:11:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "tasks run in parallel when no max usages specified"() {
            given:
            withParallelThreads(2)
    
            buildFile << """
                def service = gradle.sharedServices.registerIfAbsent("exclusive", BuildService) {}
    
                allprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top