- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 136 for GVK (1.87 sec)
-
cmd/kubeadm/app/util/config/initconfiguration.go
var initcfg *kubeadmapi.InitConfiguration var clustercfg *kubeadmapi.ClusterConfiguration for gvk, fileContent := range gvkmap { // first, check if this GVK is supported and possibly not deprecated if err := validateSupportedVersion(gvk.GroupVersion(), allowDeprecated, allowExperimental); err != nil { return nil, err } // verify the validity of the YAML
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0) -
pilot/pkg/xds/ads_test.go
removeDelegateVirtualService := func(i int) { s.Store().Delete(gvk.VirtualService, fmt.Sprintf("rootvs%d", i), testConfigNamespace, nil) s.Store().Delete(gvk.VirtualService, fmt.Sprintf("delegatevs%d", i), testConfigNamespace, nil) } addDestinationRule := func(i int, host string) { if _, err := s.Store().Create(config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.DestinationRule,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 30.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go
s.addPolicy(t, "global", "istio-system", nil, gvk.AuthorizationPolicy, nil) s.addPolicy(t, "namespace", "default", nil, gvk.AuthorizationPolicy, nil) assert.Equal(t, s.lookup(s.addrXdsName("127.0.0.1"))[0].GetWorkload().GetAuthorizationPolicies(), nil) s.clearEvents() s.addPolicy(t, "selector", "ns1", map[string]string{"app": "a"}, gvk.AuthorizationPolicy, nil) s.assertEvent(t, s.wleXdsName("name1"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/autoregistration/controller.go
"istio.io/istio/pilot/pkg/features" "istio.io/istio/pilot/pkg/model" "istio.io/istio/pilot/pkg/model/status" "istio.io/istio/pilot/pkg/networking/util" "istio.io/istio/pkg/config" "istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/kube/controllers" istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/monitoring" "istio.io/istio/pkg/queue" ) var ( autoRegistrationSuccess = monitoring.NewSum(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 00:00:36 UTC 2024 - 26.4K bytes - Viewed (0) -
pkg/api/testing/serialization_test.go
gvs := map[schema.GroupVersion]bool{} for gvk := range legacyscheme.Scheme.AllKnownTypes() { if gvk.Version == runtime.APIVersionInternal { 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) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 19.3K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client_test.go
expectedCanary = append(expectedCanary, TranslateObject(obj, gvk.ServiceEntry, "")) } // prod revision should receive only global objects and objects with the prod revision if selectedLabels == nil || reflect.DeepEqual(selectedLabels, labels[2]) { expectedProd = append(expectedProd, TranslateObject(obj, gvk.ServiceEntry, "")) } // no revision should receive all objects
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go
sts, err := structuralschema.NewStructural(&tt.schema) if err != nil { t.Fatal(err) } gvk := schema.GroupVersionKind{Group: "example.com", Version: "v1", Kind: "Foo"} tt.obj.SetGroupVersionKind(gvk) tt.old.SetGroupVersionKind(gvk) strategy := customresource.NewStrategy( nil, true, gvk, schemaValidator, nil, sts, nil, nil, nil, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.9K bytes - Viewed (1) -
staging/src/k8s.io/apimachinery/pkg/runtime/testing/types.go
if ok { return gv.WithKind(kind) } return schema.GroupVersionKind{} } func (u *Unstructured) SetGroupVersionKind(gvk schema.GroupVersionKind) { if u.Object == nil { u.Object = make(map[string]interface{}) } u.Object["apiVersion"] = gvk.GroupVersion().String() u.Object["kind"] = gvk.Kind
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 28 03:26:35 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/meta.go
} func (obj objectAccessor) SetKind(kind string) { gvk := obj.GetObjectKind().GroupVersionKind() gvk.Kind = kind obj.GetObjectKind().SetGroupVersionKind(gvk) } func (obj objectAccessor) GetAPIVersion() string { return obj.GetObjectKind().GroupVersionKind().GroupVersion().String() } func (obj objectAccessor) SetAPIVersion(version string) { gvk := obj.GetObjectKind().GroupVersionKind()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 16.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/protobuf.go
// not fully qualified with kind/version/group, the type of the into will be used to alter the returned gvk. On success or most // errors, the method will return the calculated schema kind. func (s *Serializer) Decode(originalData []byte, gvk *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { prefixLen := len(s.prefix) switch {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 13:38:23 UTC 2022 - 17.8K bytes - Viewed (0)