license

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: AGPL-3.0, Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCloud

func IsCloud(license *model.License) bool

IsCloud returns true when the server is on cloud, and false otherwise.

func IsCloudStarter added in v1.0.0

func IsCloudStarter(license *model.License) bool

func IsConfiguredForDevelopment

func IsConfiguredForDevelopment(config *model.Config) bool

IsConfiguredForDevelopment returns true when the server has `EnableDeveloper` and `EnableTesting` configuration settings enabled, signaling a non-production, developer mode.

func IsEnterprise added in v1.0.0

func IsEnterprise(license *model.License) bool

func IsEnterpriseAdvanced added in v1.8.0

func IsEnterpriseAdvanced(license *model.License) bool

func IsEnterpriseLicensedOrDevelopment

func IsEnterpriseLicensedOrDevelopment(config *model.Config, license *model.License) bool

IsEnterpriseLicensedOrDevelopment returns true when the server is licensed with any Mattermost Enterprise License, or has `EnableDeveloper` and `EnableTesting` configuration settings enabled signaling a non-production, developer mode.

func IsMinimumEnterpriseLicensedOrDevelopment added in v1.8.0

func IsMinimumEnterpriseLicensedOrDevelopment(config *model.Config, license *model.License) bool

IsMinimumEnterpriseLicensedOrDevelopment returns true when the server is at least licensed with a Mattermost Enterprise License, or has `EnableDeveloper` and `EnableTesting` configuration settings enabled, signaling a non-production, developer mode.

func IsMinimumProfessionalLicensedOrDevelopment added in v1.8.0

func IsMinimumProfessionalLicensedOrDevelopment(config *model.Config, license *model.License) bool

IsMinimumProfessionalLicensedOrDevelopment returns true when the server is at least licensed with a Mattermost Professional License, or has `EnableDeveloper` and `EnableTesting` configuration settings enabled, signaling a non-production, developer mode.

func IsProfessional added in v1.0.0

func IsProfessional(license *model.License) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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