plugin

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageVersion = "v0.2.3"
	//"v0.2.1"
	Image                  = "bfenski/volume-exposer:" + ImageVersion
	PrivilegedImage        = "bfenski/volume-exposer-privileged:" + ImageVersion
	DefaultUserGroup int64 = 2137
	DefaultSSHPort   int   = 2137
	ProxySSHPort     int   = 6666

	CPURequest              = "10m"
	MemoryRequest           = "50Mi"
	MemoryLimit             = "100Mi"
	EphemeralStorageRequest = "1Mi"
	EphemeralStorageLimit   = "2Mi"
)

Variables

View Source
var DefaultID int64 = 2137

Functions

func BuildKubeClient

func BuildKubeClient() (*kubernetes.Clientset, error)

func Clean

func Clean(ctx context.Context, namespace, pvcName, localMountPoint string) error

func GenerateKeyPair added in v0.0.10

func GenerateKeyPair(curve elliptic.Curve) (string, string, error)

func Mount

func Mount(ctx context.Context, namespace, pvcName, localMountPoint string, needsRoot, debug bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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