multiarch

package
v1.413.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	OS      string
	Arch    string
	Variant string
}

Platform .

func ParsePlatformString

func ParsePlatformString(s string) (Platform, error)

ParsePlatformString parses the given string and returns a platform obj

func ParsePlatformStrings

func ParsePlatformStrings(ss []string) ([]Platform, error)

ParsePlatformStrings parses the given slice of strings and returns a slice with platform objects

func (Platform) ToString

func (p Platform) ToString() string

ToString returns a string representation of the platform

Jump to

Keyboard shortcuts

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