deb

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 19 Imported by: 24

Documentation

Overview

Package deb implements nfpm.Packager providing .deb bindings.

Index

Constants

This section is empty.

Variables

View Source
var Default = &Deb{}

Default deb packager. nolint: gochecknoglobals

View Source
var ErrInvalidSignatureType = errors.New("invalid signature type")

ErrInvalidSignatureType happens if the signature type of a deb is not one of origin, maint or archive.

Functions

This section is empty.

Types

type Deb

type Deb struct{}

Deb is a deb packager implementation.

func (*Deb) ConventionalFileName

func (*Deb) ConventionalFileName(info *nfpm.Info) string

ConventionalFileName returns a file name according to the conventions for debian packages. See: https://manpages.debian.org/buster/dpkg-dev/dpkg-name.1.en.html

func (*Deb) Package

func (*Deb) Package(info *nfpm.Info, deb io.Writer) (err error)

Package writes a new deb package to the given writer using the given info.

Jump to

Keyboard shortcuts

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