package platforms

import "github.com/dotcloud/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+incompatible
Published
Jan 18, 2024
Platform
js/wasm
Imports
2 packages
Last checked
4 minutes ago

Tools for package owners.