disk

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CacheBaseDir = "/etc/kubernetes/cache/"
	StorageName  = "local-disk"
)

Variables

This section is empty.

Functions

func ExtractKeyBuildInfo added in v1.2.0

func ExtractKeyBuildInfo(key storage.Key) (*storage.KeyBuildInfo, error)

func NewDiskStorage

func NewDiskStorage(dir string) (storage.Store, error)

NewDiskStorage creates a storage.Store for caching data into local disk

func ObjectResourceVersion added in v1.2.0

func ObjectResourceVersion(obj runtime.Object) (uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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