remove unnecessary PreloadedVolume
parent
4996b14a28
commit
05a46f6526
|
@ -33,19 +33,18 @@ const (
|
||||||
|
|
||||||
// CreateParams are parameters needed to create a container
|
// CreateParams are parameters needed to create a container
|
||||||
type CreateParams struct {
|
type CreateParams struct {
|
||||||
Name string // used for container name and hostname
|
Name string // used for container name and hostname
|
||||||
Image string // container image to use to create the node.
|
Image string // container image to use to create the node.
|
||||||
ClusterLabel string // label the containers we create using minikube so we can clean up
|
ClusterLabel string // label the containers we create using minikube so we can clean up
|
||||||
Role string // currently only role supported is control-plane
|
Role string // currently only role supported is control-plane
|
||||||
Mounts []Mount // volume mounts
|
Mounts []Mount // volume mounts
|
||||||
APIServerPort int // kubernetes api server port
|
APIServerPort int // kubernetes api server port
|
||||||
PortMappings []PortMapping // ports to map to container from host
|
PortMappings []PortMapping // ports to map to container from host
|
||||||
CPUs string // number of cpu cores assign to container
|
CPUs string // number of cpu cores assign to container
|
||||||
Memory string // memory (mbs) to assign to the container
|
Memory string // memory (mbs) to assign to the container
|
||||||
Envs map[string]string // environment variables to pass to the container
|
Envs map[string]string // environment variables to pass to the container
|
||||||
ExtraArgs []string // a list of any extra option to pass to oci binary during creation time, for example --expose 8080...
|
ExtraArgs []string // a list of any extra option to pass to oci binary during creation time, for example --expose 8080...
|
||||||
OCIBinary string // docker or podman
|
OCIBinary string // docker or podman
|
||||||
PreloadedVolume string // volume of preloaded images
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// createOpt is an option for Create
|
// createOpt is an option for Create
|
||||||
|
|
Loading…
Reference in New Issue