package platforms

import "github.com/docker/docker/pkg/platforms"

Index

Functions

func AllPlatformsWithPreference

func AllPlatformsWithPreference(preferred cplatforms.MatchComparer) cplatforms.MatchComparer

AllPlatformsWithPreference will return a platform matcher that matches all platforms but will order platforms matching the preferred matcher first.

Source Files

platforms.go

Version
v25.0.0-beta.3+incompatible
Published
Dec 20, 2023
Platform
js/wasm
Imports
2 packages
Last checked
3 minutes ago

Tools for package owners.