Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorHandler emperror.Handler
View Source
var Log logrus.FieldLogger
Log is a logrus.FieldLogger nolint: gochecknoglobals
Functions ¶
func ARKMiddleware ¶
func ARKMiddleware(db *gorm.DB, logger logrus.FieldLogger) gin.HandlerFunc
ARKMiddleware is a middleware for initializing a CommonCluster and an ARKService from the request parameters for later use
func ErrorResponse ¶
ErrorResponse aborts the http request with a JSON error response with a status code and error
func GetARKService ¶
GetARKService return the current ark.Service model
func GetBucketLocation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.