utils

package
v0.8.1-51-ga219439e Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRootfs

func BuildRootfs(ctx context.Context, workdir, rootfs string, compress bool, targets ...target.Target) (string, error)

BuildRootfs generates a rootfs based on the provided working directory and the rootfs entrypoint for the provided target(s).

func CheckPorts added in v0.7.13

func CheckPorts(ctx context.Context, controller machineapi.MachineService, machine *machineapi.Machine) error

CheckPorts is a utility method used to throw an error if the supplied machine has assigned ports which are already used by an existing, running machine, which is accessible through the supplied machine controller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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