Chore: Update k8s.io dependencies (#91692)
This commit is contained in:
@@ -89,7 +89,9 @@ func NewRESTOptionsGetterForFile(path string,
|
||||
), nil
|
||||
}
|
||||
|
||||
func (r *RESTOptionsGetter) GetRESTOptions(resource schema.GroupResource) (generic.RESTOptions, error) {
|
||||
// TODO: The RESTOptionsGetter interface added a new example object parameter to help determine the default
|
||||
// storage version for a resource. This is not currently used in this implementation.
|
||||
func (r *RESTOptionsGetter) GetRESTOptions(resource schema.GroupResource, _ runtime.Object) (generic.RESTOptions, error) {
|
||||
storageConfig := &storagebackend.ConfigForResource{
|
||||
Config: storagebackend.Config{
|
||||
Type: "resource",
|
||||
|
||||
@@ -683,6 +683,7 @@ func (s *Storage) GuaranteedUpdate(
|
||||
}
|
||||
|
||||
// Count returns number of different entries under the key (generally being path prefix).
|
||||
// TODO: Implement count.
|
||||
func (s *Storage) Count(key string) (int64, error) {
|
||||
return 0, nil
|
||||
}
|
||||
@@ -704,6 +705,12 @@ func (s *Storage) RequestWatchProgress(_ context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ReadinessCheck checks if the storage is ready for accepting requests.
|
||||
// TODO: Implement readiness check.
|
||||
func (s *Storage) ReadinessCheck() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// validateMinimumResourceVersion returns a 'too large resource' version error when the provided minimumResourceVersion is
|
||||
// greater than the most recent actualRevision available from storage.
|
||||
func (s *Storage) validateMinimumResourceVersion(minimumResourceVersion string, actualRevision uint64) error {
|
||||
|
||||
@@ -13,7 +13,7 @@ require (
|
||||
gocloud.dev v0.25.0
|
||||
google.golang.org/grpc v1.64.0
|
||||
google.golang.org/protobuf v1.34.1
|
||||
k8s.io/apimachinery v0.29.3
|
||||
k8s.io/apimachinery v0.31.0-rc.1
|
||||
)
|
||||
|
||||
require (
|
||||
|
||||
Reference in New Issue
Block a user