linux

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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 {
	os.Linux
	BaseLinux
}

Alpine provides OS support for Alpine Linux

func (Alpine) InstallKubectl added in v0.5.2

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

InstallKubectl installs kubectl using the alpine edge/testing repo

func (Alpine) InstallPackage

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

InstallPackage installs packages via slackpkg

func (Alpine) Prepare added in v0.5.2

func (l Alpine) Prepare(h os.Host) error

type BaseLinux added in v0.5.2

type BaseLinux struct {
	configurer.Linux
}

BaseLinux for tricking go interfaces

func (BaseLinux) InstallKubectl added in v0.5.2

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

InstallKubectl installs kubectl using the curl method

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
	configurer.Linux
}

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

SLES provides OS support for Suse SUSE Linux Enterprise Server

type Slackware

type Slackware struct {
	BaseLinux
	os.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