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.

              Source Files