- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for SetGroupVersionKind (0.17 sec)
-
common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto
// like this: // // type MyAwesomeAPIObject struct { // runtime.TypeMeta `json:",inline"` // ... // other fields // } // // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind // // TypeMeta is provided here for convenience. You may use it directly from this package or define
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/generated.proto
// like this: // // type MyAwesomeAPIObject struct { // runtime.TypeMeta `json:",inline"` // ... // other fields // } // // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind // // TypeMeta is provided here for convenience. You may use it directly from this package or define
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/types.go
// like this: // // type MyAwesomeAPIObject struct { // runtime.TypeMeta `json:",inline"` // ... // other fields // } // // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind // // TypeMeta is provided here for convenience. You may use it directly from this package or define
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 19:12:58 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/defaults.go
args, err := scheme.New(gvk) if err != nil { // This plugin is out-of-tree or doesn't require configuration. continue } scheme.Default(args) args.GetObjectKind().SetGroupVersionKind(gvk) prof.PluginConfig = append(prof.PluginConfig, configv1.PluginConfig{ Name: name, Args: runtime.RawExtension{Object: args}, }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 7.2K bytes - Viewed (0) -
pkg/webhooks/validation/server/server_test.go
t.Helper() var key string if validConfig { key = "key" } name := fmt.Sprintf("%s%d", "mock-config", i) r := collections.Mock var un unstructured.Unstructured un.SetGroupVersionKind(r.GroupVersionKind().Kubernetes()) un.SetName(name) un.SetLabels(map[string]string{"key": name}) un.SetAnnotations(map[string]string{"annotationKey": name}) un.Object["spec"] = &config.MockConfig{ Key: key,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 9.6K bytes - Viewed (0)