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