mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-14 01:20:43 -05:00
cli: define feature set of cli editions and exit early if a feature is not supported
This commit is contained in:
parent
8a851c8f39
commit
c62e54831b
9 changed files with 97 additions and 8 deletions
15
cli/internal/featureset/featureset_oss.go
Normal file
15
cli/internal/featureset/featureset_oss.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//go:build !enterprise
|
||||
|
||||
/*
|
||||
Copyright (c) Edgeless Systems GmbH
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package featureset
|
||||
|
||||
const (
|
||||
edition = EditionOSS
|
||||
canFetchMeasurements = false
|
||||
canUpgradeCheck = false
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue