2022-09-05 09:06:08 +02:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2023-01-19 15:57:50 +01:00
|
|
|
// Package license provides functions to check a user's Constellation license.
|
2022-08-16 16:06:38 +02:00
|
|
|
package license
|
|
|
|
|
2023-12-22 10:16:36 +01:00
|
|
|
// Action performed by Constellation.
|
|
|
|
type Action string
|
2022-08-16 16:06:38 +02:00
|
|
|
|
|
|
|
const (
|
|
|
|
// CommunityLicense is used by everyone who has not bought an enterprise license.
|
|
|
|
CommunityLicense = "00000000-0000-0000-0000-000000000000"
|
|
|
|
|
2022-11-09 15:57:54 +01:00
|
|
|
// Init action denotes the initialization of a Constellation cluster.
|
2022-08-16 16:06:38 +02:00
|
|
|
Init Action = "init"
|
2023-12-22 10:16:36 +01:00
|
|
|
// Apply action denotes an update of a Constellation cluster.
|
|
|
|
// It is used after a cluster has already been initialized once.
|
|
|
|
Apply Action = "apply"
|
2022-08-16 16:06:38 +02:00
|
|
|
)
|