mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-10 07:50:08 -04:00

find -name '*.go' -exec sed -i 's/SPDX-License-Identifier: AGPL-3.0-only/SPDX-License-Identifier: BUSL-1.1/' {} +
24 lines
765 B
Go
24 lines
765 B
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
// Package license provides functions to check a user's Constellation license.
|
|
package license
|
|
|
|
// Action performed by Constellation.
|
|
type Action string
|
|
|
|
const (
|
|
// CommunityLicense is used by everyone who has not bought an enterprise license.
|
|
CommunityLicense = "00000000-0000-0000-0000-000000000000"
|
|
// MarketplaceLicense is used by everyone who uses a marketplace image.
|
|
MarketplaceLicense = "11111111-1111-1111-1111-111111111111"
|
|
|
|
// Init action denotes the initialization of a Constellation cluster.
|
|
Init Action = "init"
|
|
// Apply action denotes an update of a Constellation cluster.
|
|
// It is used after a cluster has already been initialized once.
|
|
Apply Action = "apply"
|
|
)
|