Documentation
¶
Overview ¶
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2025 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2025 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2025 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2025 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2025 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Copyright 2024 CloudDetail SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
// QueryServices Get all services.
// @Tags API.dataplane
// @Router /api/dataplane/services [get]
QueryServices() core.HandlerFunc
// QueryServiceRedCharts Get service's redcharts.
// @Tags API.dataplane
// @Router /api/dataplane/redcharts [get]
QueryServiceRedCharts() core.HandlerFunc
// QueryServiceEndpoints Get service's endpoints.
// @Tags API.dataplane
// @Router /api/dataplane/endpoints [get]
QueryServiceEndpoints() core.HandlerFunc
// QueryServiceInstances Get service's instances.
// @Tags API.dataplane
// @Router /api/dataplane/instances [get]
QueryServiceInstances() core.HandlerFunc
// QueryServiceName Get service name by instance.
// @Tags API.dataplane
// @Router /api/dataplane/servicename [post]
QueryServiceName() core.HandlerFunc
// QueryTopology Get service's topology.
// @Tags API.dataplane
// @Router /api/dataplane/topology [get]
QueryTopology() core.HandlerFunc
// CheckDataSource check datasource is valid.
// @Tags API.dataplane
// @Router /api/dataplane/checkDataSource [post]
CheckDataSource() core.HandlerFunc
// CreateCustomTopology Create custom topology.
// @Tags API.dataplane
// @Router /api/dataplane/customtopology/create [post]
CreateCustomTopology() core.HandlerFunc
// ListCustomTopology List custom topology.
// @Tags API.dataplane
// @Router /api/dataplane/customtopology/list [get]
ListCustomTopology() core.HandlerFunc
// DeleteCustomTopology Delete custom topology.
// @Tags API.dataplane
// @Router /api/dataplane/customtopology/delete [post]
DeleteCustomTopology() core.HandlerFunc
// CheckServiceNameRule Check servicename rule.
// @Tags API.dataplane
// @Router /api/dataplane/servicename/checkRule [post]
CheckServiceNameRule() core.HandlerFunc
// SetServiceNameRule Create or update servicename rule.
// @Tags API.dataplane
// @Router /api/dataplane/servicename/upsertRule [post]
SetServiceNameRule() core.HandlerFunc
// ListServiceNameRule List servicename rule.
// @Tags API.dataplane
// @Router /api/dataplane/servicename/listRule [get]
ListServiceNameRule() core.HandlerFunc
// DeleteServiceNameRule Delete servicename rule.
// @Tags API.dataplane
// @Router /api/dataplane/servicename/deleteRule [post]
DeleteServiceNameRule() core.HandlerFunc
// QueryAPPInfoTags Get app info tags.
// @Tags API.dataplane
// @Router /api/dataplane/appinfo/tags [get]
QueryAPPInfoTags() core.HandlerFunc
// QueryAPPInfoTagValues Get app info tag values.
// @Tags API.dataplane
// @Router /api/dataplane/appinfo/tags/values [get]
QueryAPPInfoTagValues() core.HandlerFunc
}
func New ¶
func New(logger *zap.Logger, chRepo clickhouse.Repo, promRepo prometheus.Repo, dbRepo database.Repo, dataplaneRepo dp.DataplaneRepo) Handler
Source Files
¶
- func_checkdatasource.go
- func_checkservicenamerule.go
- func_createcustomtopology.go
- func_deletecustomtopology.go
- func_deleteservicenamerule.go
- func_listcustomtopology.go
- func_listservicenamerule.go
- func_queryappinfotags.go
- func_queryappinfotagvalues.go
- func_queryserviceendpoints.go
- func_queryserviceinstances.go
- func_queryservicename.go
- func_queryserviceredcharts.go
- func_queryservices.go
- func_querytopology.go
- func_setservicenamerule.go
- handler.go