vfscore

package
v0.6.6-44-g2181ca7 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 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, options 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