- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for createActions (0.31 sec)
-
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.CreateOptions.json
{ "kind": "CreateOptions", "apiVersion": "v1", "dryRun": [ "dryRunValue" ], "fieldManager": "fieldManagerValue", "fieldValidation": "fieldValidationValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 172 bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.CreateOptions.yaml
apiVersion: v1 dryRun: - dryRunValue fieldManager: fieldManagerValue fieldValidation: fieldValidationValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 127 bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.CreateOptions.pb
SataQiu <******@****.***> 1713430345 +0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 85 bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/storage_test.go
// add the namespace to the context as it is required ctx = request.WithNamespace(ctx, serviceAccount.Namespace) _, err := storage.Store.Create(ctx, serviceAccount, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err != nil { t.Fatalf("failed creating test service account: %v", err) } // create an audit context to allow recording audit information ctx = audit.WithAuditContext(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/kube/kclient/clienttest/crd.go
fmd, ok := fmg.(metadatafake.MetadataClient) if !ok { return } obj := &metav1.PartialObjectMetadata{ TypeMeta: crd.TypeMeta, ObjectMeta: crd.ObjectMeta, } if _, err := fmd.CreateFake(obj, metav1.CreateOptions{}); err != nil { if kerrors.IsAlreadyExists(err) { _, err = fmd.UpdateFake(obj, metav1.UpdateOptions{}) if err != nil { t.Fatal(err) } } else { t.Fatal(err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go
_, err := client.CoreV1().ConfigMaps(ns).Create(context.Background(), &v1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: ns, }, Data: data, }, metav1.CreateOptions{}) if err != nil { t.Fatal(err) } return data } func createNamespace(t *testing.T, client kubernetes.Interface, ns string, labels map[string]string) { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 8.1K bytes - Viewed (0) -
pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go
return nil } newNs := &v1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: ns, Namespace: "", }, } _, err := c.client.CoreV1().Namespaces().Create(context.TODO(), newNs, metav1.CreateOptions{}) if err != nil && errors.IsAlreadyExists(err) { err = nil } return err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/kube/inject/watcher_test.go
for i, step := range steps { t.Run(fmt.Sprintf("[%v]", i), func(t *testing.T) { g := NewWithT(t) switch { case step.added != nil: _, err := cms.Create(context.TODO(), step.added, metav1.CreateOptions{}) g.Expect(err).Should(BeNil()) case step.updated != nil: _, err := cms.Update(context.TODO(), step.updated, metav1.UpdateOptions{}) g.Expect(err).Should(BeNil()) case step.deleted != nil:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/controlplane/controller/systemnamespaces/system_namespaces_controller_test.go
controller := NewController(systemNamespaces, clientset, namespaceInformer) clientset.PrependReactor("create", "namespaces", func(action k8stesting.Action) (bool, runtime.Object, error) { create := action.(k8stesting.CreateAction) namespaceInformer.Informer().GetIndexer().Add(create.GetObject()) return true, create.GetObject(), nil }) controller.sync() expectAction(t, clientset.Actions(), test.actions)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go
Examples(namespace string) ExampleInterface } // ExampleInterface has methods to work with Example resources. type ExampleInterface interface { Create(ctx context.Context, example *v1.Example, opts metav1.CreateOptions) (*v1.Example, error) Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (*v1.Example, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 10:52:54 UTC 2024 - 8.6K bytes - Viewed (0)