licensingtest

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLicensing

type FakeLicensing struct {
	*mock.Mock
}

func NewFakeLicensing

func NewFakeLicensing() *FakeLicensing

func (*FakeLicensing) ContentDeliveryPrefix

func (f *FakeLicensing) ContentDeliveryPrefix() string

func (*FakeLicensing) Edition

func (f *FakeLicensing) Edition() string

func (*FakeLicensing) EnabledFeatures

func (f *FakeLicensing) EnabledFeatures() map[string]bool

func (*FakeLicensing) Expiry

func (f *FakeLicensing) Expiry() int64

func (*FakeLicensing) FeatureEnabled

func (f *FakeLicensing) FeatureEnabled(feature string) bool

func (*FakeLicensing) LicenseURL

func (f *FakeLicensing) LicenseURL(showAdminLicensingPage bool) string

func (*FakeLicensing) StateInfo

func (f *FakeLicensing) StateInfo() string

Jump to

Keyboard shortcuts

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