Documentation
¶
Index ¶
- func IsCloud(license *model.License) bool
- func IsConfiguredForDevelopment(config *model.Config) bool
- func IsE10LicensedOrDevelopment(config *model.Config, license *model.License) bool
- func IsE20LicensedOrDevelopment(config *model.Config, license *model.License) bool
- func IsEnterpriseLicensedOrDevelopment(config *model.Config, license *model.License) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConfiguredForDevelopment ¶
IsConfiguredForDevelopment returns true when the server has `EnableDeveloper` and `EnableTesting` configuration settings enabled, signaling a non-production, developer mode.
func IsE10LicensedOrDevelopment ¶
IsE10LicensedOrDevelopment returns true when the server is at least licensed with a legacy Mattermost Enterprise E10 License or a Mattermost Professional License, or has `EnableDeveloper` and `EnableTesting` configuration settings enabled, signaling a non-production, developer mode.
func IsE20LicensedOrDevelopment ¶
IsE20LicensedOrDevelopment returns true when the server is licensed with a legacy Mattermost Enterprise E20 License or a Mattermost Enterprise License, or has `EnableDeveloper` and `EnableTesting` configuration settings enabled, signaling a non-production, developer mode.
func IsEnterpriseLicensedOrDevelopment ¶
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.
Types ¶
This section is empty.