Documentation ¶
Index ¶
- Constants
- func NewAppVolumePublisher(client client.Client, fs afero.Afero, mounter mount.Interface, ...) 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 ¶
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.