Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateManagerDebugger ¶
type CertificateManagerDebugger interface { // ListIssuedCertificates returns the current list of certificates in OSM's cache. ListIssuedCertificates() []certificate.Certificater }
CertificateManagerDebugger is an interface with methods for debugging certificate issuance.
type DebugServer ¶
type DebugServer interface { // GetHandlers returns the HTTP handlers available for the debug server. GetHandlers() map[string]http.Handler }
DebugServer is the interface of the Debug HTTP server.
func NewDebugServer ¶
func NewDebugServer(certDebugger CertificateManagerDebugger, xdsDebugger XDSDebugger, meshCatalogDebugger MeshCatalogDebugger, kubeConfig *rest.Config, kubeClient kubernetes.Interface, cfg configurator.Configurator) DebugServer
NewDebugServer returns an implementation of DebugServer interface.
type MeshCatalogDebugger ¶
type MeshCatalogDebugger interface { // ListExpectedProxies lists the Envoy proxies yet to connect and the time their XDS certificate was issued. ListExpectedProxies() map[certificate.CommonName]time.Time // ListConnectedProxies lists the Envoy proxies already connected and the time they first connected. ListConnectedProxies() map[certificate.CommonName]*envoy.Proxy // ListDisconnectedProxies lists the Envoy proxies disconnected and the time last seen. ListDisconnectedProxies() map[certificate.CommonName]time.Time // ListSMIPolicies lists the SMI policies detected by OSM. ListSMIPolicies() ([]*split.TrafficSplit, []service.WeightedService, []service.K8sServiceAccount, []*spec.HTTPRouteGroup, []*target.TrafficTarget, []*corev1.Service) }
MeshCatalogDebugger is an interface with methods for debugging Mesh Catalog.
type XDSDebugger ¶
type XDSDebugger interface { // GetXDSLog returns a log of the XDS responses sent to Envoy proxies. GetXDSLog() *map[certificate.CommonName]map[envoy.TypeURI][]time.Time }
XDSDebugger is an interface providing debugging server with methods introspecting XDS.
Click to show internal directories.
Click to hide internal directories.