local-node-plugin

module
v0.0.0-...-73b97df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2018 License: Apache-2.0

README

A node service for CSI-compliant local disk

This is Cloud Foundry's implementation of the Container Storage Interface's Node Plugin for local volumes. The CSI Local Volume Release for Cloud Foundry submodules this repository. Functionally, this repository enables the CSI Local Volume Release access to node capabilities and serves to make the release compliant with node RPCs.

This repository is to be operated solely for testing purposes. It should be used as an example for all other Cloud Foundry controller plugins adhering to the Container Storage Interface.

Developer Notes

THIS REPOSITORY IS A WORK IN PROGRESS.

RPC Function Expected Response
NodePublishVolume Mounts the share on the specified target path Empty Result Response
NodeUnpublishVolume Unmounts the share from the specified target path Empty Result Response
GetNodeID No Op Empty Result Response
ProbeNode No Op Empty Result Response
NodeGetCapabilities No Op Empty Result Response

Running Tests

  1. Install go.
  2. export PATH=$GOPATH/bin:$PATH
  3. go get code.cloudfoundry.org/local-node-plugin >/dev/null 2>&1 || true
  4. pushd $GOPATH/code.cloudfoundry.org/local-node-plugin
  5. scripts/go_get_all_dep.sh
  6. ginkgo -r

Directories

Path Synopsis
cmd
nodefakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL