blob: e1fd8ed586a8c27c5138cabde261458abec523e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
//go:build test
package runner
import (
"os/exec"
"pik/model"
)
// Stub is the most minimal and useless implementation of the target interface. It only panics. Use if you need a target-compliant struct.
type Stub struct {
}
func (s Stub) Matches(input string) bool {
//TODO implement me
panic("implement me")
}
func (s Stub) Create(src *model.Source) *exec.Cmd {
//TODO implement me
panic("implement me")
}
func (s Stub) Sub() []string {
//TODO implement me
panic("implement me")
}
func (s Stub) Label() string {
//TODO implement me
panic("implement me")
}
func (s Stub) Hydrate(src *model.Source) (model.HydratedTarget, error) {
//TODO implement me
panic("implement me")
}
func (s Stub) Tags() model.Tags {
return nil
}
func (s Stub) ShortestId() string {
//TODO implement me
panic("implement me")
}
func (s Stub) Visible() bool {
//TODO implement me
panic("implement me")
}
func (s Stub) Invocation(src *model.Source) []string {
//TODO implement me
panic("implement me")
}
|