27 lines
652 B
Go
27 lines
652 B
Go
// +build !consulent
|
|
|
|
package state
|
|
|
|
import (
|
|
memdb "github.com/hashicorp/go-memdb"
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
)
|
|
|
|
type EnterpriseServiceUsage struct{}
|
|
type EnterpriseNodeUsage struct{}
|
|
|
|
func addEnterpriseNodeUsage(map[string]int, memdb.Change) {}
|
|
|
|
func addEnterpriseServiceInstanceUsage(map[string]int, memdb.Change) {}
|
|
|
|
func addEnterpriseServiceUsage(map[string]int, map[structs.ServiceName]uniqueServiceState) {}
|
|
|
|
func compileEnterpriseServiceUsage(tx ReadTxn, usage ServiceUsage) (ServiceUsage, error) {
|
|
return usage, nil
|
|
}
|
|
|
|
func compileEnterpriseNodeUsage(tx ReadTxn, usage NodeUsage) (NodeUsage, error) {
|
|
return usage, nil
|
|
}
|