open-nomad/nomad/endpoints_oss.go
2017-09-07 17:04:21 -07:00

16 lines
429 B
Go

// +build !pro,!ent
package nomad
// 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
func NewEnterpriseEndpoints(s *Server) *EnterpriseEndpoints {
return &EnterpriseEndpoints{}
}
// Register is a no-op in oss.
func (e *EnterpriseEndpoints) Register(s *Server) {}