platforms

package
v0.72.4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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