- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for listeners (0.24 sec)
-
istioctl/pkg/writer/envoy/configdump/listener.go
if l.Listener != nil { listenerTyped := &listener.Listener{} // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. l.Listener.TypeUrl = v3.ListenerType err = l.Listener.UnmarshalTo(listenerTyped) if err != nil { return nil, fmt.Errorf("unmarshal listener: %v", err) } listeners = append(listeners, listenerTyped) } } if len(listeners) == 0 {
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/authz/listener.go
return "", "" } return fmt.Sprintf("%s.%s", parts[2], parts[1]), parts[3] } // Print prints the AuthorizationPolicy in the listener. func Print(writer io.Writer, listeners []*listener.Listener) { parsedListeners := parse(listeners) if parsedListeners == nil { return } actionToPolicy := map[rbacpb.RBAC_Action]map[string]struct{}{} policyToRule := map[string]map[string]struct{}{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/util/configdump/listener.go
package configdump import ( "sort" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3" v3 "istio.io/istio/pilot/pkg/xds/v3" ) // GetDynamicListenerDump retrieves a listener dump with just dynamic active listeners in it func (w *Wrapper) GetDynamicListenerDump(stripVersions bool) (*admin.ListenersConfigDump, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 2.5K bytes - Viewed (1) -
istioctl/pkg/writer/compare/listener.go
} diff := difflib.UnifiedDiff{ FromFile: "Istiod Listeners", A: difflib.SplitLines(istiodBytes.String()), ToFile: "Envoy Listeners", B: difflib.SplitLines(envoyBytes.String()), Context: c.context, } text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err } if text != "" { fmt.Fprintln(c.w, "Listeners Don't Match") fmt.Fprintln(c.w, text) } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 20:29:08 GMT 2024 - 2K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer.go
// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. l.ActiveState.Listener.TypeUrl = v3.ListenerType err := l.ActiveState.Listener.UnmarshalTo(listenerTyped) if err != nil { return } listeners = append(listeners, listenerTyped) } Print(writer, listeners)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jul 13 01:59:17 GMT 2022 - 2.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
istioctl proxy-config listeners <pod-name[.namespace]> --port 9080 # Retrieve full listener dump for HTTP listeners with a wildcard address (0.0.0.0). istioctl proxy-config listeners <pod-name[.namespace]> --type HTTP --address 0.0.0.0 -o json # Retrieve listener summary without using Kubernetes API ssh <user@hostname> 'curl localhost:15000/config_dump' > envoy-config.json
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/proto/messageslice.go
package proto import ( "bytes" "google.golang.org/protobuf/proto" "istio.io/istio/pkg/util/protomarshal" ) // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly type MessageSlice []proto.Message // MarshalJSON handles marshaling of slices of proto messages func (pSlice MessageSlice) MarshalJSON() ([]byte, error) { buffer := bytes.NewBufferString("[")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 19 21:53:59 GMT 2021 - 1.3K bytes - Viewed (0) -
istioctl/pkg/util/configdump/util.go
) type configTypeURL string // See https://www.envoyproxy.io/docs/envoy/latest/api-v3/admin/v3/config_dump.proto const ( bootstrap configTypeURL = "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump" listeners configTypeURL = "type.googleapis.com/envoy.admin.v3.ListenersConfigDump" endpoints configTypeURL = "type.googleapis.com/envoy.admin.v3.EndpointsConfigDump"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
wantException: true, // "istioctl proxy-config clusters invalid" should fail }, { // listeners invalid args: strings.Split("listeners invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config listeners invalid" should fail }, { // logging empty args: strings.Split("log", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
} if !find { return false } } if wf.Node != "" && !strings.EqualFold(workload.Node, wf.Node) { return false } return true } // PrintWorkloadSummary prints a summary of the relevant listeners in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintWorkloadSummary(filter WorkloadFilter) error { w := c.tabwriter() zDump := c.ztunnelDump
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0)