package
0.4.0
Repository: https://github.com/codedellemc/gocsi.git
Documentation: pkg.go.dev

# Functions

AreVolumeCapabilitiesCompatible returns a flag indicating whether the volume capability array "a" is compatible with "b".
ChainUnaryClient chains one or more unary, client interceptors together into a left-to-right series that can be provided to a new gRPC client.
ChainUnaryServer chains one or more unary, server interceptors together into a left-to-right series that can be provided to a new gRPC server.
CompareVolume compares two csi.Volume objects and returns a negative number if a < b, a positive number if a > b, and zero if a == b.
EqualVolume returns a flag indicating if two csi.Volume objects are equal.
EqualVolumeCapability returns a flag indicating if two csi.VolumeCapability objects are equal.
GetCSIEndpoint returns the network address specified by the environment variable CSI_ENDPOINT.
GetCSIEndpointListener returns the net.Listener for the endpoint specified by the environment variable CSI_ENDPOINT.
IsNilResponse returns a flag indicating whether or not the provided response object is a nil object wrapped inside a non-nil interface.
IsSuccess returns nil if the provided error is an RPC error with an error code that is OK (0) or matches one of the additional, provided successful error codes.
IsVolumeCapabilityCompatible returns a flag indicating whether the volume capability "a" is compatible with the set "b".
NewBlockCapability returns a new *csi.VolumeCapability for a volume that is to be accessed as a raw device.
NewMountCapability returns a new *csi.VolumeCapability for a volume that is to be mounted.
PageVolumes issues one or more ListVolumes requests to retrieve all available volumes, returning them over a Go channel.
ParseMap parses a string into a map.
ParseMapWS parses a string into a map.
ParseMethod parses a gRPC method and returns the CSI version, service to which the method belongs, and the method's name.
ParseProtoAddr parses a Golang network address.
ParseSlice parses a string into a slice.

# Constants

CSIEndpoint is the name of the environment variable that contains the CSI endpoint.

# Variables

ErrParseProtoAddrRequired occurs when an empty string is provided to ParseProtoAddr.