forked from solo-io/unik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparams.go
50 lines (42 loc) · 897 Bytes
/
params.go
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
package types
import "github.com/solo-io/unik/pkg/config"
type RunInstanceParams struct {
Name string
ImageId string
MntPointsToVolumeIds map[string]string
Env map[string]string
InstanceMemory int
NoCleanup bool
DebugMode bool
}
type StageImageParams struct {
Name string
RawImage *RawImage
Force bool
NoCleanup bool
}
type CreateVolumeParams struct {
Name string
ImagePath string
NoCleanup bool
}
type CompileImageParams struct {
SourcesDir string
Args string
MntPoints []string
NoCleanup bool
SizeMB int
}
type PullImagePararms struct {
Config config.HubConfig
ImageName string
Force bool
}
type PushImagePararms struct {
Config config.HubConfig
ImageName string
}
type RemoteDeleteImagePararms struct {
Config config.HubConfig
ImageName string
}