Skip to content

Commit

Permalink
server: remove unused endpoints struct. (hashicorp#17665)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasell authored Jun 23, 2023
1 parent 2dec8ba commit 6f7dc6a
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions nomad/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,36 +288,6 @@ type Server struct {
shutdownCh <-chan struct{}
}

// Holds the RPC endpoints
type endpoints struct {
Status *Status
Node *Node
Job *Job
CSIVolume *CSIVolume
CSIPlugin *CSIPlugin
Deployment *Deployment
Region *Region
Search *Search
Periodic *Periodic
System *System
Operator *Operator
ACL *ACL
Scaling *Scaling
Enterprise *EnterpriseEndpoints
Event *Event
Namespace *Namespace
Variables *Variables
Keyring *Keyring
ServiceRegistration *ServiceRegistration

// Client endpoints
ClientStats *ClientStats
FileSystem *FileSystem
Agent *Agent
ClientAllocations *ClientAllocations
ClientCSI *ClientCSI
}

// NewServer is used to construct a new Nomad server from the
// configuration, potentially returning an error
func NewServer(config *Config, consulCatalog consul.CatalogAPI, consulConfigEntries consul.ConfigAPI, consulACLs consul.ACLsAPI) (*Server, error) {
Expand Down

0 comments on commit 6f7dc6a

Please sign in to comment.