csiplugin

package module
v0.0.0-...-39d39a9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

README

csiplugin

A volman plugin for CSI(Container Storage Interface) node plugins

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCsiPlugin

func NewCsiPlugin(plugin csi.NodeClient, pluginSpec volman.PluginSpec, grpcShim grpcshim.Grpc, csiShim csishim.Csi, osShim osshim.Os, csiMountRootDir string) volman.Plugin

func WriteSpec

func WriteSpec(logger lager.Logger, pluginsDirectory string, spec CsiPluginSpec) error

Types

type CsiPluginSpec

type CsiPluginSpec struct {
	Name    string `json:name`
	Address string `json:address`
}

func ReadSpec

func ReadSpec(logger lager.Logger, specFile string) (*CsiPluginSpec, error)

Jump to

Keyboard shortcuts

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