Skip to content

Commit

Permalink
Implement the service endpoints controller
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeler committed Jun 5, 2023
1 parent 5c8f4cc commit a5870b8
Show file tree
Hide file tree
Showing 26 changed files with 3,390 additions and 12 deletions.
2 changes: 2 additions & 0 deletions internal/catalog/exports.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package catalog
import (
"github.com/hashicorp/consul/internal/catalog/internal/controllers"
"github.com/hashicorp/consul/internal/catalog/internal/mappers/nodemapper"
"github.com/hashicorp/consul/internal/catalog/internal/mappers/selectiontracker"
"github.com/hashicorp/consul/internal/catalog/internal/types"
"github.com/hashicorp/consul/internal/controller"
"github.com/hashicorp/consul/internal/resource"
Expand Down Expand Up @@ -52,6 +53,7 @@ type ControllerDependencies = controllers.Dependencies
func DefaultControllerDependencies() ControllerDependencies {
return ControllerDependencies{
WorkloadHealthNodeMapper: nodemapper.New(),
EndpointsWorkloadMapper: selectiontracker.New(),
}
}

Expand Down
Loading

0 comments on commit a5870b8

Please sign in to comment.