mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 08:54:21 -05:00
21 lines
417 B
Go
21 lines
417 B
Go
|
//go:build !enterprise
|
||
|
|
||
|
package license
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"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, printer func(string, ...any)) error {
|
||
|
return nil
|
||
|
}
|