linux

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Overview

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 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 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 {
	os.Linux
}

Ubuntu provides OS support for Ubuntu systems

func (Ubuntu) InstallPackage

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

InstallPackage installs packages via apt-get

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