localvolume

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotFoundErr = errors.New("not found available mount point")
)

Functions

func DiscoverMountPoint

func DiscoverMountPoint() (string, error)

DiscoverMountPoint auto discover localvolume's mountInfo How to parse mountInfo please refer to 'http://man7.org/linux/man-pages/man5/proc.5.html'

func NewLocalVolumeProvisioner

func NewLocalVolumeProvisioner(lvpConfig *Config, csConfig *rest.Config, client kubernetes.Interface) *localVolumeProvisioner

Types

type Config

type Config struct {
	ModeEdge   bool
	MatchLabel string
	NodeName   string
	Namespace  string
}

Jump to

Keyboard shortcuts

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