Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,344 for Usages (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/kubeadm/app/apis/bootstraptoken/v1/types.go

    	// +optional
    	Expires *metav1.Time `json:"expires,omitempty"`
    	// Usages describes the ways in which this token can be used. Can by default be used
    	// for establishing bidirectional trust, but that can be changed here.
    	// +optional
    	Usages []string `json:"usages,omitempty"`
    	// Groups specifies the extra groups that this token will authenticate as when/if
    	// used for authentication
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 01 21:11:49 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/kubeadm/app/apis/bootstraptoken/v1/defaults.go

    func SetDefaults_BootstrapToken(bt *BootstrapToken) {
    	if bt.TTL == nil {
    		bt.TTL = &metav1.Duration{
    			Duration: DefaultTokenDuration,
    		}
    	}
    	if len(bt.Usages) == 0 {
    		bt.Usages = DefaultTokenUsages
    	}
    
    	if len(bt.Groups) == 0 {
    		bt.Groups = DefaultTokenGroups
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top