package
0.4.3
Repository: https://github.com/jmpsec/osctrl.git
Documentation: pkg.go.dev

# Functions

CreateTagManager to initialize the tags struct and tables.
Helper to get the hex from an int.
Helper to generate a random color in hex for HTML.
Helper to convert the tag type to a string.
Helper to convert the tag type string to a uint.

# Constants

ActionAdd as action to add a tag.
ActionEdit as action to edit a tag.
ActionRemove as action to remove a tag.
DefaultAutocreated as default username and description for tags.
DefaultAutoTagUser as default user ID to be used for auto tagging.
DefaultTagIcon as default icon to use for tags.
TagTypeCustom as tag type for custom tags.
TagTypeCustomStr is the tag type for custom.
TagTypeEnv as tag type for environment name.
TagTypeEnvironmentStr is the tag type for environment.
TagTypeEnvStr is the tag type for shortened environment.
TagTypeLocalname as tag type for node localname.
TagTypeLocalnameStr is the tag type for localname.
TagTypePlatform as tag type for node platform.
TagTypePlatformStr is the tag type for platform.
TagTypeUnknown as tag type for unknown tags.
TagTypeUnknownStr is the tag type for unknown.
TagTypeUUID as tag type for node UUID.
TagTypeUUIDStr is the tag type for UUID.

# Structs

AdminTag to hold all tags.
AdminTagForNode to check if this tag is used for an specific node.
TaggedNode to hold tagged nodes.
TagManager have all tags.