package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

AllUnitKeyNames returns all unit key names.
DisabledRepoUnitsGet returns the globally disabled units, it is a quick patch to fix data-race during testing.
FindUnitTypes give the unit key names and return valid unique units and invalid keys.
LoadUnitConfig load units from settings.
MinUnitAccessMode returns the minial permission of the permission map.
TypeFromKey give the unit key name and return unit.

# Constants

10 Actions.
1 code.
7 ExternalTracker.
6 ExternalWiki.
0 invalid.
2 issues.
9 Packages.
8 Projects.
3 PRs.
4 Releases.
5 Wiki.

# Variables

AllRepoUnitTypes contains all the unit types.
ForkRepoUnits contains the default unit types for forks.
DefaultMirrorRepoUnits contains the default unit types for mirrors.
DefaultRepoUnits contains the default unit types.
DefaultTemplateRepoUnits contains the default unit types for templates.
NotAllowedDefaultRepoUnits contains units that can't be default.
Enumerate all the units.
Enumerate all the units.
Enumerate all the units.
Enumerate all the units.
Enumerate all the units.
Enumerate all the units.
Enumerate all the units.
Enumerate all the units.
Enumerate all the units.
Units contains all the units.
Enumerate all the units.

# Structs

Unit is a section of one repository.

# Type aliases

Type is Unit's Type.