Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented")
Functions ¶
func NewMockDatasourcePermissionService ¶
func NewMockDatasourcePermissionService() *mockDatasourcePermissionService
Types ¶
type DatasourcePermissionsService ¶
type DatasourcePermissionsService interface {
FilterDatasourcesBasedOnQueryPermissions(ctx context.Context, cmd *datasources.DatasourcesPermissionFilterQuery) ([]*datasources.DataSource, error)
}
type OSSDatasourcePermissionsService ¶
type OSSDatasourcePermissionsService struct{}
func ProvideDatasourcePermissionsService ¶
func ProvideDatasourcePermissionsService() *OSSDatasourcePermissionsService
func (*OSSDatasourcePermissionsService) FilterDatasourcesBasedOnQueryPermissions ¶
func (hs *OSSDatasourcePermissionsService) FilterDatasourcesBasedOnQueryPermissions(ctx context.Context, cmd *datasources.DatasourcesPermissionFilterQuery) ([]*datasources.DataSource, error)
dummy method
Click to show internal directories.
Click to hide internal directories.