# Functions
BuildSBAccess builds a new sb access to be stored It will resolve DNS on host and store prefix.
BuildSBAccessFromUserInput deserializes a 'user@host:port' string into a SBAccess struct.
No description provided by the author
No description provided by the author
GetAccessGormDB returns a DB handler.
GetAllAccesses returns all access in the database.
GetAllSBGroups lists all sb groups.
GetAllSBUsers returns all sb users.
GetGroup returns a group if it exists.
GetLastSSHSessions returns the last SSH sessions.
No description provided by the author
GetReplicationGormDB returns a DB handler.
IsAValidSBAccessFromUserInput checks if the provided argument is of the form 'user@host[:port]' (or pretty much anything in case of an alias).
LoadCurrentUser loads the current user into a sbuser object by calling the LoadUser method.
LoadSBAccess loads a sb access stored in database from user input.
LoadUser loads a system user into a sbuser object.
NewLog initiates a new log entry.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
SBGroupNameRegexp represents the regex that matches a sb group.
# Structs
Access descibes the basic properties of this struct.
AccessesByKeys describes the basic properties of the struct.
Group describes the basic properties of a sb group.
Info describes the basic properties of the struct.
Log describes the basic properties of a log.
No description provided by the author
Source describes the basic properties of the struct.
User descibes the basic properties of a sb user.