1// Copyright The Perses Authors
2// Licensed under the Apache License, Version 2.0 (the "License");
3// you may not use this file except in compliance with the License.
4// You may obtain a copy of the License at
5//
6// http://www.apache.org/licenses/LICENSE-2.0
7//
8// Unless required by applicable law or agreed to in writing, software
9// distributed under the License is distributed on an "AS IS" BASIS,
10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11// See the License for the specific language governing permissions and
12// limitations under the License.
13
14// DEPRECATED
15// Import statements like:
16// `import "github.com/perses/shared/cue/common/proxy"`
17// should be replaced by:
18// `import "github.com/perses/spec/cue/datasource/proxy/http"`
19// and
20// `import "github.com/perses/spec/cue/datasource/proxy/sql"`
21
22package proxy
23
24import (
25 "github.com/perses/spec/cue/datasource"
26 httpProxy "github.com/perses/spec/cue/datasource/proxy/http"
27 sqlProxy "github.com/perses/spec/cue/datasource/proxy/sql"
28)
29
30#HTTPAllowedEndpoint: httpProxy.#AllowedEndpoint
31
32#HTTPProxy: httpProxy.#Proxy
33
34#baseHTTPDatasourceSpec: datasource.#HTTPDatasourceSpec
35
36#MySQL: sqlProxy.#MySQLConfig
37
38#Postgres: sqlProxy.#PostgresConfig
39
40#SQLProxy: sqlProxy.#Proxy
41
42#baseSQLDatasourceSpec: datasource.#SQLDatasourceSpec