Admin: Add promotional page for Grafana Enterprise (#21422)

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
Emil Tullstedt
2020-01-15 14:50:44 +01:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 32f055111c
commit 29687903f8
16 changed files with 493 additions and 27 deletions
-18
View File
@@ -10,21 +10,3 @@ type Licensing interface {
// Expiry returns the unix epoch timestamp when the license expires, or 0 if no valid license is provided
Expiry() int64
}
type OSSLicensingService struct{}
func (OSSLicensingService) HasLicense() bool {
return false
}
func (OSSLicensingService) Expiry() int64 {
return 0
}
func (OSSLicensingService) Init() error {
return nil
}
func (OSSLicensingService) HasValidLicense() bool {
return false
}