Documentation
¶
Index ¶
Constants ¶
View Source
const GlobalInsightPath = "/global-insight"
Variables ¶
This section is empty.
Functions ¶
func NewGuiHandler ¶
func SetupServer ¶
Types ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func NewApiServer ¶
func NewApiServer( rt runtime.Runtime, meshContextBuilder xds_context.MeshContextBuilder, defs []model.ResourceTypeDescriptor, cfg *kuma_cp.Config, xdsHooks []hooks.ResourceSetHook, ) (*ApiServer, error)
func (*ApiServer) Config ¶
func (a *ApiServer) Config() api_server.ApiServerConfig
func (*ApiServer) Handler ¶ added in v2.13.0
Handler returns the underlying HTTP handler for testing purposes
func (*ApiServer) NeedLeaderElection ¶
type GuiConfig ¶
type GuiConfig struct {
ApiUrl string `json:"apiUrl"`
BaseGuiPath string `json:"baseGuiPath"`
Version string `json:"version"`
BasedOnKuma string `json:"basedOnKuma,omitempty"`
Product string `json:"product"`
Mode string `json:"mode"`
Environment string `json:"environment"`
StoreType string `json:"storeType"`
ReadOnly bool `json:"apiReadOnly"`
}
type ResourceMetaWithOverriddenOrigin ¶ added in v2.10.9
type ResourceMetaWithOverriddenOrigin struct {
model.ResourceMeta
// contains filtered or unexported fields
}
func (ResourceMetaWithOverriddenOrigin) GetLabels ¶ added in v2.10.9
func (r ResourceMetaWithOverriddenOrigin) GetLabels() map[string]string
type WhoamiResponse ¶
Source Files
¶
- config_ws.go
- dataplane_layout_endpoint.go
- global_insight_endpoint.go
- global_insights_endpoints.go
- gui_handler.go
- index_endpoints.go
- inspect_endpoints.go
- inspect_envoy_admin_endpoints.go
- inspect_mesh_service.go
- kri_endpoint.go
- pagination.go
- policies_endpoints.go
- resource_endpoints.go
- server.go
- service_insight_endpoints.go
- whoami_endpoint.go
Click to show internal directories.
Click to hide internal directories.