arch

package
v0.0.0-...-b918686 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2016 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSupportedArchitecture

func IsSupportedArchitecture(architectures []string) bool

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

Jump to

Keyboard shortcuts

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