- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for type_url (0.06 sec)
-
istioctl/pkg/authz/analyzer_test.go
name string input *configdump.Wrapper wantErr error }{ { name: "Test1", input: &configdump.Wrapper{ ConfigDump: &envoy_admin.ConfigDump{ Configs: []*anypb.Any{ { TypeUrl: "type.googleapis.com/envoy.admin.v3.ListenersConfigDump", }, }, }, }, wantErr: nil, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status_test.go
GenericXdsConfigs: []*status.ClientConfig_GenericXdsConfig{ { TypeUrl: v3.ClusterType, ConfigStatus: config.cdsSyncStatus, }, { TypeUrl: v3.ListenerType, ConfigStatus: config.ldsSyncStatus, }, { TypeUrl: v3.RouteType, ConfigStatus: config.rdsSyncStatus, }, { TypeUrl: v3.EndpointType, ConfigStatus: config.edsSyncStatus, }, {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 6.5K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
// nolint: staticcheck for _, config := range clientConfig.GetXdsConfig() { var typeURL string switch config.PerXdsConfig.(type) { case *xdsstatus.PerXdsConfig_ListenerConfig: typeURL = xdsresource.ListenerType case *xdsstatus.PerXdsConfig_ClusterConfig: typeURL = xdsresource.ClusterType case *xdsstatus.PerXdsConfig_RouteConfig: typeURL = xdsresource.RouteType case *xdsstatus.PerXdsConfig_EndpointConfig:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 21 22:47:20 UTC 2024 - 6.5K bytes - Viewed (0) -
istioctl/pkg/util/configdump/util.go
ecds configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump" ) // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) { var dumpAny *anypb.Any for _, conf := range w.Configs { if conf.TypeUrl == string(sectionTypeURL) { dumpAny = conf } } if dumpAny == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Dec 24 08:16:26 UTC 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
type nonstrictResolver struct{} var envoyResolver nonstrictResolver func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) { // See https://github.com/golang/protobuf/issues/747#issuecomment-437463120 mname := typeURL if slash := strings.LastIndex(typeURL, "/"); slash >= 0 { mname = mname[slash+1:] } mt, err := protoregistry.GlobalTypes.FindMessageByName(protoreflect.FullName(mname))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 3.7K bytes - Viewed (0) -
istioctl/pkg/version/version.go
return func() (*istioVersion.MeshInfo, error) { xdsRequest := discovery.DiscoveryRequest{ TypeUrl: xds.TypeDebugSyncronization, } kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer.go
for _, l := range a.listenerDump.DynamicListeners { listenerTyped := &listener.Listener{} // 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)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 13 01:59:17 UTC 2022 - 2.1K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
} if err != nil { return fmt.Errorf("could not contact sidecar: %w", err) } xdsRequest := discovery.DiscoveryRequest{ ResourceNames: []string{fmt.Sprintf("%s.%s", podName, ns)}, TypeUrl: pilotxds.TypeDebugConfigDump, } xdsResponses, err := multixds.FirstRequestAndProcessXds(&xdsRequest, centralOpts, ctx.IstioNamespace(), "", "", kubeClient, multiXdsOpts) if err != nil { return err
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
var namespace, serviceAccount string xdsRequest := discovery.DiscoveryRequest{ ResourceNames: []string{"list"}, Node: &core.Node{ Id: "debug~0.0.0.0~istioctl~cluster.local", }, TypeUrl: v3.DebugType, } xdsResponses, respErr := multixds.AllRequestAndProcessXds(&xdsRequest, centralOpts, istioNamespace, namespace, serviceAccount, kubeClient, multixds.DefaultOptions) if respErr != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
for _, c := range clusterDump.DynamicActiveClusters { if c.Cluster != nil { clusterTyped := &cluster.Cluster{} // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. c.Cluster.TypeUrl = v3.ClusterType err = c.Cluster.UnmarshalTo(clusterTyped) if err != nil { return nil, err } clusters = append(clusters, clusterTyped) } } for _, c := range clusterDump.StaticClusters {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0)