Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for dumb (0.04 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    		wantOutputFile string
    		callPrime      bool
    		wantErr        bool
    	}{
    		{
    			name:           "returns expected bootstrap dump from Envoy onto Stdout",
    			callPrime:      true,
    			wantOutputFile: "testdata/bootstrapdump.json",
    		},
    		{
    			name:    "errors if config dump is not primed",
    			wantErr: true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			gotOut := &bytes.Buffer{}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/authz.go

    The command also supports reading from a standalone config dump file with flag -f.`,
    		Example: `  # Check AuthorizationPolicy applied to pod httpbin-88ddbcfdd-nt5jb:
      istioctl x authz check httpbin-88ddbcfdd-nt5jb
    
      # Check AuthorizationPolicy applied to one pod under a deployment
      istioctl x authz check deployment/productpage-v1
    
      # Check AuthorizationPolicy from Envoy config dump file:
      istioctl x authz check -f httpbin_config_dump.json`,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	return nil
    }
    
    // PrintVersionSummary prints version information for Istio and Ztunnel from the config dump
    func (c *ConfigWriter) PrintVersionSummary() error {
    	// TODO
    	return nil
    }
    
    // PrintPodRootCAFromDynamicSecretDump prints just pod's root ca from dynamic secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	// TODO
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/comparator.go

    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    // Comparator diffs between a config dump from Istiod and one from Envoy
    type Comparator struct {
    	envoy, istiod *configdump.Wrapper
    	w             io.Writer
    	context       int
    	location      string
    }
    
    // NewComparator is a comparator constructor
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    			wantErr:     false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.ztunnelDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. .github/workflows/test.yml

          - synchronize
      schedule:
        # cron every week on monday
        - cron: "0 0 * * 1"
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      lint:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. common/Makefile.common.mk

    format-python:
    	@${FINDFILES} -name '*.py' -print0 | ${XARGS} autopep8 --max-line-length 160 --aggressive --aggressive -i
    
    dump-licenses: mod-download-go
    	@license-lint --config common/config/license-lint.yml --report
    
    dump-licenses-csv: mod-download-go
    	@license-lint --config common/config/license-lint.yml --csv
    
    mirror-licenses: mod-download-go
    	@rm -fr licenses
    	@license-lint --mirror
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/route.go

    func (r *RouteFilter) Verify(route *route.RouteConfiguration) bool {
    	if r.Name != "" && r.Name != route.Name {
    		return false
    	}
    	return true
    }
    
    // PrintRouteSummary prints a summary of the relevant routes in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintRouteSummary(filter RouteFilter) error {
    	w, routes, err := c.setupRouteConfigWriter()
    	if err != nil {
    		return err
    	}
    	if filter.Verbose {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/cluster.go

    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3"
    
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // GetDynamicClusterDump retrieves a cluster dump with just dynamic active clusters in it
    func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error) {
    	clusterDump, err := w.GetClusterConfigDump()
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/route.go

    	}
    	return nil, nil
    }
    
    // GetDynamicRouteDump retrieves a route dump with just dynamic active routes in it
    func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*admin.RoutesConfigDump, error) {
    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range drc {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top