Documentation ¶
Overview ¶
Package debugger is a generated GoMock package.
Package debugger implements functionality to provide information to debug the control plane via the debug HTTP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugConfig ¶
type DebugConfig struct {
// contains filtered or unexported fields
}
DebugConfig implements the DebugServer interface.
func NewDebugConfig ¶
func NewDebugConfig(certDebugger *certificate.Manager, xdsDebugger XDSDebugger, proxyRegistry *registry.ProxyRegistry, kubeConfig *rest.Config, kubeClient kubernetes.Interface, computeClient compute.Interface, msgBroker *messaging.Broker) DebugConfig
NewDebugConfig returns an implementation of DebugConfig interface.
func (DebugConfig) GetHandlers ¶
func (ds DebugConfig) GetHandlers() map[string]http.Handler
GetHandlers implements DebugConfig interface and returns the rest of URLs and the handling functions.
func (*DebugConfig) StartDebugServerConfigListener ¶
func (d *DebugConfig) StartDebugServerConfigListener(stop chan struct{})
StartDebugServerConfigListener registers a go routine to listen to configuration and configure debug server as needed
type MockXDSDebugger ¶
type MockXDSDebugger struct {
// contains filtered or unexported fields
}
MockXDSDebugger is a mock of XDSDebugger interface.
func NewMockXDSDebugger ¶
func NewMockXDSDebugger(ctrl *gomock.Controller) *MockXDSDebugger
NewMockXDSDebugger creates a new mock instance.
func (*MockXDSDebugger) EXPECT ¶
func (m *MockXDSDebugger) EXPECT() *MockXDSDebuggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockXDSDebuggerMockRecorder ¶
type MockXDSDebuggerMockRecorder struct {
// contains filtered or unexported fields
}
MockXDSDebuggerMockRecorder is the mock recorder for MockXDSDebugger.
func (*MockXDSDebuggerMockRecorder) GetXDSLog ¶
func (mr *MockXDSDebuggerMockRecorder) GetXDSLog() *gomock.Call
GetXDSLog indicates an expected call of GetXDSLog.
type XDSDebugger ¶
type XDSDebugger interface { // GetXDSLog returns a log of the XDS responses sent to Envoy proxies. It is keyed by proxy.GetName(), which is // of the form <identity>:<uuid>. GetXDSLog() map[string]map[envoy.TypeURI][]time.Time }
XDSDebugger is an interface providing debugging server with methods introspecting XDS.