Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewUpdateAction (0.14 sec)

  1. 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)
  2. 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