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 ¶
const LibraryName = "vfscore"
Variables ¶
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.