deb

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) 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) 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
}

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