Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for rootHash (0.04 seconds)

  1. 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  2. cmd/format-erasure_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.MkdirAll(pathJoin(rootPath, minioMetaBucket), os.FileMode(0o755)); err != nil {
    		t.Fatal(err)
    	}
    
    	if err = os.WriteFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile), b, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    
    	formatData, _, err := formatErasureMigrate(rootPath)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  3. internal/kms/config.go

    		if err != nil {
    			return nil, err
    		}
    
    		key, err := mtls.ParsePrivateKey(env.Get(EnvKMSAPIKey, ""))
    		if err != nil {
    			return nil, err
    		}
    
    		var rootCAs *x509.CertPool
    		if opts != nil && opts.CADir != "" {
    			rootCAs, err = certs.GetRootCAs(opts.CADir)
    			if err != nil {
    				return nil, err
    			}
    		}
    
    		client, err := kms.NewClient(&kms.Config{
    			Endpoints: endpoints,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. internal/config/identity/ldap/config.go

    			NextProtos:         []string{"h2", "http/1.1"},
    			ClientSessionCache: tls.NewLRUClientSessionCache(100),
    			CipherSuites:       crypto.TLSCiphersBackwardCompatible(), // Contains RSA key exchange
    			RootCAs:            rootCAs,
    		},
    	}
    
    	// Parse explicitly set enable=on/off flag.
    	isEnableFlagExplicitlySet := false
    	if v := getCfgVal(config.Enable); v != "" {
    		isEnableFlagExplicitlySet = true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Sep 18 11:47:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  5. internal/config/notify/parse.go

    			if !args.Enable {
    				continue
    			}
    			args.TLS.RootCAs = transport.TLSClientConfig.RootCAs
    			t, err := target.NewKafkaTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    
    	case config.NotifyMQTTSubSys:
    		mqttTargets, err := GetNotifyMQTT(cfg[config.NotifyMQTTSubSys], transport.TLSClientConfig.RootCAs)
    		if err != nil {
    			return nil, err
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  6. internal/logger/target/kafka/kafka.go

    	sconfig.Net.TLS.Config = tlsConfig
    	sconfig.Net.TLS.Config.InsecureSkipVerify = h.kconfig.TLS.SkipVerify
    	sconfig.Net.TLS.Config.ClientAuth = h.kconfig.TLS.ClientAuth
    	sconfig.Net.TLS.Config.RootCAs = h.kconfig.TLS.RootCAs
    
    	// These settings are needed to ensure that kafka client doesn't hang on brokers
    	// refer https://github.com/IBM/sarama/issues/765#issuecomment-254333355
    	sconfig.Producer.Retry.Max = 2
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  8. 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))
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  9. cmd/update.go

    		DialContext:           xhttp.NewInternodeDialContext(timeout, globalTCPOptions),
    		IdleConnTimeout:       timeout,
    		TLSHandshakeTimeout:   timeout,
    		ExpectContinueTimeout: timeout,
    		TLSClientConfig: &tls.Config{
    			RootCAs:            globalRootCAs,
    			ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    		},
    		DisableCompression: true,
    	}
    	return updateTransport
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
Back to Top