util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// NameSpace for CSI
	NameSpace = "csi"

	// CSIEndPoint environment variable name
	CSIEndPoint = "CSI_ENDPOINT"
)

Variables

This section is empty.

Functions

func GetCSIClientConn

func GetCSIClientConn() (*grpc.ClientConn, error)

GetCSIClientConn from endpoint

func GetCSIEndPoint

func GetCSIEndPoint() (string, error)

GetCSIEndPoint from environment variable

func GetCSIEndPointListener

func GetCSIEndPointListener() (net.Listener, error)

GetCSIEndPointListener from endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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