Documentation ¶
Index ¶
- Constants
- func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
- type EndpointMetricsRelation
- type MetricsMetadata
- type MetricsProviderMetadata
- type MetricsSpecification
- func (m *MetricsSpecification) AddAdminGroupRoutes(echoContext *echo.Group)
- func (m *MetricsSpecification) AddSessionGroupRoutes(echoContext *echo.Group)
- func (m *MetricsSpecification) Connect(ec echo.Context, cnsiRecord interfaces.CNSIRecord, userId string) (*interfaces.TokenRecord, bool, error)
- func (m *MetricsSpecification) GetClientId() string
- func (m *MetricsSpecification) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
- func (m *MetricsSpecification) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
- func (m *MetricsSpecification) GetRoutePlugin() (interfaces.RoutePlugin, error)
- func (m *MetricsSpecification) GetType() string
- func (m *MetricsSpecification) Info(apiEndpoint string, skipSSLValidation bool) (interfaces.CNSIRecord, interface{}, error)
- func (m *MetricsSpecification) Init() error
- func (m *MetricsSpecification) Register(echoContext echo.Context) error
- func (m *MetricsSpecification) UpdateMetadata(info *interfaces.Info, userGUID string, echoContext echo.Context)
Constants ¶
View Source
const ( EndpointType = "metrics" CLIENT_ID_KEY = "METRICS_CLIENT" )
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(portalProxy interfaces.PortalProxy) (interfaces.StratosPlugin, error)
Types ¶
type EndpointMetricsRelation ¶
type EndpointMetricsRelation struct {
// contains filtered or unexported fields
}
type MetricsMetadata ¶
type MetricsProviderMetadata ¶
type MetricsSpecification ¶
type MetricsSpecification struct {
// contains filtered or unexported fields
}
func (*MetricsSpecification) AddAdminGroupRoutes ¶
func (m *MetricsSpecification) AddAdminGroupRoutes(echoContext *echo.Group)
Metrics endpoints - admin
func (*MetricsSpecification) AddSessionGroupRoutes ¶
func (m *MetricsSpecification) AddSessionGroupRoutes(echoContext *echo.Group)
Metrics API endpoints - non-admin
func (*MetricsSpecification) Connect ¶
func (m *MetricsSpecification) Connect(ec echo.Context, cnsiRecord interfaces.CNSIRecord, userId string) (*interfaces.TokenRecord, bool, error)
func (*MetricsSpecification) GetClientId ¶
func (m *MetricsSpecification) GetClientId() string
func (*MetricsSpecification) GetEndpointPlugin ¶
func (m *MetricsSpecification) GetEndpointPlugin() (interfaces.EndpointPlugin, error)
func (*MetricsSpecification) GetMiddlewarePlugin ¶
func (m *MetricsSpecification) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)
func (*MetricsSpecification) GetRoutePlugin ¶
func (m *MetricsSpecification) GetRoutePlugin() (interfaces.RoutePlugin, error)
func (*MetricsSpecification) GetType ¶
func (m *MetricsSpecification) GetType() string
func (*MetricsSpecification) Info ¶
func (m *MetricsSpecification) Info(apiEndpoint string, skipSSLValidation bool) (interfaces.CNSIRecord, interface{}, error)
func (*MetricsSpecification) Init ¶
func (m *MetricsSpecification) Init() error
func (*MetricsSpecification) Register ¶
func (m *MetricsSpecification) Register(echoContext echo.Context) error
func (*MetricsSpecification) UpdateMetadata ¶
func (m *MetricsSpecification) UpdateMetadata(info *interfaces.Info, userGUID string, echoContext echo.Context)
Click to show internal directories.
Click to hide internal directories.