cloudfoundry/localdriver

Name: localdriver

Owner: Cloud Foundry

Description: null

Created: 2016-06-14 17:33:44.0

Updated: 2017-03-17 16:02:00.0

Pushed: 2018-02-01 18:03:07.0

Homepage: null

Size: 58

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

a volman driver for local disk

This driver is intended for test purposes only. Watch this space in case that changes…

Usage of localdriver:


aFile string
    the certificate authority public key file to use with ssl authentication
ertFile string
    the public key file to use with ssl authentication
lientCertFile string
    the public key file to use with client ssl authentication
lientKeyFile string
    the private key file to use with client ssl authentication
ebugAddr string
    host:port for serving pprof debugging info
riversPath string
    Path to directory where drivers are installed
nsecureSkipVerify
    whether SSL communication should skip verification of server IP addresses in the certificate
eyFile string
    the private key file to use with ssl authentication
istenAddr string
    host:port to serve volume management functions (default "0.0.0.0:9750")
ogLevel string
    log level: debug, info, error or fatal (default "info")
ountDir string
    Path to directory where fake volumes are created (default "/tmp/volumes")
equireSSL
    whether the fake driver should require ssl-secured communication
ransport string
    Transport protocol to transmit HTTP over (default "tcp")

Specific Options


Create
river.CreateRequest{
Name: "Volume",
Opts: map[string]interface{}{
    "volume_id": "something_different_than_test",
    "passcode" : "someStringPasscode",              <- OPTIONAL
},

Mount
lDriver.Mount(logger, voldriver.MountRequest{
Name: "Volume",
Opts: map[string]interface{}{
    "passcode":"someStringPasscode"                 <- REQUIRED if used in Create
},


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.