package
0.0.0-20231220050453-d55b166fa79e
Repository: https://github.com/tencentcloud/kubernetes-csi-tencentcloud.git
Documentation: pkg.go.dev

# Functions

BytesToGiB conversts Bytes to GiB.
No description provided by the author
GetK8sNamespace returns pod namespace.
No description provided by the author
No description provided by the author
GiBToBytes converts GiB to Bytes.
No description provided by the author
IsCorruptedMnt return true if err is about corrupted mount point.
No description provided by the author
NewCachePersister returns K8sCachePersister.
NewIdempotent instanciates a Idempotent structures.
NewK8sClient create kubernetes client.
NewVolumeLocks returns new VolumeLocks.
PathExists TODO: clean this up to use pkg/util/file/FileExists PathExists returns true if the specified path exists.
RoundUpBytes rounds up the volume size in bytes upto multiplications of GiB in the unit of Bytes.
RoundUpGiB rounds up the volume size in bytes upto multiplications of GiB in the unit of GiB.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CacheEntryNotFound is an error type for "Not Found" cache errors.
No description provided by the author
Idempotent is a struct used to manage in flight requests.
K8sCMCache to store metadata.
VolumeLocks implements a map with atomic operations.

# Interfaces

CachePersister interface implemented for store.
RequestItem is the interface required to manage in flight requests.

# Type aliases

ForAllFunc is a unary predicate for visiting all cache entries matching the `pattern' in CachePersister's ForAll function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author