storage

package
v1.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(nano v1.Nanokube) v1.Storage

Types

type StorageClientImpl

type StorageClientImpl struct {
	// contains filtered or unexported fields
}

func (*StorageClientImpl) CompactRevision

func (sc *StorageClientImpl) CompactRevision() int64

func (*StorageClientImpl) Create

func (sc *StorageClientImpl) Create(ctx context.Context, key string, obj, out runtime.Object, ttl uint64) error

func (*StorageClientImpl) Delete

func (sc *StorageClientImpl) Delete(ctx context.Context, key string, out runtime.Object, preconditions *storage.Preconditions, validateDeletion storage.ValidateObjectFunc, cachedExistingObject runtime.Object, opts storage.DeleteOptions) error

func (*StorageClientImpl) EnableResourceSizeEstimation

func (sc *StorageClientImpl) EnableResourceSizeEstimation(fn storage.KeysFunc) error

func (*StorageClientImpl) Get

func (sc *StorageClientImpl) Get(ctx context.Context, key string, opts storage.GetOptions, objPtr runtime.Object) error

func (*StorageClientImpl) GetCurrentResourceVersion

func (sc *StorageClientImpl) GetCurrentResourceVersion(ctx context.Context) (uint64, error)

func (*StorageClientImpl) GetList

func (sc *StorageClientImpl) GetList(ctx context.Context, key string, opts storage.ListOptions, listObj runtime.Object) error

func (*StorageClientImpl) GuaranteedUpdate

func (sc *StorageClientImpl) GuaranteedUpdate(ctx context.Context, key string, destination runtime.Object, ignoreNotFound bool, preconditions *storage.Preconditions, tryUpdate storage.UpdateFunc, cachedExistingObject runtime.Object) error

func (*StorageClientImpl) ReadinessCheck

func (sc *StorageClientImpl) ReadinessCheck() error

func (*StorageClientImpl) RequestWatchProgress

func (sc *StorageClientImpl) RequestWatchProgress(ctx context.Context) error

func (*StorageClientImpl) Stats

func (sc *StorageClientImpl) Stats(ctx context.Context) (storage.Stats, error)

func (*StorageClientImpl) Versioner

func (sc *StorageClientImpl) Versioner() storage.Versioner

func (*StorageClientImpl) Watch

type StorageImpl

type StorageImpl struct {
	// contains filtered or unexported fields
}

func (*StorageImpl) GetRESTOptions

func (s *StorageImpl) GetRESTOptions(resource schema.GroupResource, example runtime.Object) (generic.RESTOptions, error)

func (*StorageImpl) Servers

func (s *StorageImpl) Servers() []string

func (*StorageImpl) SetConfig

func (s *StorageImpl) SetConfig(config *server.Config) *server.Config

func (*StorageImpl) Shutdown

func (s *StorageImpl) Shutdown()

func (*StorageImpl) WithResource

func (s *StorageImpl) WithResource(inner kubestorage.Interface, resource schema.GroupResource) v1.StorageClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL