mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 23:35:31 +02:00
feat(license): remove untrusted devices from node count [EE-5357] (#8817)
This commit is contained in:
parent
5f6ddc2fad
commit
cfed481d6e
7 changed files with 102 additions and 35 deletions
|
@ -1,18 +1,22 @@
|
|||
// matches https://github.com/portainer/liblicense/blob/master/liblicense.go#L66-L74
|
||||
// matches https://github.com/portainer/liblicense/blob/develop/liblicense.go#L66-L74
|
||||
export enum Edition {
|
||||
CE = 1,
|
||||
BE,
|
||||
EE,
|
||||
}
|
||||
|
||||
// matches https://github.com/portainer/liblicense/blob/master/liblicense.go#L60-L64
|
||||
// matches https://github.com/portainer/liblicense/blob/develop/liblicense.go#L64-L69
|
||||
|
||||
export enum LicenseType {
|
||||
Trial = 1,
|
||||
Subscription,
|
||||
/**
|
||||
* Essentials is the free 5-node license type
|
||||
*/
|
||||
Essentials,
|
||||
}
|
||||
|
||||
// matches https://github.com/portainer/liblicense/blob/master/liblicense.go#L35-L50
|
||||
// matches https://github.com/portainer/liblicense/blob/develop/liblicense.go#L35-L50
|
||||
export interface License {
|
||||
id: string;
|
||||
company: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue