Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( All = Matcher{All: true} Host = Matcher{Platforms: []specs.Platform{platforms.DefaultSpec()}} )
Functions ¶
func UnknownPlatformCLIFlag ¶
UnknownPlatformCLIFlag specifies that the platform provided via CLI flag couldn't be parsed
Types ¶
type Matcher ¶
Matcher describes a collection of target image build platforms
func GetClusterPlatforms ¶
GetClusterPlatforms returns the platforms for the active kubernetes cluster. For `dev` or `debug` if there are multiple cluster node platforms, then it returns only one selection, preferably matching the host platform.
func (Matcher) IsCrossPlatform ¶ added in v1.37.0
func (Matcher) IsMultiPlatform ¶
func (Matcher) IsNotEmpty ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func (Resolver) GetPlatforms ¶
Click to show internal directories.
Click to hide internal directories.