Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Unmarshal (0.16 sec)

  1. istioctl/pkg/writer/envoy/clusters/clusters.go

    	failedOutlierCheck bool
    }
    
    // Prime loads the clusters output into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := clusters.Wrapper{}
    	err := json.Unmarshal(b, &cd)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from Envoy: %v", err)
    	}
    	c.clusters = &cd
    	return nil
    }
    
    func retrieveEndpointAddress(host *admin.HostStatus) string {
    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)
  2. istioctl/pkg/proxyconfig/clusters.go

    	statuses := make(map[string][]cluster.DebugInfo, len(input))
    	for istiodKey, bytes := range input {
    		var parsed []cluster.DebugInfo
    		if err := json.Unmarshal(bytes, &parsed); err != nil {
    			return nil, err
    		}
    		statuses[istiodKey] = parsed
    	}
    	return statuses, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top