deb

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct {
	Host  hostActions
	Guest guestActions
}

Docker is the URISource for Docker CE packages.

func (*Docker) Install

func (d *Docker) Install() error

Install implements URISource.

func (Docker) Installed added in v0.6.6

func (d Docker) Installed() bool

Installed implements URISource.

func (*Docker) Name

func (*Docker) Name() string

Name implements URISource.

func (*Docker) Packages

func (*Docker) Packages() []string

Packages implements URISource.

func (*Docker) PreInstall

func (d *Docker) PreInstall() error

PreInstall implements URISource.

func (*Docker) URIs

func (d *Docker) URIs(arch environment.Arch) ([]string, error)

URIs implements URISource.

type Mantic

type Mantic struct {
	Guest guestActions
}

Mantic is the URISource for Ubuntu Mantic packages.

func (*Mantic) Install

func (m *Mantic) Install() error

Install implements URISource.

func (*Mantic) Installed added in v0.6.6

func (m *Mantic) Installed() bool

Installed implements URISource.

func (*Mantic) Name

func (*Mantic) Name() string

Name implements URISource.

func (*Mantic) Packages

func (*Mantic) Packages() []string

Packages implements URISource.

func (*Mantic) PreInstall

func (*Mantic) PreInstall() error

PreInstall implements URISource.

func (*Mantic) URIs

func (m *Mantic) URIs(_ environment.Arch) ([]string, error)

URIs implements URISource.

type URISource

type URISource interface {
	// Name is the name for the URISource.
	Name() string
	// Packages is the list of package names.
	Packages() []string
	// URIs return the list of URIs to download the deb files.
	URIs(arch environment.Arch) ([]string, error)
	// PreInstall is done before the deb package are installed.
	PreInstall() error
	// Install installs the packages directly using the internet.
	Install() error
	// Installed returns if the deb packages are already installed
	Installed() bool
}

URISource is the source for fetching URI for deb packages.

Jump to

Keyboard shortcuts

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