Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 663 for Usages (0.11 sec)

  1. cmd/kubeadm/app/cmd/token_test.go

    		},
    		{
    			name:          "invalid: partially incorrect usages",
    			token:         "abcdef.1234567890123456",
    			usages:        []string{"foo", "authentication"},
    			extraGroups:   []string{"system:bootstrappers:foo"},
    			expectedError: true,
    		},
    		{
    			name:          "invalid: all incorrect usages",
    			token:         "abcdef.1234567890123456",
    			usages:        []string{"foo", "bar"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                }
                Integer depth = usages.get(Thread.currentThread());
                if (depth == null) {
                    usages.put(Thread.currentThread(), 1);
                } else {
                    usages.put(Thread.currentThread(), depth + 1);
                }
            } finally {
                lock.unlock();
            }
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/attributes/Usage.java

    import org.gradle.api.Named;
    
    /**
     * Represents the usage of a configuration. Typical usages include compilation or runtime.
     * This interface allows the user to customize usages by implementing this interface.
     *
     * @since 3.4
     */
    public interface Usage extends Named {
        Attribute<Usage> USAGE_ATTRIBUTE = Attribute.of("org.gradle.usage", Usage.class);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/api/certificates/v1/types.go

    	//  "ipsec end system", "ipsec tunnel", "ipsec user",
    	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
    	// +listType=atomic
    	Usages []KeyUsage `json:"usages,omitempty" protobuf:"bytes,5,opt,name=usages"`
    
    	// username contains the name of the user that created the CertificateSigningRequest.
    	// Populated by the API server on creation and immutable.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/certs/certlist.go

    			Config: certutil.Config{
    				// TODO: etcd 3.2 introduced an undocumented requirement for ClientAuth usage on the
    				// server cert: https://github.com/etcd-io/etcd/issues/9785#issuecomment-396715692
    				// Once the upstream issue is resolved, this should be returned to only allowing
    				// ServerAuth usage.
    				Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top