mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
29 lines
693 B
Go
29 lines
693 B
Go
//go:build !enterprise
|
|
|
|
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
package license
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/edgelesssys/constellation/internal/cloud/cloudprovider"
|
|
"github.com/edgelesssys/constellation/internal/config"
|
|
"github.com/edgelesssys/constellation/internal/file"
|
|
)
|
|
|
|
type Checker struct{}
|
|
|
|
func NewChecker(quotaChecker QuotaChecker, fileHandler file.Handler) *Checker {
|
|
return &Checker{}
|
|
}
|
|
|
|
// CheckLicense is a no-op for open source version of Constellation.
|
|
func (c *Checker) CheckLicense(ctx context.Context, provider cloudprovider.Provider, providerCfg config.ProviderConfig, printer func(string, ...any)) error {
|
|
return nil
|
|
}
|