2023-03-28 23:48:58 +01:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-11-16 12:04:01 -06:00
|
|
|
//go:build !consulent
|
2019-05-01 11:11:27 -04:00
|
|
|
// +build !consulent
|
2017-09-14 14:31:01 -05:00
|
|
|
|
|
|
|
package sentinel
|
|
|
|
|
|
|
|
import (
|
2020-01-28 17:50:41 -06:00
|
|
|
"github.com/hashicorp/go-hclog"
|
2017-09-14 14:31:01 -05: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 17:50:41 -06:00
|
|
|
func New(logger hclog.Logger) Evaluator {
|
2017-09-14 14:31:01 -05:00
|
|
|
return nil
|
|
|
|
}
|