type csiClient …
type csiAddr …
type csiDriverName …
type csiDriverClient …
type csiResizeOptions …
var _ …
type nodeV1ClientCreator …
type nodeV1AccessModeMapper …
func newV1NodeClient(addr csiAddr, metricsManager *MetricsManager) (nodeClient csipbv1.NodeClient, closer io.Closer, err error) { … }
func newCsiDriverClient(driverName csiDriverName) (*csiDriverClient, error) { … }
func (c *csiDriverClient) NodeGetInfo(ctx context.Context) (
nodeID string,
maxVolumePerNode int64,
accessibleTopology map[string]string,
err error) { … }
func (c *csiDriverClient) nodeGetInfoV1(ctx context.Context) (
nodeID string,
maxVolumePerNode int64,
accessibleTopology map[string]string,
err error) { … }
func (c *csiDriverClient) NodePublishVolume(
ctx context.Context,
volID string,
readOnly bool,
stagingTargetPath string,
targetPath string,
accessMode api.PersistentVolumeAccessMode,
publishContext map[string]string,
volumeContext map[string]string,
secrets map[string]string,
fsType string,
mountOptions []string,
fsGroup *int64,
) error { … }
func (c *csiDriverClient) NodeExpandVolume(ctx context.Context, opts csiResizeOptions) (resource.Quantity, error) { … }
func (c *csiDriverClient) NodeUnpublishVolume(ctx context.Context, volID string, targetPath string) error { … }
func (c *csiDriverClient) NodeStageVolume(ctx context.Context,
volID string,
publishContext map[string]string,
stagingTargetPath string,
fsType string,
accessMode api.PersistentVolumeAccessMode,
secrets map[string]string,
volumeContext map[string]string,
mountOptions []string,
fsGroup *int64,
) error { … }
func (c *csiDriverClient) NodeUnstageVolume(ctx context.Context, volID, stagingTargetPath string) error { … }
func (c *csiDriverClient) NodeSupportsNodeExpand(ctx context.Context) (bool, error) { … }
func (c *csiDriverClient) NodeSupportsStageUnstage(ctx context.Context) (bool, error) { … }
func (c *csiDriverClient) getNodeV1AccessModeMapper(ctx context.Context) (nodeV1AccessModeMapper, error) { … }
func asCSIAccessModeV1(am api.PersistentVolumeAccessMode) csipbv1.VolumeCapability_AccessMode_Mode { … }
func asSingleNodeMultiWriterCapableCSIAccessModeV1(am api.PersistentVolumeAccessMode) csipbv1.VolumeCapability_AccessMode_Mode { … }
func newGrpcConn(addr csiAddr, metricsManager *MetricsManager) (*grpc.ClientConn, error) { … }
type csiClientGetter …
func (c *csiClientGetter) Get() (csiClient, error) { … }
func (c *csiDriverClient) NodeSupportsVolumeStats(ctx context.Context) (bool, error) { … }
func (c *csiDriverClient) NodeSupportsSingleNodeMultiWriterAccessMode(ctx context.Context) (bool, error) { … }
func (c *csiDriverClient) NodeGetVolumeStats(ctx context.Context, volID string, targetPath string) (*volume.Metrics, error) { … }
func (c *csiDriverClient) nodeSupportsVolumeCondition(ctx context.Context) (bool, error) { … }
func (c *csiDriverClient) NodeSupportsVolumeMountGroup(ctx context.Context) (bool, error) { … }
func (c *csiDriverClient) nodeSupportsCapability(ctx context.Context, capabilityType csipbv1.NodeServiceCapability_RPC_Type) (bool, error) { … }
func (c *csiDriverClient) nodeGetCapabilities(ctx context.Context) ([]*csipbv1.NodeServiceCapability, error) { … }
func isFinalError(err error) bool { … }