Documentation ¶
Index ¶
- Variables
- func AllBinaryPlatforms(forTesting bool, assumedOs sys.Os, assumedArch sys.Arch) iter.Seq[*Platform]
- func ArchToLdFlags(a sys.Arch) string
- func DoesEditionSupportBinaryFor(e sys.Edition, o sys.Os, a sys.Arch, assumedOs sys.Os, assumedArch sys.Arch) bool
- func EditionToLdFlags(e sys.Edition) string
- func ExtendPathWith(forOs sys.Os, source sys.EnvVars, paths ...string) sys.EnvVars
- func IsOsAndArchSupported(o sys.Os, a sys.Arch) bool
- func OsToLdFlags(o sys.Os) string
- func SetArchToEnv(o sys.Os, a sys.Arch, assumedGoos sys.Os, assumedGoarch sys.Arch, ...)
- func SetEditionToEnv(e sys.Edition, env interface{ ... })
- func SetOsToEnv(o sys.Os, env interface{ ... })
- type ArchDetails
- type ArchiveFormat
- type Platform
- func (this Platform) AssertBinarySupported(assumedOs sys.Os, assumedArch sys.Arch) error
- func (this Platform) FilenamePrefix(mainPrefix string) string
- func (this Platform) IsBinarySupported(assumedOs sys.Os, assumedArch sys.Arch) bool
- func (this Platform) IsImageSupported() bool
- func (this Platform) Oci() string
- func (this Platform) SetToEnv(assumedGoos sys.Os, assumedGoarch sys.Arch, env interface{ ... })
- func (this Platform) SourceOciImage() (name string, _ error)
- func (this Platform) String() string
- func (this Platform) ToLdFlags() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AllBinaryPlatforms ¶
func ArchToLdFlags ¶
func EditionToLdFlags ¶
func ExtendPathWith ¶
func OsToLdFlags ¶
func SetArchToEnv ¶
func SetEditionToEnv ¶
func SetOsToEnv ¶
Types ¶
type ArchDetails ¶
type ArchDetails struct {
// contains filtered or unexported fields
}
func GetArchDetails ¶
func GetArchDetails(a sys.Arch) ArchDetails
func (ArchDetails) IsOsSupported ¶
func (this ArchDetails) IsOsSupported(o sys.Os) bool
type ArchiveFormat ¶
type ArchiveFormat uint8
const ( ArchiveFormatTgz ArchiveFormat = iota ArchiveFormatZip )
func ArchiveFormatFor ¶
func ArchiveFormatFor(os sys.Os) ArchiveFormat
func (ArchiveFormat) Ext ¶
func (this ArchiveFormat) Ext() string
func (*ArchiveFormat) Set ¶
func (this *ArchiveFormat) Set(plain string) error
func (ArchiveFormat) String ¶
func (this ArchiveFormat) String() string
type Platform ¶
func (Platform) AssertBinarySupported ¶
func (Platform) FilenamePrefix ¶
func (Platform) IsBinarySupported ¶
func (Platform) IsImageSupported ¶
func (Platform) SourceOciImage ¶
Click to show internal directories.
Click to hide internal directories.