2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2019-05-01 15:11:27 +00:00
|
|
|
// +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
|
|
|
|
}
|