浏览文件
managers_others.go
21 行 · 523 B历史下载| 1 | //go:build !darwin && !linux |
| 2 | |
| 3 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | package autostart |
| 7 | |
| 8 | // Manager returns a notSupportedManager for unsupported OSes. |
| 9 | func Manager() autoStartManager { |
| 10 | return ¬SupportedManager{} |
| 11 | } |
| 12 | |
| 13 | // DaemonManager is not supported on this OS. |
| 14 | func DaemonManager(_ string) autoStartManager { |
| 15 | return ¬SupportedManager{} |
| 16 | } |
| 17 | |
| 18 | // ManagerWith is not supported on this OS. |
| 19 | func ManagerWith(_ bool) autoStartManager { |
| 20 | return ¬SupportedManager{} |
| 21 | } |

