Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for asString (0.14 sec)

  1. istioctl/pkg/internaldebug/internal-debug.go

    	writer io.Writer,
    	istioNamespace string,
    	xdsResponses map[string]*discovery.DiscoveryResponse,
    ) (map[string]*discovery.DiscoveryResponse, error) {
    	for _, response := range xdsResponses {
    		for _, resource := range response.Resources {
    			eString := string(resource.Value)
    			switch {
    			case strings.Contains(eString, "You must provide a proxyID in the query string"):
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. operator/cmd/mesh/profile-dump.go

    	inFilenames []string
    	// configPath sets the root node for the subtree to display the config for.
    	configPath string
    	// outputFormat controls the format of profile dumps
    	outputFormat string
    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    	manifestsPath string
    }
    
    const (
    	jsonOutput  = "json"
    	yamlOutput  = "yaml"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    	tests := []struct {
    		name string
    		arg  []string
    		want map[string]string
    	}{
    		{name: "empty", arg: []string{""}, want: map[string]string{"": ""}},
    		{name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}},
    		{name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}},
    		{name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
    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. operator/cmd/mesh/operator-common.go

    `
    
    	tv := struct {
    		IstioNamespace    string
    		WatchedNamespaces string
    		Hub               string
    		Tag               string
    		ImagePullSecrets  []string
    		Revision          string
    	}{
    		IstioNamespace:    ocArgs.istioNamespace,
    		WatchedNamespaces: ocArgs.watchedNamespaces,
    		Hub:               ocArgs.hub,
    		Tag:               ocArgs.tag,
    		ImagePullSecrets:  ocArgs.imagePullSecrets,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  5. cni/pkg/plugin/sidecar_redirect.go

    type Redirect struct {
    	targetPort           string
    	redirectMode         string
    	noRedirectUID        string
    	noRedirectGID        string
    	includeIPCidrs       string
    	excludeIPCidrs       string
    	excludeInboundPorts  string
    	excludeOutboundPorts string
    	includeInboundPorts  string
    	includeOutboundPorts string
    	kubevirtInterfaces   string
    	excludeInterfaces    string
    	dnsRedirect          bool
    	dualStack            bool
    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)
  6. cni/pkg/util/executil.go

    	"bytes"
    	"errors"
    	"os/exec"
    	"strings"
    
    	"istio.io/istio/pkg/log"
    )
    
    type ExecList struct {
    	Cmd  string
    	Args []string
    }
    
    func NewExec(cmd string, args []string) *ExecList {
    	return &ExecList{
    		Cmd:  cmd,
    		Args: args,
    	}
    }
    
    func ExecuteOutput(cmd string, args ...string) (string, error) {
    	externalCommand := exec.Command(cmd, args...)
    	stdout := &bytes.Buffer{}
    	stderr := &bytes.Buffer{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. istioctl/pkg/util/handlers/handlers.go

    func InferPodInfo(name, defaultNS string) (string, string) {
    	return inferNsInfo(name, defaultNS)
    }
    
    // inferNsInfo Uses name to infer namespace if the passed name contains namespace information.
    // Otherwise uses the namespace value passed into the function
    func inferNsInfo(name, namespace string) (string, string) {
    	if idx := strings.LastIndex(name, "/"); idx > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    }
    
    type filterchain struct {
    	match       string
    	destination string
    }
    
    var (
    	plaintextHTTPALPNs = []string{"http/1.0", "http/1.1", "h2c"}
    	istioHTTPPlaintext = []string{"istio", "istio-http/1.0", "istio-http/1.1", "istio-h2"}
    	httpTLS            = []string{"http/1.0", "http/1.1", "h2c", "istio-http/1.0", "istio-http/1.1", "istio-h2"}
    	tcpTLS             = []string{"istio-peer-exchange", "istio"}
    
    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/util/formatting/formatter.go

    func printLog(ms diag.Messages, colorize bool) string {
    	logOutput := make([]string, 0, len(ms))
    	for _, m := range ms {
    		logOutput = append(logOutput, render(m, colorize))
    	}
    	return strings.Join(logOutput, "\n")
    }
    
    func printJSON(ms diag.Messages) (string, error) {
    	jsonOutput, err := json.MarshalIndent(ms, "", "\t")
    	return string(jsonOutput), err
    }
    
    func printYAML(ms diag.Messages) (string, error) {
    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)
  10. operator/cmd/mesh/manifest_shared_test.go

    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestCommand(command string, filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	var args string
    	if command == "install" {
    		args = "install"
    	} else {
    		args = "manifest " + command
    	}
    	for _, f := range filenames {
    		args += " -f " + f
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top