# Packages
No description provided by the author
# Functions
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
GetAggregatedStats retrieves aggregated stats for the given query.
TODO(roberto): update when we have datastore functions and API methods for this.
LimitAttempts sets a the number of attempts to try establishing a connection to the database backend the default value is 15 attempts.
Logger adds a logger to the datastore.
New creates an MySQL datastore.
Replica sets the configuration of the read replica for the datastore.
SQLMode allows setting a custom sql_mode string.
No description provided by the author
TruncateTables truncates the specified tables, in order, using ds.writer.
WithFleetConfig provides the fleet configuration so that any config option that must be used in the datastore layer can be captured here.
WithInterceptor adds the sql interceptor to the datastore.
# Constants
No description provided by the author
# Variables
HostFailingPoliciesCountOptimPageSizeThreshold is the value of the page size that determines whether to run an optimized version of the hosts queries when pagination is used.
# Structs
Datastore is an implementation of fleet.Datastore interface backed by MySQL.
DatastoreTestOptions configures how the test datastore is created by CreateMySQLDSWithOptions.
NanoDEPStorage wraps a *nanodep_mysql.MySQLStorage and overrides functionality to load DEP auth tokens from memory.
NanoMDMStorage wraps a *nanomdm_mysql.MySQLStorage and overrides further functionality.
PolicyViolationDays is a structure used for aggregate counts of policy violation days.
SCEPDepot is a MySQL-backed SCEP certificate depot.
# Type aliases
DBOption is used to pass optional arguments to a database connection.