debian-forge-composer/internal/osbuild2/mount.go
Achilleas Koutsou e85fc3b48c osbuild2: new stages and osbuild features
Stages:
- org.osbuild.copy
- org.osbuild.truncate
- org.osbuild.sfdisk
- org.osbuild.qemu
- org.osbuild.mkfs.btrfs
- org.osbuild.mkfs.ext4
- org.osbuild.mkfs.fat
- org.osbuild.mkfs.xfs
- org.osbuild.grub2.inst

Stages can now have devices and mounts in addition to options and
inputs.

Devices:
- org.osbuild.loopback

Mounts:
- org.osbuild.btrfs
- org.osbuild.ext4
- org.osbuild.fat
- org.osbuild.xfs
2021-07-24 15:54:00 +02:00

16 lines
300 B
Go

package osbuild2
type Mounts interface {
isStageMounts()
}
type Mount struct {
Type string `json:"type"`
Source string `json:"source"`
Target string `json:"target"`
Options *MountOptions `json:"options,omitempty"`
}
type MountOptions interface {
isMountOptions()
}