Documentation ¶
Index ¶
- Constants
- type Config
- type ServerImpl
- func (s *ServerImpl) GetDashboardFindingsImpact(ctx echo.Context) error
- func (s *ServerImpl) GetDashboardFindingsTrends(ctx echo.Context, params types.GetDashboardFindingsTrendsParams) error
- func (s *ServerImpl) GetDashboardRiskiestAssets(ctx echo.Context) error
- func (s *ServerImpl) GetDashboardRiskiestRegions(ctx echo.Context) error
- func (s *ServerImpl) StartBackgroundProcessing(ctx context.Context)
Constants ¶
View Source
const ( DefaultEnvPrefix = "VMCLARITY_UIBACKEND" DefaultListenAddress = "0.0.0.0:8890" DefaultHealthCheckAddress = "0.0.0.0:8083" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenAddress string `json:"listen-address,omitempty" mapstructure:"listen_address"` APIServerAddress string `json:"apiserver-address,omitempty" mapstructure:"apiserver_address"` HealthCheckAddress string `json:"healthcheck-address,omitempty" mapstructure:"healthcheck_address"` }
type ServerImpl ¶
func CreateServer ¶
func CreateServer(client *client.Client) *ServerImpl
func (*ServerImpl) GetDashboardFindingsImpact ¶
func (s *ServerImpl) GetDashboardFindingsImpact(ctx echo.Context) error
func (*ServerImpl) GetDashboardFindingsTrends ¶
func (s *ServerImpl) GetDashboardFindingsTrends(ctx echo.Context, params types.GetDashboardFindingsTrendsParams) error
func (*ServerImpl) GetDashboardRiskiestAssets ¶
func (s *ServerImpl) GetDashboardRiskiestAssets(ctx echo.Context) error
func (*ServerImpl) GetDashboardRiskiestRegions ¶
func (s *ServerImpl) GetDashboardRiskiestRegions(ctx echo.Context) error
func (*ServerImpl) StartBackgroundProcessing ¶
func (s *ServerImpl) StartBackgroundProcessing(ctx context.Context)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.