system

package
v0.0.0-...-4aaf4b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package system @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License

Package system @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License

Package system @Link https://gitee.com/linngc/central-mirror @Copyright Copyright (c) 2022 central CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckOS

func CheckOS() (string, error)

CheckOS 系统检查判断

func PackageAlpineInstalled

func PackageAlpineInstalled(packageNames ...string) (mp map[string]bool, err error)

PackageAlpineInstalled 执行Alpine Linux系统中安装指定的软件包

func PackageAlpineInstalledCheck

func PackageAlpineInstalledCheck(packageNames ...string) (mp map[string]bool, err error)

PackageAlpineInstalledCheck 检查Alpine Linux系统中是否已安装指定的软件包

func PackageUbuntuInstall

func PackageUbuntuInstall(packageNames ...string) (mp map[string]bool, err error)

PackageUbuntuInstall 使用apt-get安装指定的Ubuntu软件包

func PackageUbuntuInstalledCheck

func PackageUbuntuInstalledCheck(packageNames ...string) (mp map[string]bool, err error)

PackageUbuntuInstalledCheck 检查Ubuntu系统中是否已安装指定的软件包

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL