Documentation ¶
Index ¶
- Constants
- func IsArchiveAvailable(tenantConfig *metadata.TenantConfig) bool
- func NewAppVolumePublisher(fs afero.Afero, mounter mount.Interface, db metadata.Access, ...) csivolumes.Publisher
- type AppVolumePublisher
- func (publisher *AppVolumePublisher) CanUnpublishVolume(_ context.Context, volumeInfo csivolumes.VolumeInfo) (bool, error)
- func (publisher *AppVolumePublisher) PublishVolume(_ context.Context, volumeCfg csivolumes.VolumeConfig) (*csi.NodePublishVolumeResponse, error)
- func (publisher *AppVolumePublisher) UnpublishVolume(_ context.Context, volumeInfo csivolumes.VolumeInfo) (*csi.NodeUnpublishVolumeResponse, error)
Constants ¶
View Source
const Mode = "app"
Variables ¶
This section is empty.
Functions ¶
func IsArchiveAvailable ¶ added in v1.2.0
func IsArchiveAvailable(tenantConfig *metadata.TenantConfig) bool
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(_ context.Context, volumeInfo csivolumes.VolumeInfo) (bool, error)
func (*AppVolumePublisher) PublishVolume ¶
func (publisher *AppVolumePublisher) PublishVolume(_ context.Context, volumeCfg csivolumes.VolumeConfig) (*csi.NodePublishVolumeResponse, error)
func (*AppVolumePublisher) UnpublishVolume ¶
func (publisher *AppVolumePublisher) UnpublishVolume(_ context.Context, volumeInfo csivolumes.VolumeInfo) (*csi.NodeUnpublishVolumeResponse, error)
Click to show internal directories.
Click to hide internal directories.