Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for GVK (0.03 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    				}
    			},
    		},
    		{
    			name:        "error determining gvk",
    			metaFactory: stubMetaFactory{err: errors.New("test")},
    			assertOnError: func(t *testing.T, err error) {
    				if err == nil || err.Error() != "test" {
    					t.Errorf("expected error \"test\", got: %v", err)
    				}
    			},
    		},
    		{
    			name:        "typer does not recognize into",
    			gvk:         &schema.GroupVersionKind{Group: "x", Version: "y", Kind: "z"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. pkg/api/testing/unstructured_test.go

    	}
    
    	var buf bytes.Buffer
    	for gvk := range legacyscheme.Scheme.AllKnownTypes() {
    		if nonRoundTrippableTypes.Has(gvk.Kind) {
    			continue
    		}
    		if gvk.Version == runtime.APIVersionInternal {
    			continue
    		}
    
    		subtestName := fmt.Sprintf("%s.%s/%s", gvk.Version, gvk.Group, gvk.Kind)
    		if gvk.Group == "" {
    			subtestName = fmt.Sprintf("%s/%s", gvk.Version, gvk.Kind)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/spiffe"
    	"istio.io/istio/pkg/test"
    )
    
    var (
    	GlobalTime = time.Now()
    	httpNone   = &config.Config{
    		Meta: config.Meta{
    			GroupVersionKind:  gvk.ServiceEntry,
    			Name:              "httpNone",
    			Namespace:         "httpNone",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/ep_filters_test.go

    	Config         config.Config
    	Configs        []config.Config
    	IsMtlsDisabled bool
    	SubsetName     string
    }{
    	gvk.PeerAuthentication.String(): {
    		"mtls-off-ineffective": {
    			Config: config.Config{
    				Meta: config.Meta{
    					GroupVersionKind: gvk.PeerAuthentication,
    					Name:             "mtls-partial",
    					Namespace:        "istio-system",
    				},
    				Spec: &security.PeerAuthentication{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/types.go

    	Node                    GVK = "Node"
    	PersistentVolume        GVK = "PersistentVolume"
    	PersistentVolumeClaim   GVK = "PersistentVolumeClaim"
    	CSINode                 GVK = "storage.k8s.io/CSINode"
    	CSIDriver               GVK = "storage.k8s.io/CSIDriver"
    	CSIStorageCapacity      GVK = "storage.k8s.io/CSIStorageCapacity"
    	StorageClass            GVK = "storage.k8s.io/StorageClass"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  6. pkg/config/model.go

    	if g.Group == "" {
    		return g.Version
    	}
    	return g.Group + "/" + g.Version
    }
    
    func FromKubernetesGVK(gvk schema.GroupVersionKind) GroupVersionKind {
    	return GroupVersionKind{
    		Group:   gvk.Group,
    		Version: gvk.Version,
    		Kind:    gvk.Kind,
    	}
    }
    
    // Kubernetes returns the same GVK, using the Kubernetes object type
    func (g GroupVersionKind) Kubernetes() schema.GroupVersionKind {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_utils.go

    	}
    	return policy
    }
    
    // matchesRef returns true when the object matches the owner reference, that is the name and GVK are the same.
    func matchesRef(ref *metav1.OwnerReference, obj metav1.Object, gvk schema.GroupVersionKind) bool {
    	return gvk.GroupVersion().String() == ref.APIVersion && gvk.Kind == ref.Kind && ref.Name == obj.GetName()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/conversion.go

    // See kube.ConvertService for the conversion from K8S to internal Service.
    func ServiceToServiceEntry(svc *model.Service, proxy *model.Proxy) *config.Config {
    	gvk := gvk.ServiceEntry
    	se := &networking.ServiceEntry{
    		// Host is fully qualified: name, namespace, domainSuffix
    		Hosts: []string{string(svc.Hostname)},
    
    		// Internal Service and K8S Service have a single Address.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/accesslog_test.go

    	"istio.io/istio/pilot/test/xdstest"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/collections"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/wellknown"
    )
    
    func TestListenerAccessLog(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. pilot/test/xds/fake.go

    	}
    	for _, schema := range schemas {
    		// This resource type was handled in external/servicediscovery.go, no need to rehandle here.
    		if schema.GroupVersionKind() == gvk.ServiceEntry {
    			continue
    		}
    		if schema.GroupVersionKind() == gvk.WorkloadEntry {
    			continue
    		}
    
    		cg.Store().RegisterEventHandler(schema.GroupVersionKind(), configHandler)
    	}
    	for _, registry := range registries {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top