mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
commit
a41aeeca67
@ -64,7 +64,7 @@ func NewNotFoundErr(kind, name string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RESTStorage is a generic interface for RESTful storage services
|
// RESTStorage is a generic interface for RESTful storage services
|
||||||
// Resources whicih are exported to the RESTful API of apiserver need to implement this interface.
|
// Resources which are exported to the RESTful API of apiserver need to implement this interface.
|
||||||
type RESTStorage interface {
|
type RESTStorage interface {
|
||||||
// List selects resources in the storage which match to the selector.
|
// List selects resources in the storage which match to the selector.
|
||||||
List(labels.Selector) (interface{}, error)
|
List(labels.Selector) (interface{}, error)
|
||||||
|
Loading…
Reference in New Issue
Block a user