- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 375 for GVK (0.03 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/codec.go
} return string(bytes) } // UseOrCreateObject returns obj if the canonical ObjectKind returned by the provided typer matches gvk, or // invokes the ObjectCreator to instantiate a new gvk. Returns an error if the typer cannot find the object. func UseOrCreateObject(t ObjectTyper, c ObjectCreater, gvk schema.GroupVersionKind, obj Object) (Object, error) { if obj != nil { kinds, _, err := t.ObjectKinds(obj) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 03:20:30 UTC 2023 - 12.1K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
"invalid-type": { Meta: config.Meta{Name: "invalid-type", Namespace: constants.IstioSystemNamespace, GroupVersionKind: gvk.WasmPlugin}, Spec: &networking.DestinationRule{}, }, "invalid-url": { Meta: config.Meta{Name: "invalid-url", Namespace: constants.IstioSystemNamespace, GroupVersionKind: gvk.WasmPlugin}, Spec: &extensions.WasmPlugin{ Phase: extensions.PluginPhase_AUTHN,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/deployment/services.go
Description: "Checks association between services and pods", Inputs: []config.GroupVersionKind{ gvk.Service, gvk.Deployment, gvk.Namespace, }, } } func (s *ServiceAssociationAnalyzer) Analyze(c analysis.Context) { c.ForEach(gvk.Deployment, func(r *resource.Instance) bool { if !isWaypointDeployment(r) && util.DeploymentInMesh(r, c) { s.analyzeDeploymentPortProtocol(r, c)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 6.6K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/controller_test.go
store.Create(config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.GatewayClass, Name: "gwclass", Namespace: "ns1", }, Spec: gatewayClassSpec, }) if _, err := store.Create(config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.KubernetesGateway, Name: "gwspec", Namespace: "ns1", }, Spec: gatewaySpec,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 16:47:06 UTC 2024 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/roundtrip_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 19:12:59 UTC 2023 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/controller_ref.go
} } return nil } // NewControllerRef creates an OwnerReference pointing to the given owner. func NewControllerRef(owner Object, gvk schema.GroupVersionKind) *OwnerReference { return &OwnerReference{ APIVersion: gvk.GroupVersion().String(), Kind: gvk.Kind, Name: owner.GetName(), UID: owner.GetUID(), BlockOwnerDeletion: ptr.To(true),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 05:14:33 UTC 2024 - 2K bytes - Viewed (0) -
pilot/pkg/config/memory/store_test.go
} func BenchmarkStoreGet(b *testing.B) { s := initStore(b) gvk := config.GroupVersionKind{ Group: "networking.istio.io", Version: "v1alpha3", Kind: "ServiceEntry", } b.ResetTimer() for n := 0; n < b.N; n++ { // get one thousand times for i := 0; i < 1000; i++ { if s.Get(gvk, strconv.Itoa(i), "ns") == nil { b.Fatal("get failed") } } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 26 01:14:27 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/config/schema/resource/schema.go
return s.identifier } func (s *schemaImpl) Kind() string { return s.gvk.Kind } func (s *schemaImpl) Plural() string { return s.plural } func (s *schemaImpl) Group() string { return s.gvk.Group } func (s *schemaImpl) Version() string { return s.gvk.Version } func (s *schemaImpl) GroupVersionAliasKinds() []config.GroupVersionKind {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 9.7K bytes - Viewed (0) -
pilot/pkg/networking/apigen/apigen_test.go
t.Fatal("ADSC: failed running ", err) } _, err = adscConn.WaitVersion(10*time.Second, gvk.ServiceEntry.String(), "") if err != nil { t.Fatal("Failed to receive lds", err) } ses := adscConn.Store.List(gvk.ServiceEntry, "") for _, se := range ses { t.Log(se) } sec := adscConn.Store.List(gvk.EnvoyFilter, "") for _, se := range sec { t.Log(se) } })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/typesetter.go
return fmt.Errorf("missing apiVersion or kind and cannot assign it; %v", err) } for _, gvk := range gvks { if len(gvk.Kind) == 0 { continue } if len(gvk.Version) == 0 || gvk.Version == runtime.APIVersionInternal { continue } obj.GetObjectKind().SetGroupVersionKind(gvk) break } return p.Delegate.PrintObj(obj, w) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 23:00:24 UTC 2019 - 2.6K bytes - Viewed (0)