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.
func RewrapAsKraftCloudPackage ¶ added in v0.8.3
RewrapAsKraftCloudPackage returns the equivalent package name as a KraftCloud package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.