platforms

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package platforms exposes variable with content of platfoms.json file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildOSDescriptor added in v0.51.0

func BuildOSDescriptor(descriptor string) (os.Descriptor, error)

BuildOSDescriptor builds an os.Descriptor from "platform/architecture/osVersion" e.g. `debian/x86_64/12` See all the pinned versions within the platforms.json file of test-infra-definitions.

func ParseOSDescriptors added in v0.71.1

func ParseOSDescriptors(descriptors string) ([]os.Descriptor, error)

ParseOSDescriptors parses a comma-separated list of OS descriptors like "platform/architecture/osVersion,..."

func ParseRawOsDescriptor added in v0.71.1

func ParseRawOsDescriptor(descriptor string) (string, string, string, error)

ParseRawOsDescriptor parses a raw OS descriptor like "platform/architecture/osVersion"

func PrettifyOsDescriptor added in v0.71.1

func PrettifyOsDescriptor(descriptor os.Descriptor) string

PrettifyOsDescriptor prettifies an os.Descriptor to a string that may be used in a stack name

Types

This section is empty.

Jump to

Keyboard shortcuts

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