Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Errorf (0.06 sec)

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

    import (
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    )
    
    // GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error) {
    	endpointsDumpAny, err := w.getSection(endpoints)
    	if err != nil {
    		return nil, nil
    	}
    	endpointsDump := &admin.EndpointsConfigDump{}
    	err = endpointsDumpAny.UnmarshalTo(endpointsDump)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 14:14:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/endpoint.go

    				continue
    			}
    		}
    		result = append(result, "unknown")
    	}
    
    	return result
    }
    
    func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter, outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	dump, err := c.retrieveSortedEndpointsSlice(filter)
    	if err != nil {
    		return err
    	}
    	marshaller := make(proto.MessageSlice, 0, len(dump))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top