mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-13 21:56:32 +00:00
Merge pull request #2622 from YchauWang/wyc-vc-api
virtcontainers: update VC SandboxConfig API add SandboxBindMounts field
This commit is contained in:
commit
e33c26ba18
@ -46,6 +46,7 @@ type SandboxConfig struct {
|
|||||||
Hostname string
|
Hostname string
|
||||||
|
|
||||||
HypervisorType HypervisorType
|
HypervisorType HypervisorType
|
||||||
|
|
||||||
HypervisorConfig HypervisorConfig
|
HypervisorConfig HypervisorConfig
|
||||||
|
|
||||||
AgentConfig KataAgentConfig
|
AgentConfig KataAgentConfig
|
||||||
@ -60,6 +61,16 @@ type SandboxConfig struct {
|
|||||||
// to the Sandbox a posteriori.
|
// to the Sandbox a posteriori.
|
||||||
Containers []ContainerConfig
|
Containers []ContainerConfig
|
||||||
|
|
||||||
|
// SandboxBindMounts - list of paths to mount into guest
|
||||||
|
SandboxBindMounts []string
|
||||||
|
|
||||||
|
// Experimental features enabled
|
||||||
|
Experimental []exp.Feature
|
||||||
|
|
||||||
|
// Cgroups specifies specific cgroup settings for the various subsystems that the container is
|
||||||
|
// placed into to limit the resources the container has available
|
||||||
|
Cgroups *configs.Cgroup
|
||||||
|
|
||||||
// Annotations keys must be unique strings and must be name-spaced
|
// Annotations keys must be unique strings and must be name-spaced
|
||||||
// with e.g. reverse domain notation (org.clearlinux.key).
|
// with e.g. reverse domain notation (org.clearlinux.key).
|
||||||
Annotations map[string]string
|
Annotations map[string]string
|
||||||
@ -76,13 +87,6 @@ type SandboxConfig struct {
|
|||||||
SandboxCgroupOnly bool
|
SandboxCgroupOnly bool
|
||||||
|
|
||||||
DisableGuestSeccomp bool
|
DisableGuestSeccomp bool
|
||||||
|
|
||||||
// Experimental features enabled
|
|
||||||
Experimental []exp.Feature
|
|
||||||
|
|
||||||
// Cgroups specifies specific cgroup settings for the various subsystems that the container is
|
|
||||||
// placed into to limit the resources the container has available
|
|
||||||
Cgroups *configs.Cgroup
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user