Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewUpdateAction (0.47 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top