linux

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package linux contains configurers for various linux based distributions

Package linux contains configurers for various linux based distributions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alpine added in v0.13.0

type Alpine struct {
	os.Linux
}

Alpine provides OS support for Alpine Linux.

func (Alpine) InstallPackage added in v0.13.0

func (l Alpine) InstallPackage(host os.Host, pkgs ...string) error

InstallPackage installs packages via apk.

type Archlinux added in v0.3.24

type Archlinux struct {
	os.Linux
}

Archlinux provides OS support for Archlinux systems

func (Archlinux) InstallPackage added in v0.3.24

func (c Archlinux) InstallPackage(h os.Host, s ...string) error

InstallPackage installs packages via pacman

type Debian added in v0.11.0

type Debian struct {
	os.Linux
}

Debian provides OS support for Debian systems

func (Debian) InstallPackage added in v0.11.0

func (c Debian) InstallPackage(h os.Host, s ...string) error

InstallPackage installs packages via apt-get

type EnterpriseLinux

type EnterpriseLinux struct {
	os.Linux
}

EnterpriseLinux is a base package for several RHEL-like enterprise linux distributions

func (EnterpriseLinux) InstallPackage

func (c EnterpriseLinux) InstallPackage(h os.Host, s ...string) error

InstallPackage installs packages via yum

type SLES

type SLES struct {
	os.Linux
}

SLES provides OS support for Suse SUSE Linux Enterprise Server

func (SLES) InstallPackage

func (c SLES) InstallPackage(h os.Host, s ...string) error

InstallPackage installs packages via zypper

type Ubuntu

type Ubuntu struct {
	Debian
}

Ubuntu provides OS support for Ubuntu systems

Directories

Path Synopsis
Package enterpriselinux provides OS modules for Enterprise Linux based distributions
Package enterpriselinux provides OS modules for Enterprise Linux based distributions

Jump to

Keyboard shortcuts

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