mount

package
v1.9.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IdempotentSystemPartitionMounter

func IdempotentSystemPartitionMounter(r runtime.Runtime) func(label string, opts ...mountv2.NewPointOption) error

IdempotentSystemPartitionMounter is a temporary workaround for not having proper volume mount controller.

func IsSystemPartitionMounted

func IsSystemPartitionMounted(label string) bool

IsSystemPartitionMounted checks if a system partition is mounted by the label.

func SystemPartitionMount

func SystemPartitionMount(ctx context.Context, r runtime.Runtime, logger *log.Logger, label string, opts ...mountv2.NewPointOption) (err error)

SystemPartitionMount mounts a system partition by the label.

func SystemPartitionUnmount

func SystemPartitionUnmount(r runtime.Runtime, logger *log.Logger, label string) (err error)

SystemPartitionUnmount unmounts a system partition by the label.

Types

This section is empty.

Directories

Path Synopsis
Package switchroot provides the switching root filesystem functionality.
Package switchroot provides the switching root filesystem functionality.
Package mount handles filesystem mount operations.
Package mount handles filesystem mount operations.

Jump to

Keyboard shortcuts

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