Versions in this module Expand all Collapse all v0 v0.0.1 Oct 31, 2024 Changes in this version + type Handler struct + func NewHandler(config *api.APIConfig, service Service, databaseClient database.Client) Handler + func (h *Handler) CreateCatalogEntity(c *gin.Context) + func (h *Handler) DeleteCatalogEntity(c *gin.Context) + func (h *Handler) GetCatalogEntities(c *gin.Context) + func (h *Handler) GetCatalogEntity(c *gin.Context) + func (h *Handler) GetCatalogEntityKeys(c *gin.Context) + func (h *Handler) GetCatalogEntityLabels(c *gin.Context) + func (h *Handler) GetCatalogEntityParentKeys(c *gin.Context) + func (h *Handler) GetCatalogEntityParentValues(c *gin.Context) + func (h *Handler) GetCatalogEntityValues(c *gin.Context) + func (h *Handler) GetCatalogGroup(c *gin.Context) + func (h *Handler) GetCatalogGroups(c *gin.Context) + func (h *Handler) GetCatalogUser(c *gin.Context) + func (h *Handler) GetCatalogUsers(c *gin.Context) + func (h *Handler) UpdateCatalogEntity(c *gin.Context) + type MockService struct + func NewMockService(ctrl *gomock.Controller) *MockService + func (m *MockService) CreateCatalogEntity(ctx context.Context, catalogEntity contracts.CatalogEntity) (*contracts.CatalogEntity, error) + func (m *MockService) DeleteCatalogEntity(ctx context.Context, id string) error + func (m *MockService) EXPECT() *MockServiceMockRecorder + func (m *MockService) UpdateCatalogEntity(ctx context.Context, catalogEntity contracts.CatalogEntity) error + type MockServiceMockRecorder struct + func (mr *MockServiceMockRecorder) CreateCatalogEntity(ctx, catalogEntity interface{}) *gomock.Call + func (mr *MockServiceMockRecorder) DeleteCatalogEntity(ctx, id interface{}) *gomock.Call + func (mr *MockServiceMockRecorder) UpdateCatalogEntity(ctx, catalogEntity interface{}) *gomock.Call + type Service interface + CreateCatalogEntity func(ctx context.Context, catalogEntity contracts.CatalogEntity) (insertedCatalogEntity *contracts.CatalogEntity, err error) + DeleteCatalogEntity func(ctx context.Context, id string) (err error) + UpdateCatalogEntity func(ctx context.Context, catalogEntity contracts.CatalogEntity) (err error) + func NewLoggingService(s Service) Service + func NewMetricsService(s Service, requestCount metrics.Counter, requestLatency metrics.Histogram) Service + func NewService(config *api.APIConfig, databaseClient database.Client) Service + func NewTracingService(s Service) Service