Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupportedArchitecture ¶
IsSupportedArchitecture returns true if the system architecture is in the list of architectures.
func SetArchitecture ¶
func SetArchitecture(newArch ArchitectureType)
SetArchitecture allows overriding the auto detected Architecture
func UbuntuArchitecture ¶
func UbuntuArchitecture() string
UbuntuArchitecture returns the debian equivalent architecture for the currently running architecture.
If the architecture does not map any debian architecture, the GOARCH is returned.
Types ¶
type ArchitectureType ¶
type ArchitectureType string
ArchitectureType is the type for a supported snappy architecture
Click to show internal directories.
Click to hide internal directories.