Documentation
¶
Index ¶
Constants ¶
View Source
const GCSFuseAppName = "gke-gcs-fuse-csi"
Variables ¶
This section is empty.
Functions ¶
func NewErrorWriter ¶
Types ¶
type Interface ¶
type Interface interface { // Mount mounts bucket using a file descriptor passed via a unix domain socket. Mount(mc *MountConfig) (*exec.Cmd, error) // GetCmds returns a list of gcsfuse process cmds. GetCmds() []*exec.Cmd }
Interface defines the set of methods to allow for gcsfuse mount operations on a system.
type MountConfig ¶
type MountConfig struct { FileDescriptor int `json:"-"` VolumeName string `json:"volume_name,omitempty"` BucketName string `json:"bucket_name,omitempty"` TempDir string `json:"-"` Options []string `json:"options,omitempty"` ErrWriter io.Writer `json:"-"` }
MountConfig contains the information gcsfuse needs.
Click to show internal directories.
Click to hide internal directories.