Remote Write Config and Filter operator
[demo.git] / vnfs / DAaaS / microservices / remote-config-operator / pkg / apis / onap / v1alpha1 / zz_generated.openapi.go
1 // +build !ignore_autogenerated
2
3 // This file was autogenerated by openapi-gen. Do not edit it manually!
4
5 package v1alpha1
6
7 import (
8         spec "github.com/go-openapi/spec"
9         common "k8s.io/kube-openapi/pkg/common"
10 )
11
12 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
13         return map[string]common.OpenAPIDefinition{
14                 "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpoint":       schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpoint(ref),
15                 "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointSpec":   schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointSpec(ref),
16                 "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointStatus": schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointStatus(ref),
17                 "./pkg/apis/onap/v1alpha1.RemoteFilterAction":             schema_pkg_apis_onap_v1alpha1_RemoteFilterAction(ref),
18                 "./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec":         schema_pkg_apis_onap_v1alpha1_RemoteFilterActionSpec(ref),
19                 "./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus":       schema_pkg_apis_onap_v1alpha1_RemoteFilterActionStatus(ref),
20         }
21 }
22
23 func schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
24         return common.OpenAPIDefinition{
25                 Schema: spec.Schema{
26                         SchemaProps: spec.SchemaProps{
27                                 Description: "PrometheusRemoteEndpoint is the Schema for the prometheusremoteendpoints API",
28                                 Type:        []string{"object"},
29                                 Properties: map[string]spec.Schema{
30                                         "kind": {
31                                                 SchemaProps: spec.SchemaProps{
32                                                         Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
33                                                         Type:        []string{"string"},
34                                                         Format:      "",
35                                                 },
36                                         },
37                                         "apiVersion": {
38                                                 SchemaProps: spec.SchemaProps{
39                                                         Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
40                                                         Type:        []string{"string"},
41                                                         Format:      "",
42                                                 },
43                                         },
44                                         "metadata": {
45                                                 SchemaProps: spec.SchemaProps{
46                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
47                                                 },
48                                         },
49                                         "spec": {
50                                                 SchemaProps: spec.SchemaProps{
51                                                         Ref: ref("./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointSpec"),
52                                                 },
53                                         },
54                                         "status": {
55                                                 SchemaProps: spec.SchemaProps{
56                                                         Ref: ref("./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointStatus"),
57                                                 },
58                                         },
59                                 },
60                         },
61                 },
62                 Dependencies: []string{
63                         "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointSpec", "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
64         }
65 }
66
67 func schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
68         return common.OpenAPIDefinition{
69                 Schema: spec.Schema{
70                         SchemaProps: spec.SchemaProps{
71                                 Description: "PrometheusRemoteEndpointSpec defines the desired state of PrometheusRemoteEndpoint",
72                                 Type:        []string{"object"},
73                                 Properties: map[string]spec.Schema{
74                                         "adapterURL": {
75                                                 SchemaProps: spec.SchemaProps{
76                                                         Type:   []string{"string"},
77                                                         Format: "",
78                                                 },
79                                         },
80                                         "filterSelector": {
81                                                 SchemaProps: spec.SchemaProps{
82                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
83                                                 },
84                                         },
85                                         "type": {
86                                                 SchemaProps: spec.SchemaProps{
87                                                         Type:   []string{"string"},
88                                                         Format: "",
89                                                 },
90                                         },
91                                         "kafkaConfig": {
92                                                 SchemaProps: spec.SchemaProps{
93                                                         Type:   []string{"string"},
94                                                         Format: "",
95                                                 },
96                                         },
97                                         "queueConfig": {
98                                                 SchemaProps: spec.SchemaProps{
99                                                         Ref: ref("./pkg/apis/onap/v1alpha1.QueueConfig"),
100                                                 },
101                                         },
102                                         "remoteTimeout": {
103                                                 SchemaProps: spec.SchemaProps{
104                                                         Type:   []string{"string"},
105                                                         Format: "",
106                                                 },
107                                         },
108                                 },
109                                 Required: []string{"adapterURL", "type"},
110                         },
111                 },
112                 Dependencies: []string{
113                         "./pkg/apis/onap/v1alpha1.QueueConfig", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
114         }
115 }
116
117 func schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
118         return common.OpenAPIDefinition{
119                 Schema: spec.Schema{
120                         SchemaProps: spec.SchemaProps{
121                                 Description: "PrometheusRemoteEndpointStatus defines the observed state of PrometheusRemoteEndpoint",
122                                 Type:        []string{"object"},
123                                 Properties: map[string]spec.Schema{
124                                         "prometheusInstance": {
125                                                 SchemaProps: spec.SchemaProps{
126                                                         Description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"operator-sdk generate k8s\" to regenerate code after modifying this file Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Status can be Error, Enabled",
127                                                         Type:        []string{"string"},
128                                                         Format:      "",
129                                                 },
130                                         },
131                                         "status": {
132                                                 SchemaProps: spec.SchemaProps{
133                                                         Type:   []string{"string"},
134                                                         Format: "",
135                                                 },
136                                         },
137                                         "kafkaWriterID": {
138                                                 SchemaProps: spec.SchemaProps{
139                                                         Type:   []string{"string"},
140                                                         Format: "",
141                                                 },
142                                         },
143                                         "remoteURL": {
144                                                 SchemaProps: spec.SchemaProps{
145                                                         Type:   []string{"string"},
146                                                         Format: "",
147                                                 },
148                                         },
149                                 },
150                                 Required: []string{"status"},
151                         },
152                 },
153         }
154 }
155
156 func schema_pkg_apis_onap_v1alpha1_RemoteFilterAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
157         return common.OpenAPIDefinition{
158                 Schema: spec.Schema{
159                         SchemaProps: spec.SchemaProps{
160                                 Description: "RemoteFilterAction is the Schema for the remotefilteractions API",
161                                 Type:        []string{"object"},
162                                 Properties: map[string]spec.Schema{
163                                         "kind": {
164                                                 SchemaProps: spec.SchemaProps{
165                                                         Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
166                                                         Type:        []string{"string"},
167                                                         Format:      "",
168                                                 },
169                                         },
170                                         "apiVersion": {
171                                                 SchemaProps: spec.SchemaProps{
172                                                         Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
173                                                         Type:        []string{"string"},
174                                                         Format:      "",
175                                                 },
176                                         },
177                                         "metadata": {
178                                                 SchemaProps: spec.SchemaProps{
179                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
180                                                 },
181                                         },
182                                         "spec": {
183                                                 SchemaProps: spec.SchemaProps{
184                                                         Ref: ref("./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec"),
185                                                 },
186                                         },
187                                         "status": {
188                                                 SchemaProps: spec.SchemaProps{
189                                                         Ref: ref("./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus"),
190                                                 },
191                                         },
192                                 },
193                         },
194                 },
195                 Dependencies: []string{
196                         "./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec", "./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
197         }
198 }
199
200 func schema_pkg_apis_onap_v1alpha1_RemoteFilterActionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
201         return common.OpenAPIDefinition{
202                 Schema: spec.Schema{
203                         SchemaProps: spec.SchemaProps{
204                                 Description: "RemoteFilterActionSpec defines the desired state of RemoteFilterAction",
205                                 Type:        []string{"object"},
206                                 Properties: map[string]spec.Schema{
207                                         "action": {
208                                                 SchemaProps: spec.SchemaProps{
209                                                         Type:   []string{"string"},
210                                                         Format: "",
211                                                 },
212                                         },
213                                         "regex": {
214                                                 SchemaProps: spec.SchemaProps{
215                                                         Type:   []string{"string"},
216                                                         Format: "",
217                                                 },
218                                         },
219                                         "sourceLabels": {
220                                                 VendorExtensible: spec.VendorExtensible{
221                                                         Extensions: spec.Extensions{
222                                                                 "x-kubernetes-list-type": "set",
223                                                         },
224                                                 },
225                                                 SchemaProps: spec.SchemaProps{
226                                                         Description: "SourceLabels are the labels of the each metric",
227                                                         Type:        []string{"array"},
228                                                         Items: &spec.SchemaOrArray{
229                                                                 Schema: &spec.Schema{
230                                                                         SchemaProps: spec.SchemaProps{
231                                                                                 Type:   []string{"string"},
232                                                                                 Format: "",
233                                                                         },
234                                                                 },
235                                                         },
236                                                 },
237                                         },
238                                         "targetLabel": {
239                                                 SchemaProps: spec.SchemaProps{
240                                                         Type:   []string{"string"},
241                                                         Format: "",
242                                                 },
243                                         },
244                                         "replacement": {
245                                                 SchemaProps: spec.SchemaProps{
246                                                         Type:   []string{"string"},
247                                                         Format: "",
248                                                 },
249                                         },
250                                 },
251                         },
252                 },
253         }
254 }
255
256 func schema_pkg_apis_onap_v1alpha1_RemoteFilterActionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
257         return common.OpenAPIDefinition{
258                 Schema: spec.Schema{
259                         SchemaProps: spec.SchemaProps{
260                                 Description: "RemoteFilterActionStatus defines the observed state of RemoteFilterAction",
261                                 Type:        []string{"object"},
262                         },
263                 },
264         }
265 }