Documentation
¶
Index ¶
Constants ¶
View Source
const ( PfsFuseIndependentMountProcessCMDName = "/home/paddleflow/mount.sh" ReadOnly = "ro" )
View Source
const ( VolumesKeyMount = "pfs-mount" VolumesKeyDataCache = "data-cache" VolumesKeyMetaCache = "meta-cache" FusePodMountPoint = schema.FusePodMntDir + "/storage" FusePodCachePath = "/home/paddleflow/pfs-cache" DataCacheDir = "/data-cache" MetaCacheDir = "/meta-cache" CacheWorkerBin = "/home/paddleflow/cache-worker" ContainerNameCacheWorker = "cache-worker" ContainerNamePfsMount = "pfs-mount" )
Variables ¶
This section is empty.
Functions ¶
func GeneratePodNameByVolumeID ¶ added in v0.14.3
func PodUnmount ¶
Types ¶
type Info ¶ added in v0.14.3
type Info struct {
CacheConfig model.FSCacheConfig
FS model.FileSystem
FSBase64Str string
TargetPath string
SourcePath string
Cmd string
Args []string
ReadOnly bool
K8sClient utils.Client
PodResource corev1.ResourceRequirements
ServerAddress string
Token string
}
func ConstructMountInfo ¶ added in v0.14.4
func (*Info) CacheWorkerCmd ¶ added in v0.14.3
Click to show internal directories.
Click to hide internal directories.