dive/dive/image/podman/resolver_unsupported.go
Alex Goodman d5e8a92968
Rework CI validation workflow and makefile (#460)
* rework CI validation workflow and makefile

* enable push

* fix job names

* fix license check

* fix snapshot builds

* fix acceptance tests

* fix linting

* disable pull request event

* rework windows runner caching

* disable release pipeline and add issue templates
2023-07-06 22:01:46 -04:00

25 lines
444 B
Go

//go:build !linux && !darwin
// +build !linux,!darwin
package podman
import (
"fmt"
"github.com/wagoodman/dive/dive/image"
)
type resolver struct{}
func NewResolverFromEngine() *resolver {
return &resolver{}
}
func (r *resolver) Build(args []string) (*image.Image, error) {
return nil, fmt.Errorf("unsupported platform")
}
func (r *resolver) Fetch(id string) (*image.Image, error) {
return nil, fmt.Errorf("unsupported platform")
}