- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 197 for string (0.29 sec)
-
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) -
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) -
operator/cmd/mesh/profile-dump.go
decoded = v } } setflags, err := walk("", "", decoded) if err != nil { return []string{}, err } sort.Strings(setflags) return setflags, nil } func walk(path, separator string, obj any) ([]string, error) { switch v := obj.(type) { case map[string]any: accum := make([]string, 0) for key, vv := range v {
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) -
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) -
cni/pkg/util/executil.go
package util import ( "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...)
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) -
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) -
istioctl/pkg/writer/envoy/configdump/listener.go
fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, listenerType) } else { fmt.Fprintf(w, "%v\t%v\t%v\n", strings.Join(addresses, ","), port, listenerType) } } } return w.Flush() } type filterchain struct { match string destination string } var ( plaintextHTTPALPNs = []string{"http/1.0", "http/1.1", "h2c"}
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) -
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) -
istioctl/pkg/checkinject/checkinject.go
} return nil } type webhookAnalysis struct { Name string Revision string Injected bool Reason string } func analyzeRunningWebhooks(whs []admitv1.MutatingWebhookConfiguration, podLabels, nsLabels map[string]string) []webhookAnalysis { results := make([]webhookAnalysis, 0) for _, mwc := range whs { if !isIstioWebhook(&mwc) { continue
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) -
istioctl/pkg/waypoint/waypoint_test.go
Status: gateway.GatewayStatus{ Conditions: conditions, }, } } func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway { gw := makeGateway(name, namespace, programmed, isWaypoint) if gw.Labels == nil { gw.Labels = make(map[string]string) } gw.Labels[label.IoIstioRev.Name] = rev return gw
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)