github.com/emc-advanced-dev/unik@v0.0.0-20190717152701-a58d3e8e33b7/pkg/types/params.go (about) 1 package types 2 3 import "github.com/solo-io/unik/pkg/config" 4 5 type RunInstanceParams struct { 6 Name string 7 ImageId string 8 MntPointsToVolumeIds map[string]string 9 Env map[string]string 10 InstanceMemory int 11 NoCleanup bool 12 DebugMode bool 13 } 14 15 type StageImageParams struct { 16 Name string 17 RawImage *RawImage 18 Force bool 19 NoCleanup bool 20 } 21 22 type CreateVolumeParams struct { 23 Name string 24 ImagePath string 25 NoCleanup bool 26 } 27 28 type CompileImageParams struct { 29 SourcesDir string 30 Args string 31 MntPoints []string 32 NoCleanup bool 33 SizeMB int 34 } 35 36 type PullImagePararms struct { 37 Config config.HubConfig 38 ImageName string 39 Force bool 40 } 41 42 type PushImagePararms struct { 43 Config config.HubConfig 44 ImageName string 45 } 46 47 type RemoteDeleteImagePararms struct { 48 Config config.HubConfig 49 ImageName string 50 }