Documentation ¶
Index ¶
- func GetDataSourceTimestamp(ctx context.Context, c *gin.Context, sourceTimeCollectionName string) models.DataSourceTS
- func GetDatasetsInTapeDisk(collectionName string) gin.HandlerFunc
- func GetDatasetsInTapeDiskPage(collectionName, inTapeDiskApiEP, rseDetailsApiEP, shortUrlApiEP, baseEP string) gin.HandlerFunc
- func GetDetailedDatasets(collectionName string) gin.HandlerFunc
- func GetDetailedDatasetsPage(collectionName, detailedDsApiEP, shortUrlApiEP, baseEP string) gin.HandlerFunc
- func GetEachRseDetails(collectionName string) gin.HandlerFunc
- func GetIndexPageFromShortUrlId(...) gin.HandlerFunc
- func GetMainDatasets(collectionName string) gin.HandlerFunc
- func GetMainDatasetsPage(collectionName, mainDsApiEP, shortUrlApiEP, rseDetailsApiEP, baseEP string) gin.HandlerFunc
- func GetRequestFromShortUrl(ctx context.Context, c *gin.Context, shortUrlCollectionName string, ...) models.ShortUrl
- func GetServiceInfo(gitVersion string, serviceInfo string) gin.HandlerFunc
- func GetShortUrl(ctx context.Context, c *gin.Context, shortUrlCollectionName string, ...) string
- func GetShortUrlParam(collectionName string) gin.HandlerFunc
- func InitializeCtxAndBindRequestBody(c *gin.Context, req interface{}) (context.Context, context.CancelFunc, interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDataSourceTimestamp ¶
func GetDataSourceTimestamp(ctx context.Context, c *gin.Context, sourceTimeCollectionName string) models.DataSourceTS
GetDataSourceTimestamp gets the creation time of used data in MongoDB (sqoop dumps)
func GetDatasetsInTapeDisk ¶
func GetDatasetsInTapeDisk(collectionName string) gin.HandlerFunc
GetDatasetsInTapeDisk controller that returns datasets according to DataTable request json
func GetDatasetsInTapeDiskPage ¶
func GetDatasetsInTapeDiskPage(collectionName, inTapeDiskApiEP, rseDetailsApiEP, shortUrlApiEP, baseEP string) gin.HandlerFunc
GetDatasetsInTapeDiskPage serves datasets_in_tape_disk.tmpl page
func GetDetailedDatasets ¶
func GetDetailedDatasets(collectionName string) gin.HandlerFunc
GetDetailedDatasets controller that returns datasets according to DataTable request json
func GetDetailedDatasetsPage ¶
func GetDetailedDatasetsPage(collectionName, detailedDsApiEP, shortUrlApiEP, baseEP string) gin.HandlerFunc
GetDetailedDatasetsPage serves detailed_datasets.tmpl page
func GetEachRseDetails ¶
func GetEachRseDetails(collectionName string) gin.HandlerFunc
GetEachRseDetails controller that returns detailed dataset in TAPE or DISK
func GetIndexPageFromShortUrlId ¶
func GetIndexPageFromShortUrlId(shortUrlCollectionName, datasourceTimestampCollectionName, mainDsApiEP, detailedDsApiEP, inTapeDiskApiEP, rseDetailsApiEP, shortUrlApiEP, baseEP string) gin.HandlerFunc
GetIndexPageFromShortUrlId controller that returns page from short url hash id
func GetMainDatasets ¶
func GetMainDatasets(collectionName string) gin.HandlerFunc
GetMainDatasets controller
func GetMainDatasetsPage ¶
func GetMainDatasetsPage(collectionName, mainDsApiEP, shortUrlApiEP, rseDetailsApiEP, baseEP string) gin.HandlerFunc
GetMainDatasetsPage serves main_datasets.tmpl page
func GetRequestFromShortUrl ¶
func GetRequestFromShortUrl(ctx context.Context, c *gin.Context, shortUrlCollectionName string, hashId string) models.ShortUrl
GetRequestFromShortUrl get query results efficiently
func GetServiceInfo ¶
func GetServiceInfo(gitVersion string, serviceInfo string) gin.HandlerFunc
GetServiceInfo provides basic functionality of status response
func GetShortUrl ¶
func GetShortUrl(ctx context.Context, c *gin.Context, shortUrlCollectionName string, req models.ShortUrlRequest) string
GetShortUrl get query results efficiently
func GetShortUrlParam ¶
func GetShortUrlParam(collectionName string) gin.HandlerFunc
GetShortUrlParam controller that returns short url parameter which is md5 hash of the datatables request
func InitializeCtxAndBindRequestBody ¶
func InitializeCtxAndBindRequestBody(c *gin.Context, req interface{}) (context.Context, context.CancelFunc, interface{})
InitializeCtxAndBindRequestBody initialize controller requirements
initialize context, bind request json for the controller, prints initial logs, gets start time etc.
Types ¶
This section is empty.