Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for male (0.14 sec)

  1. operator/cmd/mesh/profile-dump.go

    	switch v := obj.(type) {
    	case map[string]any:
    		accum := make([]string, 0)
    		for key, vv := range v {
    			childwalk, err := walk(fmt.Sprintf("%s%s%s", path, separator, pathComponent(key)), ".", vv)
    			if err != nil {
    				return accum, err
    			}
    			accum = append(accum, childwalk...)
    		}
    		return accum, nil
    	case []any:
    		accum := make([]string, 0)
    		for idx, vv := range v {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    				}
    			}
    		}
    	}
    	noMatchingReason := func(whs []admitv1.MutatingWebhook) string {
    		nsMatchedLabels := make([]string, 0)
    		podMatchedLabels := make([]string, 0)
    		extractMatchLabels := func(selector *metav1.LabelSelector) []string {
    			if selector == nil {
    				return nil
    			}
    			labels := make([]string, 0)
    			for _, me := range selector.MatchExpressions {
    				if me.Operator != metav1.LabelSelectorOpIn {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. istioctl/pkg/util/formatting/formatter.go

    // Formatting options for Messages
    const (
    	LogFormat  = "log"
    	JSONFormat = "json"
    	YAMLFormat = "yaml"
    )
    
    var (
    	MsgOutputFormatKeys = []string{LogFormat, JSONFormat, YAMLFormat}
    	MsgOutputFormats    = make(map[string]bool)
    	termEnvVar          = env.Register("TERM", "", "Specifies terminal type.  Use 'dumb' to suppress color output")
    )
    
    func init() {
    	for _, key := range MsgOutputFormatKeys {
    		MsgOutputFormats[key] = true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. istioctl/pkg/waypoint/waypoint_test.go

    			if output != expectedOut {
    				t.Fatalf("expected %s, got %s", expectedOut, output)
    			}
    		})
    	}
    }
    
    func makeGateway(name, namespace string, programmed, isWaypoint bool) *gateway.Gateway {
    	conditions := make([]metav1.Condition, 0)
    	if programmed {
    		conditions = append(conditions, metav1.Condition{
    			Type:   string(gateway.GatewayConditionProgrammed),
    			Status: kstatus.StatusTrue,
    		})
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache.go

    func (p *podNetnsCache) Get(uid string) Netns {
    	// lock current snapshot pod map
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	if info, f := p.currentPodCache[uid]; f {
    		return info.Netns
    	}
    	return nil
    }
    
    // make sure uid is in the cache, even if we don't have a netns
    func (p *podNetnsCache) Ensure(uid string) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if _, ok := p.currentPodCache[uid]; !ok {
    		p.currentPodCache[uid] = WorkloadInfo{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/listener.go

    func (c *ConfigWriter) PrintListenerSummary(filter ListenerFilter) error {
    	w, listeners, err := c.setupListenerConfigWriter()
    	if err != nil {
    		return err
    	}
    
    	verifiedListeners := make([]*listener.Listener, 0, len(listeners))
    	for _, l := range listeners {
    		if filter.Verify(l) {
    			verifiedListeners = append(verifiedListeners, l)
    		}
    	}
    
    	// Sort by port, addr, type
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server_test.go

    type WaitGroup struct {
    	count int32
    	done  chan struct{}
    }
    
    func NewWaitGroup() *WaitGroup {
    	return &WaitGroup{
    		done: make(chan struct{}),
    	}
    }
    
    func NewWaitForNCalls(t *testing.T, n int32) (*WaitGroup, func()) {
    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    		select {
    		case <-wg.C():
    			return
    		case <-time.After(time.Second):
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_redirect.go

    			}
    		}
    	}
    	return nil
    }
    
    func splitPorts(portsString string) []string {
    	return strings.Split(portsString, ",")
    }
    
    func dedupPorts(ports []string) []string {
    	dedup := make(map[string]bool)
    	keys := []string{}
    
    	for _, port := range ports {
    		if !dedup[port] {
    			dedup[port] = true
    			keys = append(keys, port)
    		}
    	}
    	return keys
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. cni/pkg/log/uds_test.go

    	udsSockDir := t.TempDir()
    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    	logger := NewUDSLogger()
    	pluginLog.SetOutputLevel(log.DebugLevel) // this will be configured by global.logging.level
    	stop := make(chan struct{})
    	defer close(stop)
    	assert.NoError(t, logger.StartUDSLogServer(udsSock, stop))
    
    	// Configure log to tee to UDS server
    	stdout := os.Stdout
    	r, w, _ := os.Pipe()
    	os.Stdout = w
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest_shared_test.go

    // It returns an ObjectSet for each cmd type.
    // nolint: unparam
    func runManifestCommands(inFile, flags string, chartSource chartSourceType, fileSelect []string) (map[cmdType]*ObjectSet, error) {
    	out := make(map[cmdType]*ObjectSet)
    	for _, cmd := range testedManifestCmds {
    		log.Infof("\nRunning test command using %s\n", cmd)
    		switch cmd {
    		case cmdApply, cmdController:
    			if err := cleanTestCluster(); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top