MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / WithFuseDir

Function WithFuseDir

cmd/options.go:39–43  ·  view source on GitHub ↗

WithFuseDir mounts a directory at the path using FUSE to access Cloud SQL instances.

(dir string)

Source from the content-addressed store, hash-verified

37// WithFuseDir mounts a directory at the path using FUSE to access Cloud SQL
38// instances.
39func WithFuseDir(dir string) Option {
40 return func(c *Command) {
41 c.conf.FUSEDir = dir
42 }
43}
44
45// WithFuseTempDir sets the temp directory where Unix sockets are created with
46// FUSE

Callers 1

TestCommandOptionsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestCommandOptionsFunction · 0.68