Skip to content

Commit

Permalink
Add controller stubs for API Gateway (#15837)
Browse files Browse the repository at this point in the history
* update initial stub implementation

* move files, clean up mutex references

* Remove embed, use idiomatic names for constructors

* Remove stray file introduced in merge

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
  • Loading branch information
sarahalsmiller and nathancoleman committed Jan 24, 2023
1 parent 6167aef commit 1e8ddff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions agent/consul/gateways/controller_gateways.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ package gateways

import (
"context"

"github.com/hashicorp/go-hclog"

"github.com/hashicorp/consul/agent/consul/controller"
"github.com/hashicorp/consul/agent/consul/fsm"
"github.com/hashicorp/consul/agent/consul/state"
"github.com/hashicorp/consul/agent/consul/stream"
"github.com/hashicorp/go-hclog"
)

type apiGatewayReconciler struct {
Expand Down
4 changes: 1 addition & 3 deletions agent/consul/gateways/controller_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ package gateways

import (
"context"

"github.com/hashicorp/go-hclog"

"github.com/hashicorp/consul/agent/consul/controller"
"github.com/hashicorp/consul/agent/consul/fsm"
"github.com/hashicorp/consul/agent/consul/state"
"github.com/hashicorp/consul/agent/consul/stream"
"github.com/hashicorp/go-hclog"
)

type tcpRouteReconciler struct {
Expand Down

0 comments on commit 1e8ddff

Please sign in to comment.