Documentation ¶
Index ¶
- Constants
- func NewHostVolumePublisher(fs afero.Afero, mounter mount.Interface, db metadata.Access, ...) csivolumes.Publisher
- type HostVolumePublisher
- func (publisher *HostVolumePublisher) CanUnpublishVolume(ctx context.Context, volumeInfo *csivolumes.VolumeInfo) (bool, error)
- func (publisher *HostVolumePublisher) PublishVolume(ctx context.Context, volumeCfg *csivolumes.VolumeConfig) (*csi.NodePublishVolumeResponse, error)
- func (publisher *HostVolumePublisher) UnpublishVolume(ctx context.Context, volumeInfo *csivolumes.VolumeInfo) (*csi.NodeUnpublishVolumeResponse, error)
Constants ¶
View Source
const Mode = "host"
Variables ¶
This section is empty.
Functions ¶
func NewHostVolumePublisher ¶
func NewHostVolumePublisher(fs afero.Afero, mounter mount.Interface, db metadata.Access, path metadata.PathResolver) csivolumes.Publisher
Types ¶
type HostVolumePublisher ¶
type HostVolumePublisher struct {
// contains filtered or unexported fields
}
func (*HostVolumePublisher) CanUnpublishVolume ¶
func (publisher *HostVolumePublisher) CanUnpublishVolume(ctx context.Context, volumeInfo *csivolumes.VolumeInfo) (bool, error)
func (*HostVolumePublisher) PublishVolume ¶
func (publisher *HostVolumePublisher) PublishVolume(ctx context.Context, volumeCfg *csivolumes.VolumeConfig) (*csi.NodePublishVolumeResponse, error)
func (*HostVolumePublisher) UnpublishVolume ¶
func (publisher *HostVolumePublisher) UnpublishVolume(ctx context.Context, volumeInfo *csivolumes.VolumeInfo) (*csi.NodeUnpublishVolumeResponse, error)
Click to show internal directories.
Click to hide internal directories.