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.
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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildOptions ¶
type BuildOptions struct { All bool `long:"all" usage:"Build all targets"` Architecture string `long:"arch" short:"m" usage:"Filter the creation of the build by architecture of known targets"` DotConfig string `long:"config" short:"c" usage:"Override the path to the KConfig .config file"` Env []string `long:"env" short:"e" usage:"Set environment variables to be built in the unikernel"` ForcePull bool `long:"force-pull" usage:"Force pulling packages before building"` Jobs int `long:"jobs" short:"j" usage:"Allow N jobs at once"` KernelDbg bool `long:"dbg" usage:"Build the debuggable (symbolic) kernel image instead of the stripped image"` Kraftfile string `long:"kraftfile" short:"K" usage:"Set an alternative path of the Kraftfile"` NoCache bool `long:"no-cache" short:"F" usage:"Force a rebuild even if existing intermediate artifacts already exist"` NoConfigure bool `long:"no-configure" usage:"Do not run Unikraft's configure step before building"` NoFast bool `long:"no-fast" usage:"Do not use maximum parallelization when performing the build"` NoFetch bool `long:"no-fetch" usage:"Do not run Unikraft's fetch step before building"` NoUpdate bool `long:"no-update" usage:"Do not update package index before running the build"` Platform string `long:"plat" short:"p" usage:"Filter the creation of the build by platform of known targets"` PrintStats bool `long:"print-stats" usage:"Print build statistics"` Rootfs string `long:"rootfs" usage:"Specify a path to use as root file system (can be volume or initramfs)"` SaveBuildLog string `long:"build-log" usage:"Use the specified file to save the output from the build"` Target *target.Target `noattribute:"true"` TargetName string `long:"target" short:"t" usage:"Build a particular known target"` Workdir string `noattribute:"true"` // contains filtered or unexported fields }