manifest

package
v0.0.0-...-faefad5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManifestLabelManifestVersion           = "Manifest-Version"
	ManifestLabelImplementationTitle       = "Implementation-Title"
	ManifestLabelImplementationVersion     = "Implementation-Version"
	ManifestLabelArchiverVersion           = "Archiver-Version"
	ManifestLabelBuiltBy                   = "Built-By"
	ManifestLabelImplementationVendorID    = "Implementation-Vendor-Id"
	ManifestLabelImportPackage             = "Import-Package"
	ManifestLabelContentPackageType        = "Content-Package-Type"
	ManifestLabelContentPackageDescription = "Content-Package-Description"
	ManifestLabelContentPackageRoots       = "Content-Package-Roots"
	ManifestLabelCreatedBy                 = "Created-By"
	ManifestLabelBuildJdk                  = "Build-Jdk"
	ManifestLabelContentPackageID          = "Content-Package-Id"
	ManifestLabelPackageGroup              = "Package-Group"
	ManifestLabelPackageName               = "Package-Name"
	ManifestLabelPackageVersion            = "Package-Version"
)

Manifest labels

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

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

Manifest holds the manifest values

func OpenManifest

func OpenManifest(location string) (*Manifest, error)

OpenManifest Open manifest for reading

func OpenPackage

func OpenPackage(location string) (*Manifest, error)

OpenPackage Open package to read manifest

func (*Manifest) Get

func (m *Manifest) Get(manifestLabel string) (string, error)

Get a value from the manifest based on the label

Jump to

Keyboard shortcuts

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