server

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL