Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Headers (0.23 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/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)
  3. 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)
  4. 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)
  5. istioctl/pkg/tag/generate.go

    	if err := client.ApplyYAMLContents(ns, manifests); err != nil {
    		return fmt.Errorf("failed to apply tag manifests to cluster: %v", err)
    	}
    	return nil
    }
    
    // generateValidatingWebhook renders a validating webhook configuration from the given tagWebhookConfig.
    func generateValidatingWebhook(config *tagWebhookConfig, opts *GenerateOptions) (string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top