2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2021-10-01 13:59:55 +00:00
|
|
|
//go:build !ent
|
2020-02-10 20:56:14 +00:00
|
|
|
// +build !ent
|
2017-09-07 23:56:15 +00:00
|
|
|
|
|
|
|
package nomad
|
|
|
|
|
2018-01-03 22:59:52 +00:00
|
|
|
import "net/rpc"
|
|
|
|
|
2017-09-07 23:56:15 +00:00
|
|
|
// EnterpriseEndpoints holds the set of enterprise only endpoints to register
|
|
|
|
type EnterpriseEndpoints struct{}
|
|
|
|
|
|
|
|
// NewEnterpriseEndpoints returns a stub of the enterprise endpoints since there
|
|
|
|
// are none in oss
|
2022-12-01 15:05:15 +00:00
|
|
|
func NewEnterpriseEndpoints(s *Server, ctx *RPCContext) *EnterpriseEndpoints {
|
2017-09-07 23:56:15 +00:00
|
|
|
return &EnterpriseEndpoints{}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Register is a no-op in oss.
|
2018-01-03 22:59:52 +00:00
|
|
|
func (e *EnterpriseEndpoints) Register(s *rpc.Server) {}
|