- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 284 for string (0.14 sec)
-
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) -
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) -
istioctl/pkg/validate/validate.go
} return nil } // GetTemplateLabels returns spec.template.metadata.labels from Deployment func GetTemplateLabels(u *unstructured.Unstructured) (map[string]string, error) { if spec, ok := u.Object["spec"].(map[string]any); ok { if template, ok := spec["template"].(map[string]any); ok { m, _, err := unstructured.NestedStringMap(template, "metadata", "labels") if err != nil { return nil, err } return m, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
package configdump import ( "encoding/json" "fmt" "sort" "strings" "sigs.k8s.io/yaml" ) // WorkloadFilter is used to pass filter information into workload based config writer print functions type WorkloadFilter struct { Address string Node string Verbose bool Namespace string } // Verify returns true if the passed workload matches the filter fields
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
} func getPodNames(ctx cli.Context, podflag, ns string) ([]string, string, error) { podNames, ns, err := ctx.InferPodsFromTypedResource(podflag, ns) if err != nil { log.Errorf("pods lookup failed") return []string{}, "", err } return podNames, ns, nil } func getPodName(ctx cli.Context, podflag string) (string, string, error) { return getPodNameWithNamespace(ctx, podflag, ctx.Namespace())
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0)