- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 363 for switch (0.15 sec)
-
istioctl/pkg/writer/pilot/status.go
status.extensionconfigStatus, status.istiodID, status.istiodVersion) return err } func formatStatus(s *xdsstatus.ClientConfig_GenericXdsConfig) string { switch s.GetConfigStatus() { case xdsstatus.ConfigStatus_UNKNOWN: return ignoredStatus case xdsstatus.ConfigStatus_NOT_SENT: return "NOT SENT" default: return s.GetConfigStatus().String() } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
} func (s *InformerHandlers) reconcilePod(input any) error { event := input.(controllers.Event) pod := event.Latest().(*corev1.Pod) defer EventTotals.With(eventTypeTag.Value(event.Event.String())).Increment() switch event.Event { case controllers.EventAdd: // pod was added to our cache // we get here in 2 cases: // 1. new pod was created on our node
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
# Retrieve endpoint summary for endpoint with port 9080. istioctl proxy-config endpoint <pod-name[.namespace]> --port 9080 # Retrieve full endpoint with a address (172.17.0.2). istioctl proxy-config endpoint <pod-name[.namespace]> --address 172.17.0.2 -o json # Retrieve full endpoint with a cluster name (outbound|9411||zipkin.istio-system.svc.cluster.local).
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
) func init() { for _, key := range MsgOutputFormatKeys { MsgOutputFormats[key] = true } } // Print output messages in the specified format with color options func Print(ms diag.Messages, format string, colorize bool) (string, error) { switch format { case LogFormat: return printLog(ms, colorize), nil case JSONFormat: return printJSON(ms) case YAMLFormat: return printYAML(ms) default:
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) -
operator/cmd/mesh/manifest_shared_test.go
log.Infof("\nRunning test command using %s\n", cmd) switch cmd { case cmdApply, cmdController: if err := cleanTestCluster(); err != nil { return nil, err } if err := fakeApplyExtraResources(inFile); err != nil { return nil, err } default: } var objs *ObjectSet var err error switch cmd { case cmdGenerate:
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/writer/envoy/clusters/clusters.go
if addr != nil { return addr.Address } if pipe := host.Address.GetPipe(); pipe != nil { return "unix://" + pipe.Path } if internal := host.Address.GetEnvoyInternalAddress(); internal != nil { switch an := internal.GetAddressNameSpecifier().(type) { case *core.EnvoyInternalAddress_ServerListenerName: return fmt.Sprintf("envoy://%s/%s", an.ServerListenerName, internal.EndpointId) } } return "unknown" }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/util/common.go
return c.Err.Error() } // Confirm waits for a user to confirm with the supplied message. func Confirm(msg string, writer io.Writer) bool { for { _, _ = fmt.Fprintf(writer, "%s ", msg) var response string _, err := fmt.Scanln(&response) if err != nil { return false } switch strings.ToUpper(response) { case "Y", "YES": return true case "N", "NO": return false
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.6K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
) (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"): return nil, fmt.Errorf(" You must provide a proxyID in the query string, e.g. [%s]", "edsz?proxyID=istio-ingressgateway")
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/util/handlers/handlers.go
} // SelectorsForObject is a fork of upstream function to add additional Istio type support func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error) { switch t := object.(type) { case *gatewayapi.Gateway: if !gateway.IsManaged(&t.Spec) { return "", nil, fmt.Errorf("gateway is not a managed gateway") } namespace = t.Namespace
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/util/handlers/handlers_test.go
factory.Client = &fake.RESTClient{ GroupVersion: schema.GroupVersion{Group: "", Version: "v1"}, NegotiatedSerializer: ns, Client: fake.CreateHTTPClient(func(req *http.Request) (*http.Response, error) { switch p, m := req.URL.Path, req.Method; { case p == "/namespaces/istio-system/deployments/foo" && m == "GET": body := cmdtesting.ObjBody(codec, attachDeploy("istio-system"))
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)