grafana/pkg/services/ldap/ldap_groups.go

16 lines
299 B
Go

package ldap
type Groups interface {
GetTeams(groups []string, orgIDs []int64) ([]TeamOrgGroupDTO, error)
}
type OSSGroups struct{}
func ProvideGroupsService() *OSSGroups {
return &OSSGroups{}
}
func (*OSSGroups) GetTeams(_ []string, _ []int64) ([]TeamOrgGroupDTO, error) {
return nil, nil
}