package
0.0.0-20240712132348-8effd5a6bcb1
Repository: https://github.com/dmwm/dbs2go.git
Documentation: pkg.go.dev
# Functions
AcquisitionErasCiHandler provides access to AcquisitionErasCi DBS API.
AcquisitionErasHandler provides access to AcquisitionEras DBS API.
ApisHandler provides list of supporter apis by the DBS server.
BlockChildrenHandler provides access to BlockChildren DBS API.
BlockDumpHandler provides access to BlockDump DBS API.
BlockOriginHandler provides access to BlockOrigin DBS API.
BlockParentsHandler provides access to BlockParents DBS API.
BlocksHandler provides access to Blocks DBS API.
BlockSummariesHandler provides access to BlockSummaries DBS API.
BlockTrioHandler provides access to BlockTrio DBS API.
BulkBlocksHandler provides access to BulkBlocks DBS API POST API takes no argument, the payload should be supplied as JSON.
DatasetAccessTypesHandler provides access to DatasetAccessTypes DBS API.
DatasetChildrenHandler provides access to DatasetChildren DBS API.
DatasetListHandler provides access to DatasetList DBS API POST API takes no argument, the payload should be supplied as JSON.
DatasetParentsHandler provides access to DatasetParents DBS API.
DatasetsHandler provides access to Datasets DBS API.
DatatiersHandler provides access to DataTiers DBS API.
DataTypesHandler provides access to DataTypes DBS API.
DBSGetHandler is a generic Get handler to call DBS Get APIs.
DBSPostHandler is a generic Post Handler to call DBS Post APIs
gocyclo:ignore.
DBSPutHandler is a generic Post Handler to call DBS Post APIs
gocyclo:ignore.
DBStatsHandler provides metrics.
DummyHandler provides example how to write GET/POST handler.
ErrorsHandler provides all DBS errors.
Generates an Etag for given string, provided by https://github.com/amalfra/etag.
FileArrayHandler provides access to FileArray DBS API POST API takes no argument, the payload should be supplied as JSON.
FileChildrenHandler provides access to FileChildren DBS API.
FileLumisHandler provides access to FileLumis DBS API GET API takes the following arguments: logical_file_name, block_name, run_num, validFileOnly POST API takes no argument, the payload should be supplied as JSON.
FileParentsByLumiHandler provides access to FileParentsByLumi DBS API POST API takes no argument, the payload should be supplied as JSON.
FileParentsHandler provides access to FileParent DBS API.
FilesHandler provides access to Files DBS API.
FileSummariesHandler provides access to FileSummaries DBS API.
Handlers provides helper function to setup all HTTP routes.
MainHandler provides access to main page of DBS server.
MetricsHandler provides metrics.
MigrationCancelHandler provides access to CancelMigration DBS API POST API takes no argument, the payload should be supplied as JSON.
MigrationProcessHandler provides access to ProcessMigration DBS API POST API takes no argument, the payload should be supplied as JSON.
MigrationRemoveHandler provides access to RemoveMigration DBS API POST API takes no argument, the payload should be supplied as JSON.
MigrationStatusHandler provides access to StatusMigration DBS API.
MigrationSubmitHandler provides access to SubmitMigration DBS API POST API takes no argument, the payload should be supplied as JSON.
MigrationTotalHandler provides access to TotalMigration DBS API.
NotImplementedHandler returns server status error.
OutputConfigsHandler provides access to OutputConfigs DBS API.
ParentDSTrioHandler provides access to ParentDSTrio DBS API.
ParseConfig parses given configuration file and initialize Config object.
PhysicsGroupsHandler provides access to PhysicsGroups DBS API Takes the following arguments: physics_group_name.
PrimaryDatasetsHandler provides access to PrimaryDatasets DBS API.
PrimaryDSTypesHandler provides access to PrimaryDSTypes DBS API.
ProcessingErasHandler provices access to ProcessingEras DBS API.
QueryHandler provides access to graph ql query.
ReleaseVersionsHandler provides access to ReleaseVersions DBS API.
RunsHandler provides access to Runs DBS API.
RunSummariesHandler provides access to RunSummaries DBS API.
Server represents main web server for DBS service
gocyclo:ignore.
ServerInfoHandler provides basic functionality of status response.
StatusHandler provides basic functionality of status response.
# Variables
AvgGetRequestTime represents average GET request time.
AvgPostRequestTime represents average POST request time.
AvgPutRequestTime represents average PUT request time.
CMSAuth structure to create CMS Auth headers.
Config represents global configuration object.
GitVersion defines git version of the server.
GraphQLSchema holds graphql schema.
LimiterMiddleware provides limiter middleware pointer.
MetricsLastUpdateTime keeps track of last update time of the metrics.
NumLogicalCores represents number of cores in our node.
NumPhysicalCores represents number of cores in our node.
RPS represents requests per second for a given server.
RPSLogical represents requests per second for a given server times number of logical CPU cores.
RPSPhysical represents requests per second for a given server times number of physical CPU cores.
ServerInfo defines dbs server info.
StartTime represents initial time when we started the server.
TotalGetRequests counts total number of GET requests received by the server.
TotalPostRequests counts total number of POST requests received by the server.
TotalPutRequests counts total number of PUT requests received by the server.
# Structs
Configuration stores dbs configuration parameters.
HTTPError represents HTTP error structure.
Mem structure keeps track of virtual/swap memory of the server.
Memory structure keeps track of server memory.
Metrics provide various metrics about our server.
RequestStats holds metrics related to number of requests on a server.
ServerError represents HTTP server error structure.
Templates structure.
# Type aliases
TmplRecord represent template record.