Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for sorted (0.25 sec)

  1. bin/diff_yaml.py

        changed = 0
        for k in sorted(common):
            if q0[k] != q1[k]:
                changed += 1
    
        print("## +++ ", args.new)
        print("## --- ", args.orig)
        print("## Added:", len(added))
        print("## Removed:", len(removed))
        print("## Updated:", changed)
        print("## Unchanged:", len(common) - changed)
    
        for k in sorted(added):
            print("+", k)
    
    Python
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug.go

    	Namespace              string
    	InternalDebugAllIstiod bool
    }
    
    func (s *DebugWriter) PrintAll(drs map[string]*discovery.DiscoveryResponse) error {
    	// Gather the statuses before printing so they may be sorted
    	mappedResp := map[string]string{}
    	for id, dr := range drs {
    		for _, resource := range dr.Resources {
    			if s.InternalDebugAllIstiod {
    				mappedResp[id] = string(resource.Value) + "\n"
    			} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/pilot/status.go

    	}
    	return nil
    }
    
    func (s *XdsStatusWriter) setupStatusPrint(drs map[string]*discovery.DiscoveryResponse) (*tabwriter.Writer, []*xdsWriterStatus, error) {
    	// Gather the statuses before printing so they may be sorted
    	var fullStatus []*xdsWriterStatus
    	mappedResp := map[string]string{}
    	w := new(tabwriter.Writer).Init(s.Writer, 0, 8, 5, ' ', 0)
    	_, _ = fmt.Fprintln(w, "NAME\tCLUSTER\tCDS\tLDS\tEDS\tRDS\tECDS\tISTIOD\tVERSION")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate.go

    		}
    		if err := RenderToDir(manifests, mgArgs.OutFilename, args.DryRun, l); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    // orderedManifests generates a list of manifests from the given map sorted by the default object order
    // This allows
    func orderedManifests(mm name.ManifestMap) ([]string, error) {
    	var rawOutput []string
    	var output []string
    	for _, mfs := range mm {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

    option go_package = "k8s.io/api/apidiscovery/v2beta1";
    
    // APIGroupDiscovery holds information about which resources are being served for all version of the API Group.
    // It contains a list of APIVersionDiscovery that holds a list of APIResourceDiscovery types served for a version.
    // Versions are in descending order of preference, with the first version being the preferred entry.
    message APIGroupDiscovery {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. licenses/gopkg.in/yaml.v3/LICENSE

    This project is covered by two different licenses: MIT and Apache.
    
    #### MIT License ####
    
    The following files were ported to Go from C files of libyaml, and thus
    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 28 19:48:10 GMT 2020
    - 2.1K bytes
    - Viewed (0)
  7. licenses/sigs.k8s.io/yaml/goyaml.v3/LICENSE

    This project is covered by two different licenses: MIT and Apache.
    
    #### MIT License ####
    
    The following files were ported to Go from C files of libyaml, and thus
    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 19:53:28 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. istioctl/pkg/util/handlers/handlers.go

    	}
    	// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    	sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    	timeout := 2 * time.Second
    	if getFirstPodFunc == nil {
    		getFirstPodFunc = polymorphichelpers.GetFirstPod
    	}
    	pod, _, err := getFirstPodFunc(client, namespace, selector, timeout, sortBy)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // Non-canonical values will still parse as long as they are well formed,
    // but will be re-emitted in their canonical form. (So always use canonical
    // form, or don't diff.)
    //
    // This format is intended to make it difficult to use these numbers without
    // writing some sort of special handling code in the hopes that that will
    // cause implementors to also use a fixed point implementation.
    //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top