Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for somefunc (0.32 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/policies.go

    func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify)
    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tNAME\tACTION\tSCOPE")
    
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/services.go

    func (c *ConfigWriter) PrintServiceSummary(filter ServiceFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	svcs := slices.Filter(maps.Values(zDump.Services), filter.Verify)
    	slices.SortFunc(svcs, func(a, b *ZtunnelService) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    			if err != nil {
    				return err
    			}
    			if len(gws.Items) == 0 {
    				fmt.Fprintln(writer, "No waypoints found.")
    				return nil
    			}
    			w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0)
    			slices.SortFunc(gws.Items, func(i, j gateway.Gateway) int {
    				if r := cmp.Compare(i.Namespace, j.Namespace); r != 0 {
    					return r
    				}
    				return cmp.Compare(i.Name, j.Name)
    			})
    			filteredGws := make([]gateway.Gateway, 0)
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Mon Apr 15 19:31:36 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag.go

    			tag:      tagName,
    		}
    		rawTags[key] = tagDesc
    	}
    	for k := range rawTags {
    		if k.tag != "" {
    			delete(rawTags, uniqTag{revision: k.revision})
    		}
    	}
    	tags := slices.SortFunc(maps.Values(rawTags), func(a, b tagDescription) int {
    		if r := cmp.Compare(a.Revision, b.Revision); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Tag, b.Tag)
    	})
    
    	switch outputFormat {
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg slices, func Reverse[$0 interface{ ~[]$1 }, $1 interface{}]($0) #58565
    pkg slices, func Sort[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0) #60091
    pkg slices, func SortFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) int) #60091
    pkg slices, func SortStableFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) int) #60091
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  6. doc/go_spec.html

    b := sum[float64](2.0, 3)      // b has value 5.0 of type float64
    c := sum(b, -1)                // c has value 4.0 of type float64
    
    type sumFunc func(x... string) string
    var f sumFunc = sum            // same as var f sumFunc = sum[string]
    f = sum                        // same as f = sum[string]
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top