Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,209 for Usages (0.15 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. cmd/kubeadm/app/apis/bootstraptoken/v1/zz_generated.deepcopy.go

    		in, out := &in.TTL, &out.TTL
    		*out = new(metav1.Duration)
    		**out = **in
    	}
    	if in.Expires != nil {
    		in, out := &in.Expires, &out.Expires
    		*out = (*in).DeepCopy()
    	}
    	if in.Usages != nil {
    		in, out := &in.Usages, &out.Usages
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.Groups != nil {
    		in, out := &in.Groups, &out.Groups
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/test/csrctrl/signer/signer.go

    	return ret, nil
    }
    
    func (s *Signer) Sign(x509cr *x509.CertificateRequest, usages []capi.KeyUsage, requestedLifetime time.Duration, appendRootCert bool) ([]byte, error) {
    	currCA, err := s.caProvider.currentCA()
    	if err != nil {
    		return nil, err
    	}
    	der, err := currCA.Sign(x509cr.Raw, authority.PermissiveSigningPolicy{
    		TTL:    requestedLifetime,
    		Usages: usages,
    	})
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:57:19 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top