# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
Returns a new handler that simply responds with an asset from the precompiled assets.
No description provided by the author
No description provided by the author
/ Helper that creates a directory if it does not exist.
Escapes a string escaped for greenplum CSV in a linear fashion.
Escapes all strings in a slice for greenplum.
Gets the version string of the server from the VERSION file in the assets directory (this should be filled by travis).
Returns true if version a is newer then version b.
No description provided by the author
No description provided by the author
No description provided by the author
Creates a new file backend for the maxid.
No description provided by the author
No description provided by the author
Creates a new state for the parser.
No description provided by the author
Creates an http endpoint handler where.
Generates a http.HandlerFunc that calls innerHandler with with the additional parameter of the authenticated user.
Handler updating metadata.
MustAsset is like Asset but panics when Asset would return an error.
No description provided by the author
No description provided by the author
Creates a new autoupdater implementation.
No description provided by the author
No description provided by the author
No description provided by the author
NewWriter returns a new Writer that writes to w.
Creates a new gzipped file reader.
No description provided by the author
Creates a new license authenticator base on licenses from the given directory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A generic log parser that takes a reader and a timezone.
No description provided by the author
Generates a bunch of random bytes for a string.
Tries to read and deserialize a license.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
Returns a sanitized filename with all non-alphanumeric characters replaced by dashes.
Sets up the logging to use UTC timestamps and a proper output format.
Parses a string to a Version struct or returns an error if it cannot.
Unescapes a string escaped for greenplum CSV in a linear fashion This version keeps a state, so unescapes should be safe even for octal codes.
# Constants
the name of the commands file we serialize to.
The file name we use to store a verison inside its own folder.
No description provided by the author
The glob to use for getting the license files (relative to the path of the working directory).
No description provided by the author
No description provided by the author
The directory permissions to use when creating a new directory.
the name we override the tenants name with.
# Structs
An agent command with a timestamp.
No description provided by the author
A Writer writes records to a CSV encoded file.
Encapsulates a writer that writes to a gzipped temp file that is moved to its final destination after Close() is called.
The configuration of the web service.
No description provided by the author
The License data structure.
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
The outer Json wrapper.
Identifies the source of a serverlog.
No description provided by the author
Combines a version with an actual product and a file.
No description provided by the author
The base structure for a SemVer like version.
# Interfaces
An interface that authenticates.
No description provided by the author
No description provided by the author
Implements storing and recalling a maxId.
No description provided by the author
Reads serverlogs (the implementation determines the format).
No description provided by the author
No description provided by the author
A possible implementation of a user.
# Type aliases
a handler function taking a tenant.
No description provided by the author
No description provided by the author
Define a versionlist type for sorting by version.