searchV2

package
v0.0.85-test Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DashboardQuery

type DashboardQuery struct {
	Query string
}

type FutureAuthService

type FutureAuthService interface {
	GetDashboardReadFilter(user *models.SignedInUser) (ResourceFilter, error)
}

FutureAuthService eventually implemented by the security service

type ResourceFilter

type ResourceFilter func(uid string) bool

ResourceFilter checks if a given a uid (resource identifier) check if we have the requested permission

type SearchService

type SearchService interface {
	DoDashboardQuery(ctx context.Context, user *backend.User, orgId int64, query DashboardQuery) *backend.DataResponse
}

func NewStubSearchService

func NewStubSearchService() SearchService

func ProvideService

func ProvideService(sql *sqlstore.SQLStore) SearchService

type StandardSearchService

type StandardSearchService struct {
	// contains filtered or unexported fields
}

func (*StandardSearchService) DoDashboardQuery

func (s *StandardSearchService) DoDashboardQuery(ctx context.Context, user *backend.User, orgId int64, query DashboardQuery) *backend.DataResponse

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL