utils

package
v0.8.6-91-g6479a1dd Latest Latest
Warning

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

Go to latest
Published: May 13, 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, targ target.Target) (string, []string, []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.

func RewrapAsKraftCloudPackage added in v0.8.3

func RewrapAsKraftCloudPackage(name string) string

RewrapAsKraftCloudPackage returns the equivalent package name as a KraftCloud package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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