common

package
v0.0.0-...-8beec87 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPKARecord         = errors.New("invalid pka record was found")
	ErrNoDNS                    = errors.New("could not contact dns")
	ErrInvalidMasterKey         = errors.New("invalid master key")
	ErrInvalidMasterFingerprint = errors.New("invalid fingerprint of master")
	ErrBadIndexSignature        = errors.New("bad signature of index")
)
View Source
var NameRegex = regexp.MustCompile(`[\w\d]+`)

Functions

func CheckPKARecord

func CheckPKARecord(config *conf.Config) (*crypto.KeyRing, error)

func GetConfig

func GetConfig(configPath string) *conf.Config

func ReceiveIndex

func ReceiveIndex(config *conf.Config) ([]task.Package, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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