Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for tool (0.15 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    	excludeOutboundPorts string
    	includeInboundPorts  string
    	includeOutboundPorts string
    	kubevirtInterfaces   string
    	excludeInterfaces    string
    	dnsRedirect          bool
    	dualStack            bool
    	invalidDrop          bool
    }
    
    type annotationValidationFunc func(value string) error
    
    type annotationParam struct {
    	key        string
    	defaultVal string
    	validator  annotationValidationFunc
    }
    
    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)
  2. istioctl/pkg/util/formatting/formatter.go

    	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
    	}
    }
    
    // Print output messages in the specified format with color options
    func Print(ms diag.Messages, format string, colorize bool) (string, error) {
    	switch format {
    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)
  3. operator/cmd/mesh/manifest-diff.go

    	return true, nil
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Ext(path) == YAMLSuffix
    }
    
    // compareManifestsFromDirs compares manifests from two directories
    func compareManifestsFromDirs(verbose bool, dirName1, dirName2,
    	renameResources, selectResources, ignoreResources string,
    ) (bool, error) {
    	mf1, err := util.ReadFilesWithFilter(dirName1, yamlFileFilter)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/clusters/clusters.go

    	return l.HealthStatus.GetEdsHealthStatus()
    }
    
    func retrieveFailedOutlierCheck(l *admin.HostStatus) bool {
    	return l.HealthStatus.GetFailedOutlierCheck()
    }
    
    // Verify returns true if the passed host matches the filter fields
    func (e *EndpointFilter) Verify(host *admin.HostStatus, cluster string) bool {
    	if e.Address == "" && e.Port == 0 && e.Cluster == "" && e.Status == "" {
    		return true
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/workload.go

    type WorkloadFilter struct {
    	Address   string
    	Node      string
    	Verbose   bool
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool {
    	if wf.Address == "" && wf.Node == "" && wf.Namespace == "" {
    		return true
    	}
    
    	if wf.Namespace != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. istioctl/pkg/checkinject/checkinject.go

    			Revision: rev,
    			Injected: injected,
    			Reason:   reason,
    		})
    	}
    	sort.Slice(results, func(i, j int) bool {
    		return results[i].Name < results[j].Name
    	})
    	return results
    }
    
    func analyzeWebhooksMatchStatus(whs []admitv1.MutatingWebhook, podLabels, nsLabels map[string]string) (reason string, injected bool) {
    	for _, wh := range whs {
    		nsMatched, nsLabel := extractMatchedSelectorInfo(wh.NamespaceSelector, nsLabels)
    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)
  7. cni/pkg/plugin/sidecar_iptables_linux.go

    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    	"istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    // getNs is a unit test override variable for interface create.
    var getNs = ns.GetNS
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig_test.go

    	type args struct {
    		slp               string
    		validationPattern string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    *ScopeLevelPair
    		wantErr bool
    	}{
    		{
    			name:    "Fail when logs scope-level pair don't match pattern",
    			args:    args{validationPattern: validationPattern, slp: "invalid:pattern"},
    			wantErr: true,
    		},
    	}
    	for _, tt := range tests {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. istioctl/pkg/multixds/gather.go

    	// MessageWriter is a writer for displaying messages to users.
    	MessageWriter io.Writer
    
    	// XdsViaAgents accesses Istiod via the tap service of each agent.
    	// This is only used in `proxy-status` command.
    	XdsViaAgents bool
    
    	// XdsViaAgentsLimit is the maximum number of pods being visited by istioctl,
    	// when `XdsViaAgents` is true. This is only used in `proxy-status` command.
    	// 0 means that there is no limit.
    	XdsViaAgentsLimit int
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/listener.go

    type ListenerFilter struct {
    	Address string
    	Port    uint32
    	Type    string
    	Verbose bool
    }
    
    // Verify returns true if the passed listener matches the filter fields
    func (l *ListenerFilter) Verify(listener *listener.Listener) bool {
    	if l.Address == "" && l.Port == 0 && l.Type == "" {
    		return true
    	}
    	if l.Address != "" {
    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)
Back to top