Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 112 for scfg (0.06 sec)

  1. internal/logger/target/kafka/kafka_scram_client_contrib.go

    package kafka
    
    import (
    	"crypto/sha512"
    	"strings"
    
    	"github.com/IBM/sarama"
    	"github.com/xdg/scram"
    
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    func initScramClient(cfg Config, config *sarama.Config) {
    	switch strings.ToLower(cfg.SASL.Mechanism) {
    	case "sha512":
    		config.Net.SASL.SCRAMClientGeneratorFunc = func() sarama.SCRAMClient { return &XDGSCRAMClient{HashGeneratorFcn: KafkaSHA512} }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Nov 09 04:04:01 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. cni/pkg/install/kubeconfig_test.go

    	tempDir := t.TempDir()
    
    	cfg := &config.InstallConfig{
    		MountedCNINetDir:      tempDir,
    		KubeCAFile:            kubeCAFilepath,
    		K8sServiceHost:        k8sServiceHost,
    		K8sServicePort:        k8sServicePort,
    		K8sServiceAccountPath: tmp,
    	}
    	// Write out a kubeconfig with one cert
    	result, err := createKubeConfig(cfg)
    	if err != nil {
    		t.Fatalf("did not expect failure: %v", err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. internal/config/notify/parse.go

    func TestSubSysNotificationTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) error {
    	if err := checkValidNotificationKeysForSubSys(subSys, cfg[subSys]); err != nil {
    		return err
    	}
    
    	targetList, err := fetchSubSysTargets(ctx, cfg, subSys, transport)
    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                else {
                    this.openFunction = OPEN_FN_OPEN;
                }
            }
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            return cmd == SMB_COM_READ_ANDX ? cfg.getBatchLimit("OpenAndX.ReadAndX") : 0;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/NamingTest.java

            prop.setProperty("jcifs.resolveOrder", "WINS");
            prop.setProperty("jcifs.netbios.wins", getRequiredProperty("jcifs.netbios.wins"));
    
            PropertyConfiguration cfg = new PropertyConfiguration(prop);
            BaseContext c = new BaseContext(cfg);
    
            c.getNameServiceClient().getByName(getRequiredProperty("test.server.netbios"));
            c.getNameServiceClient().getAllByName(getRequiredProperty("test.server.netbios"), true);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  6. internal/bucket/replication/rule_test.go

    			expectedResult: true,
    		},
    	}
    
    	for i, tc := range testCases {
    		tc := tc
    		t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) {
    			cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			if got := cfg.Rules[0].MetadataReplicate(tc.opts); got != tc.expectedResult {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/fakes_test.go

    func (r *fakeIptablesDeps) AddInpodMarkIPRule(cfg *iptables.Config) error {
    	r.AddInpodMarkIPRuleCnt.Add(1)
    	return nil
    }
    
    func (r *fakeIptablesDeps) DelInpodMarkIPRule(cfg *iptables.Config) error {
    	r.DelInpodMarkIPRuleCnt.Add(1)
    	return nil
    }
    
    func (r *fakeIptablesDeps) AddLoopbackRoutes(cfg *iptables.Config) error {
    	r.AddLoopbackRoutesCnt.Add(1)
    	return r.AddRouteErr
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 23:33:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    	globalCompressConfigMu.Lock()
    	cfg := globalCompressConfig
    	globalCompressConfigMu.Unlock()
    
    	return !excludeForCompression(header, object, cfg)
    }
    
    // Eliminate the non-compressible objects.
    func excludeForCompression(header http.Header, object string, cfg compress.Config) bool {
    	objStr := object
    	contentType := header.Get(xhttp.ContentType)
    	if !cfg.Enabled {
    		return true
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/TestMutation.java

    package jcifs.tests;
    
    
    import java.util.Map;
    
    
    /**
     * @author mbechler
     *
     */
    public interface TestMutation {
    
        /**
         * @param cfg
         * @return mutated configuration
         */
        public Map<String, String> mutate ( Map<String, String> cfg );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

        }
    
    
        /**
         * 
         * @param cfg
         * @param t
         * @param dst
         * @param dstIndex
         */
        public static void writeUTime ( Configuration cfg, long t, byte[] dst, int dstIndex ) {
            if ( t == 0L || t == 0xFFFFFFFFFFFFFFFFL ) {
                SMBUtil.writeInt4(0xFFFFFFFF, dst, dstIndex);
                return;
            }
    
            if ( cfg.getLocalTimezone().inDaylightTime(new Date()) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
Back to top