Documentation ¶
Index ¶
- Constants
- type ShareManager
- func (m *ShareManager) GetVolume() volume.Volume
- func (m *ShareManager) MountVolume(vol volume.Volume, devicePath, mountPath string) error
- func (m *ShareManager) NewKubeClient() (*kubernetes.Clientset, error)
- func (m *ShareManager) Run() error
- func (m *ShareManager) SetShareExported(val bool)
- func (m *ShareManager) ShareIsExported() bool
- func (m *ShareManager) Shutdown()
Constants ¶
View Source
const ( UnhealthyErr = "UNHEALTHY: volume with mount path %v is unhealthy" ReadOnlyErr = "READONLY: volume with mount path %v is read only" )
View Source
const EnvKeyFastFailover = "FAST_FAILOVER"
View Source
const EnvKeyGracePeriod = "GRACE_PERIOD"
View Source
const EnvKeyLeaseLifetime = "LEASE_LIFETIME"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShareManager ¶
type ShareManager struct {
// contains filtered or unexported fields
}
func NewShareManager ¶
func NewShareManager(logger logrus.FieldLogger, volume volume.Volume) (*ShareManager, error)
func (*ShareManager) GetVolume ¶ added in v1.5.3
func (m *ShareManager) GetVolume() volume.Volume
func (*ShareManager) MountVolume ¶ added in v1.5.3
func (m *ShareManager) MountVolume(vol volume.Volume, devicePath, mountPath string) error
func (*ShareManager) NewKubeClient ¶ added in v1.7.0
func (m *ShareManager) NewKubeClient() (*kubernetes.Clientset, error)
func (*ShareManager) Run ¶
func (m *ShareManager) Run() error
func (*ShareManager) SetShareExported ¶ added in v1.5.3
func (m *ShareManager) SetShareExported(val bool)
func (*ShareManager) ShareIsExported ¶ added in v1.5.3
func (m *ShareManager) ShareIsExported() bool
func (*ShareManager) Shutdown ¶
func (m *ShareManager) Shutdown()
Click to show internal directories.
Click to hide internal directories.