- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 138 for createActions (0.39 sec)
-
tests/integration/pilot/mcs/discoverability/discoverability_test.go
c := c g.Go(func() error { _, err := c.Dynamic().Resource(serviceExportGVR).Namespace(echos.Namespace.Name()).Create(context.TODO(), &unstructured.Unstructured{Object: u}, metav1.CreateOptions{}) if err != nil { return fmt.Errorf("failed creating %s with name %s/%s in cluster %s: %v", serviceExportGVR.String(), echos.Namespace, common.ServiceB, c.Name(), err) } return nil })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 17.9K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/admission_test.go
schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Pod"}, namespace, "mypod", schema.GroupVersionResource{Group: "", Version: "v1", Resource: "pods"}, "", admission.Create, &metav1.CreateOptions{}, false, &user.DefaultInfo{Name: "myuser"}, ) b.ResetTimer() for i := 0; i < b.N; i++ { if err := p.Validate(ctx, attrs, nil); err != nil { b.Fatal(err) } } })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 15 01:29:47 UTC 2022 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go
type CustomResourceDefinitionInterface interface { Create(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, opts metav1.CreateOptions) (*v1.CustomResourceDefinition, error) Update(ctx context.Context, customResourceDefinition *v1.CustomResourceDefinition, opts metav1.UpdateOptions) (*v1.CustomResourceDefinition, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 10:52:54 UTC 2024 - 12K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
// Case when typeless Unstructured object is passed typelessInstance := &unstructured.Unstructured{} if _, err := noxuResourceClient.Create(context.TODO(), typelessInstance, metav1.CreateOptions{}); !errors.IsBadRequest(err) { t.Errorf("expected badrequest for submitting empty object, got %#v", err) } // Case when apiVersion and Kind would be set up from GVK, but no other objects are present
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
pkg/registry/core/replicationcontroller/storage/storage_test.go
ctx := genericapirequest.WithNamespace(genericapirequest.NewContext(), rc.Namespace) obj, err := storage.Create(ctx, &rc, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err != nil { t.Errorf("Failed to create controller, %v", err) } newRc := obj.(*api.ReplicationController) return *newRc, nil } func validNewController() *api.ReplicationController {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 16 06:57:01 UTC 2024 - 16.9K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/dns/dns_test.go
ObjectMeta: metav1.ObjectMeta{ Name: kubeadmconstants.CoreDNSConfigMap, Namespace: metav1.NamespaceSystem, }, Data: map[string]string{ "Corefile": corefile, }, }, metav1.CreateOptions{}) if err != nil { t.Fatalf("error creating ConfigMap: %v", err) } _, err = client.AppsV1().Deployments(metav1.NamespaceSystem).Create(context.TODO(), &apps.Deployment{ TypeMeta: metav1.TypeMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 41.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go
type CustomResourceDefinitionInterface interface { Create(ctx context.Context, customResourceDefinition *v1beta1.CustomResourceDefinition, opts v1.CreateOptions) (*v1beta1.CustomResourceDefinition, error) Update(ctx context.Context, customResourceDefinition *v1beta1.CustomResourceDefinition, opts v1.UpdateOptions) (*v1beta1.CustomResourceDefinition, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 10:52:54 UTC 2024 - 12.1K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/admission_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:53:03 UTC 2024 - 27K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_conversion_test.go
"hostname": "example.com", }, "status": map[string]interface{}{}, }, }, convertingObject: &metav1.CreateOptions{}, expectedErrFunc: func(err error) bool { return strings.HasPrefix(err.Error(), "converting (v1.Carp) to (v1.CreateOptions):") }, }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { defer func() { v := recover()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 07 15:19:26 UTC 2020 - 16.4K bytes - Viewed (0)