Documentation
¶
Index ¶
Constants ¶
View Source
const ( GCSFuseAppName = "gke-gcs-fuse-csi" TempDir = "/temp-dir" )
Variables ¶
This section is empty.
Functions ¶
func NewErrorWriter ¶
func NewErrorWriter(errorFile string) stderrWriterInterface
Types ¶
type MountConfig ¶
type MountConfig struct { FileDescriptor int `json:"-"` VolumeName string `json:"volumeName,omitempty"` BucketName string `json:"bucketName,omitempty"` BufferDir string `json:"-"` CacheDir string `json:"-"` ConfigFile string `json:"-"` Options []string `json:"options,omitempty"` ErrWriter stderrWriterInterface `json:"-"` FlagMap map[string]string `json:"-"` ConfigFileFlagMap map[string]string `json:"-"` }
MountConfig contains the information gcsfuse needs.
func NewMountConfig ¶ added in v0.1.14
func NewMountConfig(sp string) *MountConfig
Fetch the following information from a given socket path: 1. Pod volume name 2. The file descriptor 3. GCS bucket name 4. Mount options passing to gcsfuse (passed by the csi mounter).
Click to show internal directories.
Click to hide internal directories.