Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for true (0.15 sec)

  1. istioctl/pkg/waypoint/waypoint_test.go

    				makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
    				makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true),
    			},
    			expectedOutFile: "default-gateway",
    		},
    		{
    			name: "all namespaces gateways",
    			args: strings.Split("list -A", " "),
    			gateways: []*gateway.Gateway{
    				makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
    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)
  2. istioctl/cmd/options.go

    package cmd
    
    import (
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    )
    
    var helpFlags = map[string]bool{
    	"log_as_json":          true,
    	"log_stacktrace_level": true,
    	"log_target":           true,
    	"log_caller":           true,
    	"log_output_level":     true,
    	// istioctl also inherits support for log_rotate, log_rotate_max_age, log_rotate_max_backups,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    var generated = map[string]bool{
    	"hosts":         true,
    	"istio-token":   true,
    	"mesh.yaml":     true,
    	"root-cert.pem": true,
    	"cluster.env":   true,
    }
    
    const goldenSuffix = ".golden"
    
    // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig_test.go

    			state:   &resetState{client: ctrzClientNoScopejHandler},
    			wantErr: true,
    		},
    		{
    			name: "logLevelState.run() should throw an error if the /scopej endpoint is missing",
    			state: &logLevelState{
    				client:         ctrzClientNoScopejHandler,
    				outputLogLevel: "test:debug",
    			},
    			wantErr: true,
    		},
    		{
    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)
  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 != "" {
    		if !strings.EqualFold(workload.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    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. operator/cmd/mesh/profile-diff_test.go

    		{
    			args:       "profile diff demo default --unknown-flag",
    			shouldFail: true,
    		},
    		{
    			args:       "profile diff demo",
    			shouldFail: true,
    		},
    		{
    			args:       "profile diff",
    			shouldFail: true,
    		},
    		{
    			args:       fmt.Sprintf("profile diff default unknown-profile --manifests %s", snapshotCharts),
    			shouldFail: true,
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  7. istioctl/pkg/checkinject/checkinject.go

    			} else if nsLabel != "" {
    				outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel)
    				if strings.Contains(nsLabel, "kubernetes.io/metadata.name") {
    					outMsg += " (Automatic injection is enabled in all namespaces)."
    				}
    				return outMsg, true
    			} else if podLabel != "" {
    				return fmt.Sprintf("Pod label %s matches", podLabel), true
    			}
    		} else if nsMatched {
    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)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    			// TODO this only makes sense in context of a chain... do we need a way to give it context
    			return []string{"ANY"}, true
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(name, v.Matcher)
    		if !f {
    			return []string{"NONE"}, true
    		}
    		return ms, true
    	}
    	// TODO support list
    	n := match.GetMatcherTree().GetInput().GetName()
    
    	var m map[string]*matcher.Matcher_OnMatch
    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)
  9. istioctl/pkg/writer/compare/cluster.go

    	envoyClusterDump, err := c.envoy.GetDynamicClusterDump(true)
    	if err != nil {
    		envoyBytes.WriteString(err.Error())
    	} else {
    		envoy, err := protomarshal.ToJSONWithAnyResolver(envoyClusterDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		envoyBytes.WriteString(envoy)
    	}
    	istiodClusterDump, err := c.istiod.GetDynamicClusterDump(true)
    	if err != nil {
    		istiodBytes.WriteString(err.Error())
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/listener.go

    	envoyListenerDump, err := c.envoy.GetDynamicListenerDump(true)
    	if err != nil {
    		envoyBytes.WriteString(err.Error())
    	} else {
    		envoy, err := protomarshal.ToJSONWithAnyResolver(envoyListenerDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		envoyBytes.WriteString(envoy)
    	}
    	istiodListenerDump, err := c.istiod.GetDynamicListenerDump(true)
    	if err != nil {
    		istiodBytes.WriteString(err.Error())
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 20:29:08 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top