2023-03-28 22:48:58 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 22:48:58 +00:00
|
|
|
|
2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2017-09-14 19:31:01 +00:00
|
|
|
|
|
|
|
package sentinel
|
|
|
|
|
|
|
|
import (
|
2020-01-28 23:50:41 +00:00
|
|
|
"github.com/hashicorp/go-hclog"
|
2017-09-14 19:31:01 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// New returns a new instance of the Sentinel code engine. This is only available
|
|
|
|
// in Consul Enterprise so this version always returns nil.
|
2020-01-28 23:50:41 +00:00
|
|
|
func New(logger hclog.Logger) Evaluator {
|
2017-09-14 19:31:01 +00:00
|
|
|
return nil
|
|
|
|
}
|