refactor: delete wrappers superseded by live entry points

Remove controlplanerpc.NewClient (superseded by NewRPCClient), Loader.Overlay
(-config-overlay reaches Resolve directly), and setup.Run (RunParams is
the live entry point). Move ResolverFunc into a test file, since only
tests adapt functions to the egress Resolver.
This commit is contained in:
sam committed 2026-10-14 23:10:35 +11:00
1 parent c833b651a9
commit f537d5f8cd
5 files changed
+11 -26

No files matched your search

@@ -9,7 +9,6 @@ import (
"fmt"
"time"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
@@ -36,10 +35,6 @@ var (
type Client struct{ rpc pb.ControlPlaneServiceClient }
func NewClient(conn grpc.ClientConnInterface) *Client {
return &Client{rpc: pb.NewControlPlaneServiceClient(conn)}
}
func NewRPCClient(client pb.ControlPlaneServiceClient) *Client { return &Client{rpc: client} }
// ResourceReader is the read side of the control-plane client: one resource