- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for NewUpdateAction (0.24 sec)
-
pkg/controller/volume/pvprotection/pv_protection_controller_test.go
}, }, expectedActions: []clienttesting.Action{ // This fails clienttesting.NewUpdateAction(pvVer, "", withProtectionFinalizer(pv())), // This fails too clienttesting.NewUpdateAction(pvVer, "", withProtectionFinalizer(pv())), // This succeeds clienttesting.NewUpdateAction(pvVer, "", withProtectionFinalizer(pv())), }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 7.5K bytes - Viewed (0) -
pkg/controller/bootstrap/bootstrapsigner_test.go
secret := newTokenSecret(testTokenID, "tokenSecret") addSecretSigningUsage(secret, "true") secrets.Informer().GetIndexer().Add(secret) signer.signConfigMap(context.TODO()) expected := []core.Action{ core.NewUpdateAction(schema.GroupVersionResource{Version: "v1", Resource: "configmaps"}, api.NamespacePublic, newConfigMap(testTokenID, "eyJhbGciOiJIUzI1NiIsImtpZCI6ImFiYzEyMyJ9..QSxpUG7Q542CirTI2ECPSZjvBOJURUW5a7XqFpNI958")), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go
}, }, expectedActions: []clienttesting.Action{ // This fails clienttesting.NewUpdateAction(pvcGVR, defaultNS, withProtectionFinalizer(pvc())), // This fails too clienttesting.NewUpdateAction(pvcGVR, defaultNS, withProtectionFinalizer(pvc())), // This succeeds clienttesting.NewUpdateAction(pvcGVR, defaultNS, withProtectionFinalizer(pvc())), }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 15.5K bytes - Viewed (0) -
pkg/controller/serviceaccount/tokens_controller_test.go
ExpectedActions: []core.Action{ core.NewGetAction(schema.GroupVersionResource{Version: "v1", Resource: "secrets"}, metav1.NamespaceDefault, "token-secret-1"), core.NewUpdateAction(schema.GroupVersionResource{Version: "v1", Resource: "secrets"}, metav1.NamespaceDefault, serviceAccountTokenSecret()), }, }, "added token secret without ca data": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 21.5K bytes - Viewed (0) -
pkg/controlplane/controller/legacytokentracking/controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 19 17:33:34 UTC 2023 - 7.6K bytes - Viewed (0) -
security/pkg/k8s/configutil_test.go
}, { name: "existing empty ConfigMap", existingConfigMap: createConfigMap(namespaceName, configMapName, map[string]string{}), expectedActions: []ktesting.Action{ ktesting.NewUpdateAction(gvr, namespaceName, createConfigMap(namespaceName, configMapName, testData)), }, expectedErr: "", }, { name: "existing nop ConfigMap",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go
func (c *FakeExamples) Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (result *v1.Example, err error) { emptyResult := &v1.Example{} obj, err := c.Fake. Invokes(testing.NewUpdateAction(examplesResource, c.ns, example), emptyResult) if obj == nil { return emptyResult, err } return obj.(*v1.Example), err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller_test.go
func (f *fixture) expectUpdateDeploymentStatusAction(d *apps.Deployment) { action := core.NewUpdateAction(schema.GroupVersionResource{Resource: "deployments"}, d.Namespace, d) action.Subresource = "status" f.actions = append(f.actions, action) } func (f *fixture) expectUpdateDeploymentAction(d *apps.Deployment) { action := core.NewUpdateAction(schema.GroupVersionResource{Resource: "deployments"}, d.Namespace, d)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.5K bytes - Viewed (0)