2023-03-28 18:39:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-11-15 15:51:14 +00:00
|
|
|
//go:build !consulent
|
2019-05-01 15:11:27 +00:00
|
|
|
// +build !consulent
|
2018-05-24 14:36:42 +00:00
|
|
|
|
|
|
|
package consul
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/serf/serf"
|
|
|
|
)
|
|
|
|
|
|
|
|
type EnterpriseClient struct{}
|
|
|
|
|
2021-05-11 14:50:03 +00:00
|
|
|
func (c *Client) initEnterprise(_ Deps) error {
|
2018-05-24 14:36:42 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-11-15 15:51:14 +00:00
|
|
|
func enterpriseModifyClientSerfConfigLAN(_ *Config, _ *serf.Config) {
|
|
|
|
// nothing
|
|
|
|
}
|
|
|
|
|
2018-05-24 14:36:42 +00:00
|
|
|
func (c *Client) startEnterprise() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Client) handleEnterpriseUserEvents(event serf.UserEvent) bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
func (c *Client) enterpriseStats() map[string]map[string]string {
|
|
|
|
return nil
|
|
|
|
}
|