Documentation ¶
Index ¶
- Variables
- func Format(pl specs.Platform) string
- func UnknownPlatformCLIFlag(platform string, err error) error
- type Matcher
- func (m Matcher) Array() []string
- func (m Matcher) Contains(other specs.Platform) bool
- func (m Matcher) Intersect(other Matcher) Matcher
- func (m Matcher) IsCrossPlatform() bool
- func (m Matcher) IsEmpty() bool
- func (m Matcher) IsMultiPlatform() bool
- func (m Matcher) IsNotEmpty() bool
- func (m Matcher) String() string
- type Resolver
- type ResolverOpts
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.
func (Matcher) IsCrossPlatform ¶
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.