Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 237 for Franke (0.24 sec)

  1. cmd/admin-server-info.go

    	if r != nil {
    		addr = r.Host
    	}
    	if globalIsDistErasure {
    		addr = globalLocalNodeName
    	}
    	poolNumbers := make(map[int]struct{})
    	network := make(map[string]string)
    	for _, ep := range endpointServerPools {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				poolNumbers[endpoint.PoolIdx+1] = struct{}{}
    			}
    			nodeName := endpoint.Host
    			if nodeName == "" {
    				nodeName = addr
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. callbacks.go

    		if getRIndex(sorted, c.name) == -1 {
    			sorted = append(sorted, c.name)
    		}
    
    		return nil
    	}
    
    	for _, c := range cs {
    		if err = sortCallback(c); err != nil {
    			return
    		}
    	}
    
    	for _, name := range sorted {
    		if idx := getRIndex(names, name); !cs[idx].remove {
    			fns = append(fns, cs[idx].handler)
    		}
    	}
    
    	return
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 8.6K bytes
    - Viewed (1)
  3. istioctl/pkg/proxyconfig/clusters.go

    	if err != nil {
    		return err
    	}
    	w := new(tabwriter.Writer).Init(out, 0, 8, 5, ' ', 0)
    	_, _ = fmt.Fprintln(w, "NAME\tSECRET\tSTATUS\tISTIOD")
    	for istiod, clusters := range statuses {
    		for _, c := range clusters {
    			_, _ = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", c.ID, c.SecretName, c.SyncStatus, istiod)
    		}
    	}
    	_ = w.Flush()
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. internal/logger/message/audit/entry.go

    	entry.ReqHost = r.Host
    	entry.ReqPath = r.URL.Path
    
    	q := r.URL.Query()
    	reqQuery := make(map[string]string, len(q))
    	for k, v := range q {
    		reqQuery[k] = strings.Join(v, ",")
    	}
    	entry.ReqQuery = reqQuery
    
    	reqHeader := make(map[string]string, len(r.Header))
    	for k, v := range r.Header {
    		reqHeader[k] = strings.Join(v, ",")
    	}
    	entry.ReqHeader = reqHeader
    
    	wh := w.Header()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag_test.go

    						},
    					},
    				},
    			},
    			outputMatches: []string{"test", "revision", "dependent"},
    			error:         "",
    		},
    	}
    
    	for _, tc := range tcs {
    		t.Run(tc.name, func(t *testing.T) {
    			var out bytes.Buffer
    			client := fake.NewSimpleClientset(tc.webhooks.DeepCopyObject(), tc.namespaces.DeepCopyObject())
    			outputFormat = util.JSONFormat
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics.go

    	n.LastMinute = n.LastMinute.merge(o.LastMinute)
    	n.LastHour = n.LastHour.merge(rt.LastHour)
    	n.LastHour = n.LastHour.merge(o.LastHour)
    	n.ErrCounts = make(map[string]int)
    	for k, v := range rt.ErrCounts {
    		n.ErrCounts[k] = v
    	}
    	for k, v := range o.ErrCounts {
    		n.ErrCounts[k] += v
    	}
    	return n
    }
    
    // SRStats has replication stats at site level
    type SRStats struct {
    	// Total Replica size in bytes
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate.go

    		mgArgs.Force, mgArgs.Filter, kubeClient, l)
    	if err != nil {
    		return err
    	}
    
    	if len(mgArgs.Components) != 0 {
    		filteredManifests := name.ManifestMap{}
    		for _, cArg := range mgArgs.Components {
    			componentName := name.ComponentName(cArg)
    			if cManifests, ok := manifests[componentName]; ok {
    				filteredManifests[componentName] = cManifests
    			} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/bitrot.go

    }
    
    // Close all the readers.
    func closeBitrotReaders(rs []io.ReaderAt) {
    	for _, r := range rs {
    		if r != nil {
    			if br, ok := r.(io.Closer); ok {
    				br.Close()
    			}
    		}
    	}
    }
    
    // Close all the writers.
    func closeBitrotWriters(ws []io.Writer) {
    	for _, w := range ws {
    		if w != nil {
    			if bw, ok := w.(io.Closer); ok {
    				bw.Close()
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  9. schema/constraint.go

    }
    
    // ParseCheckConstraints parse schema check constraints
    func (schema *Schema) ParseCheckConstraints() map[string]CheckConstraint {
    	checks := map[string]CheckConstraint{}
    	for _, field := range schema.FieldsByDBName {
    		if chk := field.TagSettings["CHECK"]; chk != "" {
    			names := strings.Split(chk, ",")
    			if len(names) > 1 && regEnLetterAndMidline.MatchString(names[0]) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. callbacks/helper_test.go

    			input: map[string]interface{}{
    				"active": true,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "active"}},
    				Values:  [][]interface{}{{true}},
    			},
    		},
    	}
    
    	for _, tc := range testCase {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input)
    			if !reflect.DeepEqual(actual, tc.expect) {
    				t.Errorf("expect %v got %v", tc.expect, actual)
    			}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top