Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) ControllerGetCapabilities(ctx context.Context, req *csi.ControllerGetCapabilitiesRequest) (*csi.ControllerGetCapabilitiesResponse, error)
- func (p *Plugin) ControllerPublishVolume(ctx context.Context, req *csi.ControllerPublishVolumeRequest) (*csi.ControllerPublishVolumeResponse, error)
- func (p *Plugin) ControllerUnpublishVolume(ctx context.Context, req *csi.ControllerUnpublishVolumeRequest) (*csi.ControllerUnpublishVolumeResponse, error)
- func (p *Plugin) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest) (*csi.CreateVolumeResponse, error)
- func (p *Plugin) DeleteVolume(ctx context.Context, req *csi.DeleteVolumeRequest) (*csi.DeleteVolumeResponse, error)
- func (p *Plugin) GetCapacity(ctx context.Context, req *csi.GetCapacityRequest) (*csi.GetCapacityResponse, error)
- func (p *Plugin) GetPluginCapabilities(ctx context.Context, req *csi.GetPluginCapabilitiesRequest) (*csi.GetPluginCapabilitiesResponse, error)
- func (p *Plugin) GetPluginInfo(ctx context.Context, req *csi.GetPluginInfoRequest) (*csi.GetPluginInfoResponse, error)
- func (p *Plugin) ListVolumes(ctx context.Context, req *csi.ListVolumesRequest) (*csi.ListVolumesResponse, error)
- func (p *Plugin) NodeGetCapabilities(ctx context.Context, req *csi.NodeGetCapabilitiesRequest) (*csi.NodeGetCapabilitiesResponse, error)
- func (p *Plugin) NodeGetId(ctx context.Context, req *csi.NodeGetIdRequest) (*csi.NodeGetIdResponse, error)
- func (p *Plugin) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error)
- func (p *Plugin) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRequest) (*csi.NodeStageVolumeResponse, error)
- func (p *Plugin) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublishVolumeRequest) (*csi.NodeUnpublishVolumeResponse, error)
- func (p *Plugin) NodeUnstageVolume(ctx context.Context, req *csi.NodeUnstageVolumeRequest) (*csi.NodeUnstageVolumeResponse, error)
- func (p *Plugin) Probe(ctx context.Context, req *csi.ProbeRequest) (*csi.ProbeResponse, error)
- func (p *Plugin) ValidateVolumeCapabilities(ctx context.Context, req *csi.ValidateVolumeCapabilitiesRequest) (*csi.ValidateVolumeCapabilitiesResponse, error)
Constants ¶
View Source
const (
//PluginName setting
PluginName = "csi-opensdsplugin"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct { }
Plugin define
func (*Plugin) ControllerGetCapabilities ¶
func (p *Plugin) ControllerGetCapabilities( ctx context.Context, req *csi.ControllerGetCapabilitiesRequest) ( *csi.ControllerGetCapabilitiesResponse, error)
ControllerGetCapabilities implementation
func (*Plugin) ControllerPublishVolume ¶
func (p *Plugin) ControllerPublishVolume( ctx context.Context, req *csi.ControllerPublishVolumeRequest) ( *csi.ControllerPublishVolumeResponse, error)
ControllerPublishVolume implementation
func (*Plugin) ControllerUnpublishVolume ¶
func (p *Plugin) ControllerUnpublishVolume( ctx context.Context, req *csi.ControllerUnpublishVolumeRequest) ( *csi.ControllerUnpublishVolumeResponse, error)
ControllerUnpublishVolume implementation
func (*Plugin) CreateVolume ¶
func (p *Plugin) CreateVolume( ctx context.Context, req *csi.CreateVolumeRequest) ( *csi.CreateVolumeResponse, error)
CreateVolume implementation
func (*Plugin) DeleteVolume ¶
func (p *Plugin) DeleteVolume( ctx context.Context, req *csi.DeleteVolumeRequest) ( *csi.DeleteVolumeResponse, error)
DeleteVolume implementation
func (*Plugin) GetCapacity ¶
func (p *Plugin) GetCapacity( ctx context.Context, req *csi.GetCapacityRequest) ( *csi.GetCapacityResponse, error)
GetCapacity implementation
func (*Plugin) GetPluginCapabilities ¶ added in v0.1.1
func (p *Plugin) GetPluginCapabilities( ctx context.Context, req *csi.GetPluginCapabilitiesRequest) ( *csi.GetPluginCapabilitiesResponse, error)
GetPluginInfo implementation
func (*Plugin) GetPluginInfo ¶
func (p *Plugin) GetPluginInfo( ctx context.Context, req *csi.GetPluginInfoRequest) ( *csi.GetPluginInfoResponse, error)
GetPluginInfo implementation
func (*Plugin) ListVolumes ¶
func (p *Plugin) ListVolumes( ctx context.Context, req *csi.ListVolumesRequest) ( *csi.ListVolumesResponse, error)
ListVolumes implementation
func (*Plugin) NodeGetCapabilities ¶
func (p *Plugin) NodeGetCapabilities( ctx context.Context, req *csi.NodeGetCapabilitiesRequest) ( *csi.NodeGetCapabilitiesResponse, error)
NodeGetCapabilities implementation
func (*Plugin) NodeGetId ¶ added in v0.1.1
func (p *Plugin) NodeGetId( ctx context.Context, req *csi.NodeGetIdRequest) ( *csi.NodeGetIdResponse, error)
GetNodeID implementation
func (*Plugin) NodePublishVolume ¶
func (p *Plugin) NodePublishVolume( ctx context.Context, req *csi.NodePublishVolumeRequest) ( *csi.NodePublishVolumeResponse, error)
NodePublishVolume implementation
func (*Plugin) NodeStageVolume ¶ added in v0.1.1
func (p *Plugin) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRequest) (*csi.NodeStageVolumeResponse, error)
func (*Plugin) NodeUnpublishVolume ¶
func (p *Plugin) NodeUnpublishVolume( ctx context.Context, req *csi.NodeUnpublishVolumeRequest) ( *csi.NodeUnpublishVolumeResponse, error)
NodeUnpublishVolume implementation
func (*Plugin) NodeUnstageVolume ¶ added in v0.1.1
func (p *Plugin) NodeUnstageVolume(ctx context.Context, req *csi.NodeUnstageVolumeRequest) (*csi.NodeUnstageVolumeResponse, error)
func (*Plugin) Probe ¶ added in v0.1.1
func (p *Plugin) Probe( ctx context.Context, req *csi.ProbeRequest) ( *csi.ProbeResponse, error)
Probe implementation
func (*Plugin) ValidateVolumeCapabilities ¶
func (p *Plugin) ValidateVolumeCapabilities( ctx context.Context, req *csi.ValidateVolumeCapabilitiesRequest) ( *csi.ValidateVolumeCapabilitiesResponse, error)
ValidateVolumeCapabilities implementation
Click to show internal directories.
Click to hide internal directories.