浏览文件
memory.go
12 行 · 370 B历史下载| 1 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package driver |
| 5 | |
| 6 | import "context" |
| 7 | |
| 8 | // MemoryBalloon adjusts guest memory within the configured boot capacity. |
| 9 | // Acceptance is asynchronous; callers must observe the guest before reclaiming more. |
| 10 | type MemoryBalloon interface { |
| 11 | SetMemoryTarget(context.Context, uint64) error |
| 12 | } |

