mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 10:53:34 +00:00
rebase: update kubernetes to latest
updating the kubernetes release to the latest in main go.mod Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
63c4c05b35
commit
5a66991bb3
10
vendor/k8s.io/apiserver/pkg/registry/rest/rest.go
generated
vendored
10
vendor/k8s.io/apiserver/pkg/registry/rest/rest.go
generated
vendored
@ -52,6 +52,8 @@ import (
|
||||
// Storage is a generic interface for RESTful storage services.
|
||||
// Resources which are exported to the RESTful API of apiserver need to implement this interface. It is expected
|
||||
// that objects may implement any of the below interfaces.
|
||||
//
|
||||
// Consider using StorageWithReadiness whenever possible.
|
||||
type Storage interface {
|
||||
// New returns an empty object that can be used with Create and Update after request data has been put into it.
|
||||
// This object must be a pointer type for use with Codec.DecodeInto([]byte, runtime.Object)
|
||||
@ -63,6 +65,14 @@ type Storage interface {
|
||||
Destroy()
|
||||
}
|
||||
|
||||
// StorageWithReadiness extends Storage interface with the readiness check.
|
||||
type StorageWithReadiness interface {
|
||||
Storage
|
||||
|
||||
// ReadinessCheck allows for checking storage readiness.
|
||||
ReadinessCheck() error
|
||||
}
|
||||
|
||||
// Scoper indicates what scope the resource is at. It must be specified.
|
||||
// It is usually provided automatically based on your strategy.
|
||||
type Scoper interface {
|
||||
|
Reference in New Issue
Block a user