Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
sarahalsmiller and nathancoleman committed Jan 27, 2023

Unverified

This user has not yet uploaded their public signing key.
1 parent 8728a44 commit 33cec65
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
@@ -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 {
4 changes: 1 addition & 3 deletions agent/consul/gateways/controller_routes.go
Original file line number Diff line number Diff line change
@@ -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 {

0 comments on commit 33cec65

Please sign in to comment.