mirror of https://github.com/hashicorp/consul
17 lines
355 B
Go
17 lines
355 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
//go:build !consulent
|
|
|
|
package sentinel
|
|
|
|
import (
|
|
"github.com/hashicorp/go-hclog"
|
|
)
|
|
|
|
// New returns a new instance of the Sentinel code engine. This is only available
|
|
// in Consul Enterprise so this version always returns nil.
|
|
func New(logger hclog.Logger) Evaluator {
|
|
return nil
|
|
}
|