Documentation ¶
Index ¶
- Constants
- Variables
- func CheckAdminTaskAccessible(ctx context.Context) (err error)
- func CheckSnapshotAccessible(ctx context.Context) (err error)
- func GetHeader(c echo.Context, key string, defvalues []string) []string
- func ParseAdminTaskFilters(c echo.Context) api.AdminTaskFilterData
- func ParseFilters(c echo.Context) api.FilterData
- func ParsePagination(c echo.Context) api.PaginationData
- func ParseTaskInfoFilters(c echo.Context) api.TaskInfoFilterData
- func ParseTemplateFilters(c echo.Context) api.TemplateFilterData
- func RegisterAdminTaskRoutes(engine *echo.Group, daoReg *dao.DaoRegistry)
- func RegisterCandlepinRoutes(engine *echo.Group, cpClient *candlepin_client.CandlepinClient, ...)
- func RegisterEnvironmentRoutes(engine *echo.Group, rDao *dao.DaoRegistry)
- func RegisterFeaturesRoutes(engine *echo.Group)
- func RegisterPackageGroupRoutes(engine *echo.Group, rDao *dao.DaoRegistry)
- func RegisterPing(engine *echo.Echo)
- func RegisterPopularRepositoriesRoutes(engine *echo.Group, dao *dao.DaoRegistry)
- func RegisterPublicRepositoriesRoutes(engine *echo.Group, dao *dao.DaoRegistry)
- func RegisterPulpRoutes(engine *echo.Group, daoReg *dao.DaoRegistry)
- func RegisterRepositoryParameterRoutes(engine *echo.Group, dao *dao.DaoRegistry)
- func RegisterRepositoryRoutes(engine *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
- func RegisterRoutes(ctx context.Context, engine *echo.Echo)
- func RegisterRpmRoutes(engine *echo.Group, rDao *dao.DaoRegistry)
- func RegisterSnapshotRoutes(group *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
- func RegisterTaskInfoRoutes(engine *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
- func RegisterTemplateRoutes(engine *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
- type AdminTaskHandler
- type CandlepinHandler
- type FeaturesHandler
- type PopularRepositoriesHandler
- type PublicRepositoriesHandler
- type PulpHandler
- type RepositoryEnvironmentHandler
- type RepositoryHandler
- type RepositoryPackageGroupHandler
- type RepositoryParameterHandler
- type RpmHandler
- type SnapshotHandler
- type TaskInfoHandler
- type TemplateHandler
Constants ¶
View Source
const BulkCreateLimit = 20
View Source
const BulkDeleteLimit = 100
View Source
const DefaultAccountId = ""
View Source
const DefaultAdminTaskStatus = ""
View Source
const DefaultArch = ""
View Source
const DefaultAvailableForArch = ""
View Source
const DefaultAvailableForVersion = ""
View Source
const DefaultLimit = 100
View Source
const DefaultOffset = 0
View Source
const DefaultOrgId = ""
View Source
const DefaultSearch = ""
View Source
const DefaultSortBy = ""
View Source
const DefaultStatus = ""
View Source
const DefaultURL = ""
View Source
const DefaultUUID = ""
View Source
const DefaultVersion = ""
View Source
const MaxLimit = 200
View Source
const RequestTimeout = time.Second * 3
View Source
const SnapshotByDateQueryLimit = 1000
SnapshotByDateQueryLimit - Max number of repository snapshots permitted to query at a time by date.
Variables ¶
View Source
var PulpConnected bool
View Source
var RHProductIDs = []string{"479"}
Functions ¶
func CheckSnapshotAccessible ¶
func ParseAdminTaskFilters ¶
func ParseAdminTaskFilters(c echo.Context) api.AdminTaskFilterData
func ParseFilters ¶
func ParseFilters(c echo.Context) api.FilterData
func ParsePagination ¶
func ParsePagination(c echo.Context) api.PaginationData
func ParseTaskInfoFilters ¶
func ParseTaskInfoFilters(c echo.Context) api.TaskInfoFilterData
func ParseTemplateFilters ¶
func ParseTemplateFilters(c echo.Context) api.TemplateFilterData
func RegisterAdminTaskRoutes ¶
func RegisterAdminTaskRoutes(engine *echo.Group, daoReg *dao.DaoRegistry)
func RegisterCandlepinRoutes ¶
func RegisterCandlepinRoutes(engine *echo.Group, cpClient *candlepin_client.CandlepinClient, cache *cache.Cache)
func RegisterEnvironmentRoutes ¶
func RegisterEnvironmentRoutes(engine *echo.Group, rDao *dao.DaoRegistry)
func RegisterFeaturesRoutes ¶
func RegisterFeaturesRoutes(engine *echo.Group)
func RegisterPackageGroupRoutes ¶
func RegisterPackageGroupRoutes(engine *echo.Group, rDao *dao.DaoRegistry)
func RegisterPing ¶
func RegisterPing(engine *echo.Echo)
func RegisterPopularRepositoriesRoutes ¶
func RegisterPopularRepositoriesRoutes(engine *echo.Group, dao *dao.DaoRegistry)
func RegisterPublicRepositoriesRoutes ¶
func RegisterPublicRepositoriesRoutes(engine *echo.Group, dao *dao.DaoRegistry)
func RegisterPulpRoutes ¶
func RegisterPulpRoutes(engine *echo.Group, daoReg *dao.DaoRegistry)
func RegisterRepositoryParameterRoutes ¶
func RegisterRepositoryParameterRoutes(engine *echo.Group, dao *dao.DaoRegistry)
func RegisterRepositoryRoutes ¶
func RegisterRepositoryRoutes(engine *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
func RegisterRoutes ¶
func RegisterRpmRoutes ¶
func RegisterRpmRoutes(engine *echo.Group, rDao *dao.DaoRegistry)
func RegisterSnapshotRoutes ¶
func RegisterSnapshotRoutes(group *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
func RegisterTaskInfoRoutes ¶
func RegisterTaskInfoRoutes(engine *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
func RegisterTemplateRoutes ¶
func RegisterTemplateRoutes(engine *echo.Group, daoReg *dao.DaoRegistry, taskClient *client.TaskClient)
Types ¶
type AdminTaskHandler ¶
type AdminTaskHandler struct {
DaoRegistry dao.DaoRegistry
}
type CandlepinHandler ¶
type CandlepinHandler struct {
// contains filtered or unexported fields
}
type FeaturesHandler ¶
type FeaturesHandler struct { }
type PopularRepositoriesHandler ¶
type PopularRepositoriesHandler struct {
Dao dao.DaoRegistry
}
type PublicRepositoriesHandler ¶
type PublicRepositoriesHandler struct {
DaoRegistry dao.DaoRegistry
}
type PulpHandler ¶
type PulpHandler struct {
DaoRegistry dao.DaoRegistry
}
type RepositoryEnvironmentHandler ¶
type RepositoryEnvironmentHandler struct {
Dao dao.DaoRegistry
}
type RepositoryHandler ¶
type RepositoryHandler struct { DaoRegistry dao.DaoRegistry TaskClient client.TaskClient }
func (*RepositoryHandler) CheckSnapshotForRepo ¶
func (rh *RepositoryHandler) CheckSnapshotForRepo(c echo.Context, snapshotParam *bool) error
func (*RepositoryHandler) CheckSnapshotForRepos ¶
func (rh *RepositoryHandler) CheckSnapshotForRepos(c echo.Context, repos []api.RepositoryRequest) error
CheckSnapshotForRepos checks if for a given RepositoryRequest, snapshotting can be done
type RepositoryPackageGroupHandler ¶
type RepositoryPackageGroupHandler struct {
Dao dao.DaoRegistry
}
type RepositoryParameterHandler ¶
type RepositoryParameterHandler struct {
// contains filtered or unexported fields
}
type RpmHandler ¶
type RpmHandler struct {
Dao dao.DaoRegistry
}
type SnapshotHandler ¶
type SnapshotHandler struct { DaoRegistry dao.DaoRegistry TaskClient client.TaskClient }
type TaskInfoHandler ¶
type TaskInfoHandler struct { DaoRegistry dao.DaoRegistry TaskClient client.TaskClient }
type TemplateHandler ¶
type TemplateHandler struct { DaoRegistry dao.DaoRegistry TaskClient client.TaskClient }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.