...
1 package alizer
2
3 import (
4 "context"
5
6 "github.com/devfile/alizer/pkg/apis/model"
7
8 "github.com/redhat-developer/odo/pkg/api"
9 )
10
11 type DetectedFramework struct {
12 Type model.DevfileType
13 DefaultVersion string
14 Registry api.Registry
15 Architectures []string
16 }
17
18 type Client interface {
19 DetectFramework(ctx context.Context, path string) (DetectedFramework, error)
20 DetectName(path string) (string, error)
21 DetectPorts(path string) ([]int, error)
22 }
23
View as plain text