Documentation ¶
Index ¶
- type ControllerClient
- func (c *ControllerClient) ControllerGetCapabilities(ctx context.Context, in *csipbv1.ControllerGetCapabilitiesRequest, ...) (*csipbv1.ControllerGetCapabilitiesResponse, error)
- func (c *ControllerClient) ControllerPublishVolume(ctx context.Context, in *csipbv1.ControllerPublishVolumeRequest, ...) (*csipbv1.ControllerPublishVolumeResponse, error)
- func (c *ControllerClient) ControllerUnpublishVolume(ctx context.Context, in *csipbv1.ControllerUnpublishVolumeRequest, ...) (*csipbv1.ControllerUnpublishVolumeResponse, error)
- func (f *ControllerClient) Reset()
- func (c *ControllerClient) ValidateVolumeCapabilities(ctx context.Context, in *csipbv1.ValidateVolumeCapabilitiesRequest, ...) (*csipbv1.ValidateVolumeCapabilitiesResponse, error)
- type IdentityClient
- func (f *IdentityClient) GetPluginCapabilities(ctx context.Context, in *csipbv1.GetPluginCapabilitiesRequest, ...) (*csipbv1.GetPluginCapabilitiesResponse, error)
- func (f *IdentityClient) GetPluginInfo(ctx context.Context, in *csipbv1.GetPluginInfoRequest, opts ...grpc.CallOption) (*csipbv1.GetPluginInfoResponse, error)
- func (f *IdentityClient) Probe(ctx context.Context, in *csipbv1.ProbeRequest, opts ...grpc.CallOption) (*csipbv1.ProbeResponse, error)
- func (f *IdentityClient) Reset()
- type NodeClient
- func (c *NodeClient) NodeGetCapabilities(ctx context.Context, in *csipbv1.NodeGetCapabilitiesRequest, ...) (*csipbv1.NodeGetCapabilitiesResponse, error)
- func (c *NodeClient) NodeGetInfo(ctx context.Context, in *csipbv1.NodeGetInfoRequest, opts ...grpc.CallOption) (*csipbv1.NodeGetInfoResponse, error)
- func (c *NodeClient) NodePublishVolume(ctx context.Context, in *csipbv1.NodePublishVolumeRequest, ...) (*csipbv1.NodePublishVolumeResponse, error)
- func (c *NodeClient) NodeStageVolume(ctx context.Context, in *csipbv1.NodeStageVolumeRequest, ...) (*csipbv1.NodeStageVolumeResponse, error)
- func (c *NodeClient) NodeUnpublishVolume(ctx context.Context, in *csipbv1.NodeUnpublishVolumeRequest, ...) (*csipbv1.NodeUnpublishVolumeResponse, error)
- func (c *NodeClient) NodeUnstageVolume(ctx context.Context, in *csipbv1.NodeUnstageVolumeRequest, ...) (*csipbv1.NodeUnstageVolumeResponse, error)
- func (f *NodeClient) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerClient ¶
type ControllerClient struct { NextErr error NextCapabilitiesResponse *csipbv1.ControllerGetCapabilitiesResponse NextPublishVolumeResponse *csipbv1.ControllerPublishVolumeResponse NextUnpublishVolumeResponse *csipbv1.ControllerUnpublishVolumeResponse }
ControllerClient is a CSI controller client used for testing
func NewControllerClient ¶
func NewControllerClient() *ControllerClient
NewControllerClient returns a new ControllerClient
func (*ControllerClient) ControllerGetCapabilities ¶
func (c *ControllerClient) ControllerGetCapabilities(ctx context.Context, in *csipbv1.ControllerGetCapabilitiesRequest, opts ...grpc.CallOption) (*csipbv1.ControllerGetCapabilitiesResponse, error)
func (*ControllerClient) ControllerPublishVolume ¶
func (c *ControllerClient) ControllerPublishVolume(ctx context.Context, in *csipbv1.ControllerPublishVolumeRequest, opts ...grpc.CallOption) (*csipbv1.ControllerPublishVolumeResponse, error)
func (*ControllerClient) ControllerUnpublishVolume ¶
func (c *ControllerClient) ControllerUnpublishVolume(ctx context.Context, in *csipbv1.ControllerUnpublishVolumeRequest, opts ...grpc.CallOption) (*csipbv1.ControllerUnpublishVolumeResponse, error)
func (*ControllerClient) Reset ¶
func (f *ControllerClient) Reset()
func (*ControllerClient) ValidateVolumeCapabilities ¶
func (c *ControllerClient) ValidateVolumeCapabilities(ctx context.Context, in *csipbv1.ValidateVolumeCapabilitiesRequest, opts ...grpc.CallOption) (*csipbv1.ValidateVolumeCapabilitiesResponse, error)
type IdentityClient ¶
type IdentityClient struct { NextErr error NextPluginInfo *csipbv1.GetPluginInfoResponse NextPluginCapabilities *csipbv1.GetPluginCapabilitiesResponse NextPluginProbe *csipbv1.ProbeResponse }
IdentityClient is a CSI identity client used for testing
func NewIdentityClient ¶
func NewIdentityClient() *IdentityClient
NewIdentityClient returns a new IdentityClient
func (*IdentityClient) GetPluginCapabilities ¶
func (f *IdentityClient) GetPluginCapabilities(ctx context.Context, in *csipbv1.GetPluginCapabilitiesRequest, opts ...grpc.CallOption) (*csipbv1.GetPluginCapabilitiesResponse, error)
GetPluginCapabilities implements csi method
func (*IdentityClient) GetPluginInfo ¶
func (f *IdentityClient) GetPluginInfo(ctx context.Context, in *csipbv1.GetPluginInfoRequest, opts ...grpc.CallOption) (*csipbv1.GetPluginInfoResponse, error)
GetPluginInfo returns plugin info
func (*IdentityClient) Probe ¶
func (f *IdentityClient) Probe(ctx context.Context, in *csipbv1.ProbeRequest, opts ...grpc.CallOption) (*csipbv1.ProbeResponse, error)
Probe implements csi method
func (*IdentityClient) Reset ¶
func (f *IdentityClient) Reset()
type NodeClient ¶
type NodeClient struct { NextErr error NextCapabilitiesResponse *csipbv1.NodeGetCapabilitiesResponse NextGetInfoResponse *csipbv1.NodeGetInfoResponse NextStageVolumeResponse *csipbv1.NodeStageVolumeResponse NextUnstageVolumeResponse *csipbv1.NodeUnstageVolumeResponse NextPublishVolumeResponse *csipbv1.NodePublishVolumeResponse NextUnpublishVolumeResponse *csipbv1.NodeUnpublishVolumeResponse }
NodeClient is a CSI Node client used for testing
func (*NodeClient) NodeGetCapabilities ¶
func (c *NodeClient) NodeGetCapabilities(ctx context.Context, in *csipbv1.NodeGetCapabilitiesRequest, opts ...grpc.CallOption) (*csipbv1.NodeGetCapabilitiesResponse, error)
func (*NodeClient) NodeGetInfo ¶
func (c *NodeClient) NodeGetInfo(ctx context.Context, in *csipbv1.NodeGetInfoRequest, opts ...grpc.CallOption) (*csipbv1.NodeGetInfoResponse, error)
func (*NodeClient) NodePublishVolume ¶
func (c *NodeClient) NodePublishVolume(ctx context.Context, in *csipbv1.NodePublishVolumeRequest, opts ...grpc.CallOption) (*csipbv1.NodePublishVolumeResponse, error)
func (*NodeClient) NodeStageVolume ¶
func (c *NodeClient) NodeStageVolume(ctx context.Context, in *csipbv1.NodeStageVolumeRequest, opts ...grpc.CallOption) (*csipbv1.NodeStageVolumeResponse, error)
func (*NodeClient) NodeUnpublishVolume ¶
func (c *NodeClient) NodeUnpublishVolume(ctx context.Context, in *csipbv1.NodeUnpublishVolumeRequest, opts ...grpc.CallOption) (*csipbv1.NodeUnpublishVolumeResponse, error)
func (*NodeClient) NodeUnstageVolume ¶
func (c *NodeClient) NodeUnstageVolume(ctx context.Context, in *csipbv1.NodeUnstageVolumeRequest, opts ...grpc.CallOption) (*csipbv1.NodeUnstageVolumeResponse, error)
func (*NodeClient) Reset ¶
func (f *NodeClient) Reset()
Click to show internal directories.
Click to hide internal directories.