Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for CompleteWithOptions (0.28 sec)

  1. pkg/registry/certificates/certificates/storage/storage.go

    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: csrregistry.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, nil, err
    	}
    
    	// Subresources use the same store and creation strategy, which only
    	// allows empty subs. Updates to an existing subresource are handled by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. pkg/registry/batch/job/storage/storage.go

    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: job.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = job.StatusStrategy
    	statusStore.ResetFieldsStrategy = job.StatusStrategy
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  3. pkg/registry/core/node/storage/storage.go

    	}
    	options := &generic.StoreOptions{
    		RESTOptions: optsGetter,
    		AttrFunc:    node.GetAttrs,
    	}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = node.StatusStrategy
    	statusStore.ResetFieldsStrategy = node.StatusStrategy
    
    	// Set up REST handlers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go

    		TableConvertor: rest.NewDefaultTableConvertor(apiextensions.Resource("customresourcedefinitions")),
    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, err
    	}
    	return &REST{store}, nil
    }
    
    // Implement ShortNamesProvider
    var _ rest.ShortNamesProvider = &REST{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. pkg/registry/core/replicationcontroller/storage/storage.go

    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: replicationcontroller.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = replicationcontroller.StatusStrategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. pkg/registry/core/namespace/storage/storage.go

    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: namespace.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = namespace.StatusStrategy
    	statusStore.ResetFieldsStrategy = namespace.StatusStrategy
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  7. pkg/registry/apps/replicaset/storage/storage.go

    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: replicaset.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = replicaset.StatusStrategy
    	statusStore.ResetFieldsStrategy = replicaset.StatusStrategy
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go

    		DeleteStrategy:      strategy,
    		ResetFieldsStrategy: strategy,
    
    		TableConvertor: tableConvertor,
    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter, AttrFunc: strategy.GetAttrs}
    	if err := store.CompleteWithOptions(options); err != nil {
    		panic(err) // TODO: Propagate error up
    	}
    	storage.CustomResource = &REST{store, categories}
    
    	if strategy.status != nil {
    		statusStore := *store
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/storage/storage.go

    		RESTOptions: optsGetter,
    		AttrFunc:    registrypod.GetAttrs,
    		TriggerFunc: map[string]storage.IndexerFunc{"spec.nodeName": registrypod.NodeNameTriggerFunc},
    		Indexers:    registrypod.Indexers(),
    	}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return PodStorage{}, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = registrypod.StatusStrategy
    	statusStore.ResetFieldsStrategy = registrypod.StatusStrategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. pkg/registry/apps/statefulset/storage/storage.go

    		TableConvertor: printerstorage.TableConvertor{TableGenerator: printers.NewTableGenerator().With(printersinternal.AddHandlers)},
    	}
    	options := &generic.StoreOptions{RESTOptions: optsGetter}
    	if err := store.CompleteWithOptions(options); err != nil {
    		return nil, nil, err
    	}
    
    	statusStore := *store
    	statusStore.UpdateStrategy = statefulset.StatusStrategy
    	statusStore.ResetFieldsStrategy = statefulset.StatusStrategy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top