Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for rootTask (0.52 sec)

  1. pkg/spiffe/spiffe.go

    		blockBytes = append(blockBytes, block.Bytes...)
    		block, rest = pem.Decode(rest)
    	}
    
    	rootCAs, err := x509.ParseCertificates(blockBytes)
    	if err != nil {
    		spiffeLog.Errorf("parse certificate from rootPEM got error: %v", err)
    		return fmt.Errorf("parse certificate from rootPEM got error: %v", err)
    	}
    
    	v.AddMapping(trustDomain, rootCAs)
    	return nil
    }
    
    // AddMappings merges a trust domain to certs map to the certPools map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/utils.go

    func GetDefaultConnSettings() xhttp.ConnSettings {
    	return xhttp.ConnSettings{
    		LookupHost:  globalDNSCache.LookupHost,
    		DialTimeout: rest.DefaultTimeout,
    		RootCAs:     globalRootCAs,
    		TCPOptions:  globalTCPOptions,
    	}
    }
    
    // NewInternodeHTTPTransport returns a transport for internode MinIO
    // connections.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

            result.assertTasksExecutedInOrder(":api:foo", ":impl:bar")
        }
    
        def "supports buildSrc"() {
            file("buildSrc/src/main/java/FooTask.java") << """
                import org.gradle.api.DefaultTask;
                import org.gradle.api.tasks.TaskAction;
    
                public class FooTask extends DefaultTask {
                    @TaskAction public void logStuff(){
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            given:
            buildFile << """
                class Bean { Project p1 }
    
                class FooTask extends DefaultTask {
                    private final bean = new Bean()
                    FooTask() { bean.p1 = project }
                    @TaskAction void run() {}
                }
    
                task foo(type: FooTask)
            """
    
            when:
            run ENABLE_CLI_OPT, WARN_PROBLEMS_CLI_OPT, "foo"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks_test.go

    	if err != nil {
    		t.Errorf(
    			"failed configRootCAs:\n\texpected: has no error\n\tactual:%v",
    			err,
    		)
    	}
    	if config.RootCAs == nil {
    		t.Errorf(
    			"failed configRootCAs:\n\texpected: RootCAs not equal to nil\n\tactual:%v",
    			config.RootCAs,
    		)
    	}
    }
    func TestConfigCertAndKey(t *testing.T) {
    	certFile, err := os.CreateTemp(os.TempDir(), "kubeadm-external-etcd-test-certfile")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. src/crypto/tls/common.go

    	// settings.
    	VerifyConnection func(ConnectionState) error
    
    	// RootCAs defines the set of root certificate authorities
    	// that clients use when verifying server certificates.
    	// If RootCAs is nil, TLS uses the host's root CA set.
    	RootCAs *x509.CertPool
    
    	// NextProtos is a list of supported application level protocols, in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  7. src/crypto/tls/bogo_shim_test.go

    		}
    		block, _ := pem.Decode(certFile)
    		cert, err := x509.ParseCertificate(block.Bytes)
    		if err != nil {
    			log.Fatalf("parse trust-cert err: %s", err)
    		}
    		pool.AddCert(cert)
    		cfg.RootCAs = pool
    	}
    
    	if *requireAnyClientCertificate {
    		cfg.ClientAuth = RequireAnyClientCert
    	}
    	if *verifyPeer {
    		cfg.ClientAuth = VerifyClientCertIfGiven
    	}
    
    	if *echConfigListB64 != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    			return nil, err
    		}
    		tlsConfig = &tls.Config{Certificates: []tls.Certificate{cert}}
    	}
    
    	if caCert != nil {
    		rootCAs := x509.NewCertPool()
    		rootCAs.AppendCertsFromPEM(caCert)
    		if tlsConfig == nil {
    			tlsConfig = &tls.Config{}
    		}
    		tlsConfig.ClientCAs = rootCAs
    		tlsConfig.ClientAuth = tls.RequireAndVerifyClientCert
    	}
    
    	serveHTTP := func(w http.ResponseWriter, r *http.Request) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. cmd/config-current.go

    	}
    	if err == nil && dnsURL != "" {
    		bootstrapTraceMsg("initialize remote bucket DNS store")
    		globalDNSConfig, err = dns.NewOperatorDNS(dnsURL,
    			dns.Authentication(dnsUser, dnsPass),
    			dns.RootCAs(globalRootCAs))
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to initialize remote webhook DNS config %w", err))
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    	}
    	return n
    }
    
    // root returns the root of the cache.
    func (d *dataUsageCache) root() *dataUsageEntry {
    	return d.find(d.Info.Name)
    }
    
    // rootHash returns the root of the cache.
    func (d *dataUsageCache) rootHash() dataUsageHash {
    	return hashPath(d.Info.Name)
    }
    
    // clone returns a copy of the cache with no references to the existing.
    func (d *dataUsageCache) clone() dataUsageCache {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top