# Functions
AutoCompleteModuleName will try to auto-complete module names if no vendor is given, it will use "getstackhead" if no module type is given, it will use the given target type.
ExtractVendor returns the vendor name of a given module name (e.g.
No description provided by the author
No description provided by the author
GetModuleBaseName returns the base name of a given module name (e.g.
GetModuleType returns the module type for the given module according its name Will return the values of ModulePlugin, ModuleContainer and ModuleWebserver constants.
No description provided by the author
No description provided by the author
IsContainerModule checks if the given module is a container module based on its name.
IsDnsModule checks if the given module is a dns module based on its name.
IsPluginModule checks if the given module is a plugin module based on its name.
IsWebserverModule checks if the given module is a webserver module based on its name.
RemoveVendor removes the vendor name from a given module name (e.g.
SplitModuleName splits a given module name into vendor, module type and base name.
# Constants
ModuleContainer is the string that identifies a package name as container package.
ModuleDns is the string that identifies a package name as dns package.
ModulePlugin is the string that identifies a package name as plugin package.
ModuleWebserver is the string that identifies a package name as webserver package.