ManagementServer is a thin wrapper around the xDS control plane implementation provided by envoyproxy/go-control-plane.
| 47 | // ManagementServer is a thin wrapper around the xDS control plane |
| 48 | // implementation provided by envoyproxy/go-control-plane. |
| 49 | type ManagementServer struct { |
| 50 | // Address is the host:port on which the management server is listening for |
| 51 | // new connections. |
| 52 | Address string |
| 53 | |
| 54 | // LRSServer points to the fake LRS server implementation. Set only if the |
| 55 | // SupportLoadReportingService option was set to true when creating this |
| 56 | // management server. |
| 57 | LRSServer *fakeserver.Server |
| 58 | |
| 59 | cancel context.CancelFunc // To stop the v3 ADS service. |
| 60 | xs v3server.Server // v3 implementation of ADS. |
| 61 | gs *grpc.Server // gRPC server which exports the ADS service. |
| 62 | cache v3cache.SnapshotCache // Resource snapshot. |
| 63 | version int // Version of resource snapshot. |
| 64 | |
| 65 | // A logging interface, usually supplied from *testing.T. |
| 66 | logger interface { |
| 67 | Logf(format string, args ...any) |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | // ManagementServerOptions contains options to be passed to the management |
| 72 | // server during creation. |
nothing calls this directly
no outgoing calls
no test coverage detected