ed3e42296d
Signed-off-by: Mark Anderson <manderson@hashicorp.com>
16 lines
305 B
Go
16 lines
305 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package state
|
|
|
|
import (
|
|
memdb "github.com/hashicorp/go-memdb"
|
|
|
|
"github.com/hashicorp/consul/acl"
|
|
)
|
|
|
|
func intentionListTxn(tx ReadTxn, _ *acl.EnterpriseMeta) (memdb.ResultIterator, error) {
|
|
// Get all intentions
|
|
return tx.Get(tableConnectIntentions, "id")
|
|
}
|