rpm

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: 14 Imported by: 21

Documentation

Overview

Package rpm implements nfpm.Packager providing .rpm bindings using google/rpmpack.

Index

Constants

This section is empty.

Variables

View Source
var Default = &RPM{}

Default RPM packager. nolint: gochecknoglobals

Functions

This section is empty.

Types

type RPM

type RPM struct{}

RPM is a RPM packager implementation.

func (*RPM) ConventionalFileName added in v1.4.0

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

ConventionalFileName returns a file name according to the conventions for RPM packages. See: http://ftp.rpm.org/max-rpm/ch-rpm-file-format.html

func (*RPM) Package

func (*RPM) Package(info *nfpm.Info, w io.Writer) error

Package writes a new RPM 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