Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewDefault ¶
func NewDefault() *Registry
NewDefault creates a Registry with all distributions supported by osbuild-composer. If you need to add a distribution here, see the supportedDistros variable.
func (*Registry) FromHost ¶
FromHost returns a distro instance, that is specific to the host. Its name may differ from other supported distros, if the host version is e.g. a Beta or a Stream.
func (*Registry) HostArchName ¶
HostArchName returns the host's arch name
func (*Registry) SetHostArchName ¶
SetHostArchName can be used to override the host's arch name for testing
Click to show internal directories.
Click to hide internal directories.