package storage
import "k8s.io/kubernetes/pkg/registry/scheduling/priorityclass/storage"
Index ¶
Types ¶
type REST ¶
type REST struct { *genericregistry.Store }
REST implements a RESTStorage for priority classes against etcd
func NewREST ¶
func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error)
NewREST returns a RESTStorage object that will work against priority classes.
func (*REST) Delete ¶
func (r *REST) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error)
Delete ensures that system priority classes are not deleted.
func (*REST) ShortNames ¶
ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
Source Files ¶
storage.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 14 packages
- Last checked
- 3 hours ago –
Tools for package owners.