Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ListenersConfigDump (0.18 sec)

  1. istioctl/pkg/util/configdump/listener.go

    		}
    	}
    	return &admin.ListenersConfigDump{DynamicListeners: dal}, nil
    }
    
    // GetListenerConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error) {
    	listenerDumpAny, err := w.getSection(listeners)
    	if err != nil {
    		return nil, err
    	}
    	listenerDump := &admin.ListenersConfigDump{}
    	err = listenerDumpAny.UnmarshalTo(listenerDump)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/analyzer_test.go

    		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) {
    			if _, wanted2 := NewAnalyzer(tt.input); wanted2 != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/util.go

    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"
    	clusters  configTypeURL = "type.googleapis.com/envoy.admin.v3.ClustersConfigDump"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Dec 24 08:16:26 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/analyzer.go

    	"istio.io/istio/istioctl/pkg/util/configdump"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // Analyzer that can be used to check authorization policy.
    type Analyzer struct {
    	listenerDump *envoy_admin.ListenersConfigDump
    }
    
    // NewAnalyzer creates a new analyzer for a given pod based on its envoy config.
    func NewAnalyzer(envoyConfig *configdump.Wrapper) (*Analyzer, error) {
    	listeners, err := envoyConfig.GetDynamicListenerDump(true)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 13 01:59:17 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top