vfscore

package
v0.9.1-33-g352158fe Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2022, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

Index

Constants

View Source
const LibraryName = "vfscore"

Variables

View Source
var ParamVfsFstab = ukargparse.NewParamStrSlice("vfs", "fstab", nil)

Functions

func ExportedParams

func ExportedParams() []ukargparse.Param

ExportedParams returns the parameters available by this exported library.

Types

type FstabEntry

type FstabEntry struct {
	// contains filtered or unexported fields
}

FstabEntry is a vfscore mount entry.

func NewFstabEntry

func NewFstabEntry(sourceDevice, mountTarget, fsDriver, flags, opts, ukopts string) FstabEntry

NewFstabEntry generates a structure that is representative of one of Unikraft's vfscore automounts.

func (FstabEntry) String

func (entry FstabEntry) String() string

String implements fmt.Stringer and returns a valid vfs.automount-formatted entry.

Jump to

Keyboard shortcuts

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