Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 137 for GV (0.02 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/meta/meta.go

    }
    
    func (obj objectAccessor) SetAPIVersion(version string) {
    	gvk := obj.GetObjectKind().GroupVersionKind()
    	gv, err := schema.ParseGroupVersion(version)
    	if err != nil {
    		gv = schema.GroupVersion{Version: version}
    	}
    	gvk.Group, gvk.Version = gv.Group, gv.Version
    	obj.GetObjectKind().SetGroupVersionKind(gvk)
    }
    
    // NewAccessor returns a MetadataAccessor that can retrieve
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 16.5K bytes
    - Viewed (0)
  2. pkg/api/testing/serialization_test.go

    			continue
    		}
    		gvs[gvk.GroupVersion()] = true
    	}
    
    	for _, kind := range commonKinds {
    		for gv := range gvs {
    			gvk := gv.WithKind(kind)
    			obj, err := legacyscheme.Scheme.New(gvk)
    			if err != nil {
    				t.Error(err)
    			}
    			defaults := gv.WithKind("")
    			var got *schema.GroupVersionKind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    	if len(versions) > 0 {
    		priorities = make([]schema.GroupVersionKind, 0, len(m.KindPriority)+len(versions))
    		for _, version := range versions {
    			gv := schema.GroupVersion{
    				Version: version,
    				Group:   gk.Group,
    			}
    			priorities = append(priorities, gv.WithKind(AnyKind))
    		}
    		priorities = append(priorities, m.KindPriority...)
    	}
    
    	remaining := append([]*RESTMapping{}, mappings...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    	"evince": {report.Dot, invokeDot("pdf"), invokeVisualizer("pdf", []string{"evince"}), false, "Visualize graph through evince", reportHelp("evince", false, false)},
    	"gv":     {report.Dot, invokeDot("ps"), invokeVisualizer("ps", []string{"gv --noantialias"}), false, "Visualize graph through gv", reportHelp("gv", false, false)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go

    			break
    		}
    	}
    	// Use the default preferred versions
    	if !hadVersion && len(potentialGVK) == 0 {
    		for _, gv := range m.defaultGroupVersions {
    			if gv.Group != gk.Group {
    				continue
    			}
    			potentialGVK = append(potentialGVK, gk.WithVersion(gv.Version))
    		}
    	}
    
    	if len(potentialGVK) == 0 {
    		return nil, &NoKindMatchError{GroupKind: gk, SearchedVersions: versions}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 01:55:47 UTC 2021
    - 16.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate_test.go

    				}
    			}
    		}
    		out = append(out, info)
    	}
    	return out
    }
    
    func (n *fakeNegotiater) EncoderForVersion(serializer runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder {
    	return n.serializer
    }
    
    func (n *fakeNegotiater) DecoderToVersion(serializer runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder {
    	return n.serializer
    }
    
    var fakeCodec = runtime.NewCodec(runtime.NoopEncoder{}, runtime.NoopDecoder{})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 10 10:53:34 UTC 2019
    - 9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go

    	// we understand both.
    	if err := yaml.Unmarshal(data, &findKind); err != nil {
    		return nil, fmt.Errorf("couldn't get version/kind: %v", err)
    	}
    	gv, err := schema.ParseGroupVersion(findKind.APIVersion)
    	if err != nil {
    		return nil, err
    	}
    	return &schema.GroupVersionKind{Group: gv.Group, Version: gv.Version, Kind: findKind.ObjectKind}, nil
    }
    
    // TestObjectFuzzer can randomly populate all the above objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go

    func (s *Scheme) AddKnownTypes(gv schema.GroupVersion, types ...Object) {
    	s.addObservedVersion(gv)
    	for _, obj := range types {
    		t := reflect.TypeOf(obj)
    		if t.Kind() != reflect.Pointer {
    			panic("All types must be pointers to structs.")
    		}
    		t = t.Elem()
    		s.AddKnownTypeWithName(gv.WithKind(t.Name()), obj)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 25.2K bytes
    - Viewed (0)
  9. docs/language_names.yml

    eo: Esperanto
    es: español
    et: eesti
    eu: euskara
    fa: فارسی
    ff: Fulfulde
    fi: suomi
    fj: Vakaviti
    fo: føroyskt
    fr: français
    fy: Frysk
    ga: Gaeilge
    gd: Gàidhlig
    gl: galego
    gu: ગુજરાતી
    gv: Gaelg
    ha: هَوُسَ
    he: עברית
    hi: हिन्दी
    ho: Hiri Motu
    hr: Hrvatski
    ht: Kreyòl ayisyen
    hu: magyar
    hy: Հայերեն
    hz: Otjiherero
    ia: Interlingua
    id: Bahasa Indonesia
    ie: Interlingue
    ig: Asụsụ Igbo
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 19:42:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go

    		l = "<none>"
    	}
    	return l
    }
    
    func ExtractGroupVersions(l *APIGroupList) []string {
    	var groupVersions []string
    	for _, g := range l.Groups {
    		for _, gv := range g.Versions {
    			groupVersions = append(groupVersions, gv.GroupVersion)
    		}
    	}
    	return groupVersions
    }
    
    // HasAnnotation returns a bool if passed in annotation exists
    func HasAnnotation(obj ObjectMeta, ann string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 15 10:58:36 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top