deb

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MIT Imports: 18 Imported by: 21

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 added in v1.4.0

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