licensing

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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionRead        = "licensing:read"
	ActionUpdate      = "licensing:update"
	ActionDelete      = "licensing:delete"
	ActionReportsRead = "licensing.reports:read"
)

Variables

PageAccess defines permissions that grant access to the licensing and stats page

Functions

This section is empty.

Types

type OSSLicensingService

type OSSLicensingService struct {
	Cfg          *setting.Cfg
	HooksService *hooks.HooksService
}

func ProvideService

func ProvideService(cfg *setting.Cfg, hooksService *hooks.HooksService) *OSSLicensingService

func (*OSSLicensingService) ContentDeliveryPrefix

func (*OSSLicensingService) ContentDeliveryPrefix() string

func (*OSSLicensingService) Edition

func (*OSSLicensingService) Edition() string

func (*OSSLicensingService) EnabledFeatures

func (*OSSLicensingService) EnabledFeatures() map[string]bool

func (*OSSLicensingService) Expiry

func (*OSSLicensingService) Expiry() int64

func (*OSSLicensingService) FeatureEnabled

func (*OSSLicensingService) FeatureEnabled(feature string) bool

func (*OSSLicensingService) LicenseURL

func (l *OSSLicensingService) LicenseURL(showAdminLicensingPage bool) string

func (*OSSLicensingService) StateInfo

func (*OSSLicensingService) StateInfo() string

Jump to

Keyboard shortcuts

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