Documentation
¶
Index ¶
- Variables
- func Readonly(vc *csi.VolumeCapability) bool
- type Block
- type Expand
- type Interface
- type Mount
- type MountResponse
- type Populate
- type Server
- func (ns *Server) NodeExpandVolume(ctx context.Context, request *csi.NodeExpandVolumeRequest) (*csi.NodeExpandVolumeResponse, error)
- func (ns *Server) NodeGetCapabilities(ctx context.Context, request *csi.NodeGetCapabilitiesRequest) (*csi.NodeGetCapabilitiesResponse, error)
- func (ns *Server) NodeGetInfo(ctx context.Context, request *csi.NodeGetInfoRequest) (*csi.NodeGetInfoResponse, error)
- func (ns *Server) NodeGetVolumeStats(ctx context.Context, request *csi.NodeGetVolumeStatsRequest) (*csi.NodeGetVolumeStatsResponse, error)
- func (ns *Server) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error)
- func (ns *Server) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRequest) (*csi.NodeStageVolumeResponse, error)
- func (ns *Server) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublishVolumeRequest) (*csi.NodeUnpublishVolumeResponse, error)
- func (ns *Server) NodeUnstageVolume(ctx context.Context, req *csi.NodeUnstageVolumeRequest) (*csi.NodeUnstageVolumeResponse, error)
- type Validate
- type Volume
- type VolumeResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrVolumeNotReady = errors.New("volume is not yet ready to be setup") ErrNoImplementation = errors.New("no implementation") )
Functions ¶
func Readonly ¶
func Readonly(vc *csi.VolumeCapability) bool
Types ¶
type MountResponse ¶
type Server ¶
type Server struct { DeviceUtils mountmanager.DeviceUtils VolumeStatter mountmanager.Statter // contains filtered or unexported fields }
func (*Server) NodeExpandVolume ¶
func (ns *Server) NodeExpandVolume(ctx context.Context, request *csi.NodeExpandVolumeRequest) (*csi.NodeExpandVolumeResponse, error)
func (*Server) NodeGetCapabilities ¶
func (ns *Server) NodeGetCapabilities(ctx context.Context, request *csi.NodeGetCapabilitiesRequest) (*csi.NodeGetCapabilitiesResponse, error)
func (*Server) NodeGetInfo ¶
func (ns *Server) NodeGetInfo(ctx context.Context, request *csi.NodeGetInfoRequest) (*csi.NodeGetInfoResponse, error)
func (*Server) NodeGetVolumeStats ¶
func (ns *Server) NodeGetVolumeStats(ctx context.Context, request *csi.NodeGetVolumeStatsRequest) (*csi.NodeGetVolumeStatsResponse, error)
func (*Server) NodePublishVolume ¶
func (ns *Server) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error)
func (*Server) NodeStageVolume ¶
func (ns *Server) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRequest) (*csi.NodeStageVolumeResponse, error)
This operation MUST be idempotent https://github.com/container-storage-interface/spec/blob/master/spec.md#nodestagevolume
func (*Server) NodeUnpublishVolume ¶
func (ns *Server) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublishVolumeRequest) (*csi.NodeUnpublishVolumeResponse, error)
func (*Server) NodeUnstageVolume ¶
func (ns *Server) NodeUnstageVolume(ctx context.Context, req *csi.NodeUnstageVolumeRequest) (*csi.NodeUnstageVolumeResponse, error)
https://github.com/container-storage-interface/spec/blob/master/spec.md#nodeunstagevolume
type Validate ¶
type Validate interface {
ValidateCapability(vCap *csi.VolumeCapability) error
}
Click to show internal directories.
Click to hide internal directories.