Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for headers (0.17 sec)

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

    	}
    	if match.GetPath() != "" {
    		conds = append(conds, match.GetPath())
    	}
    	if match.GetSafeRegex() != nil {
    		conds = append(conds, fmt.Sprintf("regex %s", match.GetSafeRegex().Regex))
    	}
    	// Ignore headers
    	return strings.Join(conds, " ")
    }
    
    // PrintListenerDump prints the relevant listeners in the config dump to the ConfigWriter stdout
    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)
  2. istioctl/pkg/util/handlers/handlers_test.go

    				return &http.Response{StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: body}, nil
    			case p == "/namespaces/test/deployments/foo" && m == "GET":
    				body := cmdtesting.ObjBody(codec, attachDeploy("test"))
    				return &http.Response{StatusCode: http.StatusOK, Header: cmdtesting.DefaultHeader(), Body: body}, nil
    			default:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    		if match.IgnoreUriCase {
    			retval += " uncased"
    		}
    	}
    
    	if len(match.Headers) > 0 {
    		headerConds := []string{}
    		for key, val := range match.Headers {
    			headerConds = append(headerConds, fmt.Sprintf("%s=%s", key, renderStringMatch(val)))
    		}
    		retval += " when headers are " + strings.Join(headerConds, "; ")
    	}
    
    	// TODO QueryParams, maybe Gateways
    	return strings.TrimSpace(retval)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  4. cni/pkg/repair/repair_test_helpers.go

    John Howard <******@****.***> 1683913193 -0700
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/table/writer.go

    	"github.com/fatih/color"
    )
    
    type ColoredTableWriter struct {
    	writer     io.Writer
    	header     Row
    	rows       []Row
    	addRowFunc func(obj interface{}) Row
    }
    
    func NewStyleWriter(writer io.Writer) *ColoredTableWriter {
    	return &ColoredTableWriter{
    		writer: writer,
    		rows:   make([]Row, 0),
    		header: Row{},
    	}
    }
    
    type BuildRowFunc func(obj interface{}) Row
    
    type Cell struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  6. istioctl/pkg/xds/google.go

    	if err != nil {
    		return err
    	}
    	for k, v := range ret {
    		if !strings.EqualFold(k, "authorization") {
    			if _, ok := dst[k]; ok {
    				return fmt.Errorf("underlying %s credentials contain a %s header which is already present in the combined credentials", kind, k)
    			}
    			dst[k] = v
    		} else {
    			dst[dstHdr] = v
    		}
    	}
    	return nil
    }
    
    type hubMembership struct {
    	WorkloadIdentityPool string
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  7. istioctl/pkg/proxystatus/proxystatus_test.go

    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze.go

    				return nil, err
    			}
    			readers = append(readers, dirReaders...)
    		} else {
    			if !isValidFile(f) {
    				fmt.Fprintf(cmd.ErrOrStderr(), "Skipping file %v, recognized file extensions are: %v\n", f, fileExtensions)
    				continue
    			}
    			rs, err := gatherFile(f)
    			if err != nil {
    				return nil, err
    			}
    			readers = append(readers, rs)
    		}
    	}
    	return readers, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer_test.go

    		name       string
    		format     Format
    		items      []SecretItem
    		expected   []string
    		unexpected []string
    	}{
    		{
    			name:       "test tabular output with no secret items is equivalent to the header",
    			format:     TABULAR,
    			items:      []SecretItem{},
    			expected:   []string{},
    			unexpected: secretItemColumns,
    		},
    		{
    			name:   "test tabular output with a single secret item",
    			format: TABULAR,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/mock_test.go

    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top