Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cout (0.13 sec)

  1. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	for _, eds := range dump {
    		marshaller = append(marshaller, eds)
    	}
    	out, err := json.MarshalIndent(marshaller, "", "    ")
    	if err != nil {
    		return err
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	_, _ = fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    func (l EndpointServerPools) HTTPS() bool {
    	return l[0].Endpoints.HTTPS()
    }
    
    // NEndpoints - returns number of endpoints
    func (l EndpointServerPools) NEndpoints() (count int) {
    	for _, ep := range l {
    		count += len(ep.Endpoints)
    	}
    	return count
    }
    
    // GridHosts will return all peers, including local.
    // in websocket grid compatible format, The local peer
    // is returned as a separate string.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top