linux

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alpine

type Alpine struct {
	configurer.Linux
}

Alpine provides OS support for Alpine Linux

func (Alpine) InstallPackage

func (l Alpine) InstallPackage(h os.Host, pkg ...string) error

InstallPackage installs packages via slackpkg

type Debian

type Debian struct {
	linux.Ubuntu
	configurer.Linux
}

Debian provides OS support for Debian systems

func (Debian) InstallKubectl

func (c Debian) InstallKubectl(h os.Host) error

InstallKubectl installs kubectl using the gcloud kubernetes repo

type EnterpriseLinux

type EnterpriseLinux struct {
	linux.EnterpriseLinux
}

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

func (EnterpriseLinux) InstallKubectl

func (c EnterpriseLinux) InstallKubectl(h os.Host) error

InstallKubectl installs kubectl using the gcloud kubernetes repo

type OpenSUSE

type OpenSUSE struct {
	SLES
}

OpenSUSE provides OS support for OpenSUSE

type SLES

type SLES struct {
	linux.SLES
	configurer.Linux
}

SLES provides OS support for Suse SUSE Linux Enterprise Server

func (SLES) InstallKubectl

func (l SLES) InstallKubectl(h os.Host) error

InstallKubectl installs kubectl using the curl method

type Slackware

type Slackware struct {
	configurer.Linux
}

Slackware provides OS support for Slackware Linux

func (Slackware) InstallPackage

func (l Slackware) InstallPackage(h os.Host, pkg ...string) error

InstallPackage installs packages via slackpkg

type Ubuntu

type Ubuntu struct {
	Debian
}

Ubuntu provides OS support for Ubuntu systems

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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