Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultArchitecture represents the default architecture we expect to use // if none is present. DefaultArchitecture = arch.AMD64 )
Variables ¶
This section is empty.
Functions ¶
func ConstraintArch ¶
func ConstraintArch(cons constraints.Value, defaultCons *constraints.Value) string
ConstraintArch returns the arch for the constraint if there is one, else it returns the default arch.
Types ¶
type Arches ¶
type Arches struct {
// contains filtered or unexported fields
}
Arches defines a list of arches to compare against.
func (Arches) StringList ¶
StringList returns an ordered list of strings. ArchAll will always be the front of the slice to show importance of the enum value.
Click to show internal directories.
Click to hide internal directories.