deb

package
v2.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 20 Imported by: 26

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) ConventionalExtension added in v2.20.0

func (*Deb) ConventionalExtension() string

ConventionalExtension returns the file name conventionally used for Deb packages

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 (d *Deb) Package(info *nfpm.Info, deb io.Writer) (err error)

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

func (*Deb) SetPackagerDefaults added in v2.7.0

func (*Deb) SetPackagerDefaults(info *nfpm.Info)

Jump to

Keyboard shortcuts

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