rpm

package
v0.0.0-...-4599474 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Image = "ghcr.io/pojntfx/hydrapp-build-rpm"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(
	ctx context.Context,
	cli *client.Client,

	image string,
	pull bool,
	src,
	dst string,
	onID func(id string),
	onOutput func(shortID string, color string, timestamp int64, message string),
	appID string,
	pgpKeyContent []byte,
	pgpKeyPassword,
	pgpKeyID,
	baseURL,
	distro,
	architecture,
	packageSuffix,
	appName,
	appDescription,
	appSummary,
	appURL,
	appSPDX string,
	releases []renderers.Release,
	extraPackages []rpm.Package,
	overwrite bool,
	branchID,
	branchName,
	goMain,
	goFlags,
	goGenerate string,
) *Builder

func (*Builder) Build

func (b *Builder) Build() error

func (*Builder) Render

func (b *Builder) Render(workdir string, ejecting bool) error

Jump to

Keyboard shortcuts

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