constants

package
v0.0.0-...-9bbedf1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ApplicationNamePattern describes the regular expression to validate an
	// application name
	ApplicationNamePattern = `^([A-Za-z0-9_\-\.]*)$`

	// AddonNamePattern describes the regular expression to validate an
	// addon name
	AddonNamePattern = ApplicationNamePattern

	// AndroidPackageNamePattern describes the regular expression to validate an
	// Android package name
	AndroidPackageNamePattern = `^([A-Za-z]{1}[A-Za-z\d_]*\.){1,}[A-Za-z][A-Za-z\d_]*$`
)
View Source
const (
	// MaxUserdataSize is the maximum size the userdata of a container can take. The size
	// of the userdata attached to a container has to be limited as a single element in our
	// data store can only have a maximum size of 1.5 MB and we store the userdata as part
	// of it.
	MaxUserdataSize = 10 * units.KB
)

Variables

View Source
var Version = "unknown"

Version is the version of AMS set from the build system

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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