Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardController ¶
type DashboardController struct {
// contains filtered or unexported fields
}
DashboardController contains handlers for rendering the dashboard and its associated FE queries
func NewDashboardController ¶
func NewDashboardController( name string, proxy bool, logger logging.LoggerInterface, storages adminCommon.Storages, impressionEvCalc evcalc.Monitor, eventsEvCalc evcalc.Monitor, runtime common.Runtime, appMonitor application.MonitorIterface, ) (*DashboardController, error)
NewDashboardController instantiates a new dashboard controller
func (*DashboardController) Register ¶
func (c *DashboardController) Register(router gin.IRouter)
Register the dashboard endpoints
type HealthCheckController ¶
type HealthCheckController struct {
// contains filtered or unexported fields
}
HealthCheckController description
func NewHealthCheckController ¶
func NewHealthCheckController( logger logging.LoggerInterface, appMonitor application.MonitorIterface, dependenciesMonitor services.MonitorIterface, ) *HealthCheckController
NewHealthCheckController instantiates a new HealthCheck controller
func (*HealthCheckController) Register ¶
func (c *HealthCheckController) Register(router gin.IRouter)
Register the dashboard endpoints
type InfoController ¶
type InfoController struct {
// contains filtered or unexported fields
}
InfoController contains handlers for system information purposes
func NewInfoController ¶
func NewInfoController(proxy bool, runtime common.Runtime, config interface{}) *InfoController
NewInfoController constructs a new InfoController to be mounted on a gin router
func (*InfoController) Register ¶
func (c *InfoController) Register(router gin.IRouter)
Register info controller endpoints
type ObservabilityController ¶ added in v5.0.4
ObservabilityController interface is used to have a single constructor that returns the apropriate controller
func NewObservabilityController ¶ added in v5.0.4
func NewObservabilityController(proxy bool, logger logging.LoggerInterface, storagePack common.Storages) (ObservabilityController, error)
NewObservabilityController constructs and returns the appropriate struct dependeing on whether the app is split-proxy or split-sync
type ProxyObservabilityController ¶ added in v5.0.4
type ProxyObservabilityController struct {
// contains filtered or unexported fields
}
ProxyObservabilityController exposes an observability endpoint exposing cached feature flags & segments information
func (*ProxyObservabilityController) Register ¶ added in v5.0.4
func (c *ProxyObservabilityController) Register(router gin.IRouter)
Register mounts the controller endpoints onto the supplied router
type ShutdownController ¶
type ShutdownController struct {
// contains filtered or unexported fields
}
ShutdownController bundles handlers that can shut down the synchronizer app
func NewShutdownController ¶
func NewShutdownController(runtime common.Runtime) *ShutdownController
NewShutdownController instantiates a shutdown request handling controller
func (*ShutdownController) Register ¶
func (c *ShutdownController) Register(router gin.IRouter)
Register mounts the endpoints
type SnapshotController ¶
type SnapshotController struct {
// contains filtered or unexported fields
}
SnapshotController bundles endpoints associated to snapshot management
func NewSnapshotController ¶
func NewSnapshotController(logger logging.LoggerInterface, db storage.Snapshotter) *SnapshotController
NewSnapshotController constructs a new snapshot controller
func (*SnapshotController) Register ¶
func (c *SnapshotController) Register(router gin.IRouter)
Register mounts the endpoints int he provided router
type SyncObservabilityController ¶ added in v5.0.4
type SyncObservabilityController struct {
// contains filtered or unexported fields
}
SyncObservabilityController exposes an observability endpoint exposing cached feature flags & segments information
func (*SyncObservabilityController) Register ¶ added in v5.0.4
func (c *SyncObservabilityController) Register(router gin.IRouter)
Register mounts the controller endpoints onto the supplied router