starman

package
v7.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Signer = &signers.Signer{
	Name:         "starman",
	Magic:        magic.FileTypeStarman,
	CertTypes:    signers.CertTypePgp,
	Sign:         sign,
	VerifyStream: verify,
}

Functions

This section is empty.

Types

type File

type File struct {
	Name      string `json:"name"`
	Size      int64  `json:"size"`
	Mode      int    `json:"mode"`
	Mtime     int    `json:"mtime"`
	Digest    string `json:"digest"`
	Flags     int    `json:"flags"`
	UserName  string `json:"username"`
	GroupName string `json:"groupname"`
}

type TarMD

type TarMD struct {
	Name             string  `json:"name"`
	Arch             string  `json:"arch"`
	Version          Version `json:"version"`
	Files            []File  `json:"files"`
	FileCheckSumType string  `json:"file_checksum_type"`
}

type Version

type Version struct {
	Epoch   string `json:"epoch"`
	Version string `json:"version"`
	Release string `json:"release"`
}

Jump to

Keyboard shortcuts

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