Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isConfig (0.06 sec)

  1. gorm.go

    func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
    	config := &Config{}
    
    	sort.Slice(opts, func(i, j int) bool {
    		_, isConfig := opts[i].(*Config)
    		_, isConfig2 := opts[j].(*Config)
    		return isConfig && !isConfig2
    	})
    
    	for _, opt := range opts {
    		if opt != nil {
    			if applyErr := opt.Apply(config); applyErr != nil {
    				return nil, applyErr
    			}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka.go

    	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
    	sconfig.Producer.Retry.Backoff = (10 * time.Second)
    	sconfig.Producer.Return.Successes = true
    	sconfig.Producer.Return.Errors = true
    	sconfig.Producer.RequiredAcks = 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    		podIsAmbient, err := isAmbientPod(kClient, podName, podNamespace)
    		if err != nil {
    			log.Errorf("istio-cni cmdAdd failed to check ambient: %s", err)
    		}
    
    		var prevResIps []*cniv1.IPConfig
    		if conf.PrevResult != nil {
    			prevResult := conf.PrevResult.(*cniv1.Result)
    			prevResIps = prevResult.IPs
    		}
    
    		// Only send event if this pod "would be" an ambient-watched pod - otherwise skip
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top