ca4c9511c4a8f81f58f7cabf8111e12b1d04ae59
[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                         },
124                 },
125         }
126 }
127
128 func schema_pkg_apis_onap_v1alpha1_RemoteFilterAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
129         return common.OpenAPIDefinition{
130                 Schema: spec.Schema{
131                         SchemaProps: spec.SchemaProps{
132                                 Description: "RemoteFilterAction is the Schema for the remotefilteractions API",
133                                 Type:        []string{"object"},
134                                 Properties: map[string]spec.Schema{
135                                         "kind": {
136                                                 SchemaProps: spec.SchemaProps{
137                                                         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",
138                                                         Type:        []string{"string"},
139                                                         Format:      "",
140                                                 },
141                                         },
142                                         "apiVersion": {
143                                                 SchemaProps: spec.SchemaProps{
144                                                         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",
145                                                         Type:        []string{"string"},
146                                                         Format:      "",
147                                                 },
148                                         },
149                                         "metadata": {
150                                                 SchemaProps: spec.SchemaProps{
151                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
152                                                 },
153                                         },
154                                         "spec": {
155                                                 SchemaProps: spec.SchemaProps{
156                                                         Ref: ref("./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec"),
157                                                 },
158                                         },
159                                         "status": {
160                                                 SchemaProps: spec.SchemaProps{
161                                                         Ref: ref("./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus"),
162                                                 },
163                                         },
164                                 },
165                         },
166                 },
167                 Dependencies: []string{
168                         "./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec", "./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
169         }
170 }
171
172 func schema_pkg_apis_onap_v1alpha1_RemoteFilterActionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
173         return common.OpenAPIDefinition{
174                 Schema: spec.Schema{
175                         SchemaProps: spec.SchemaProps{
176                                 Description: "RemoteFilterActionSpec defines the desired state of RemoteFilterAction",
177                                 Type:        []string{"object"},
178                                 Properties: map[string]spec.Schema{
179                                         "action": {
180                                                 SchemaProps: spec.SchemaProps{
181                                                         Type:   []string{"string"},
182                                                         Format: "",
183                                                 },
184                                         },
185                                         "regex": {
186                                                 SchemaProps: spec.SchemaProps{
187                                                         Type:   []string{"string"},
188                                                         Format: "",
189                                                 },
190                                         },
191                                         "sourceLabels": {
192                                                 SchemaProps: spec.SchemaProps{
193                                                         Type: []string{"array"},
194                                                         Items: &spec.SchemaOrArray{
195                                                                 Schema: &spec.Schema{
196                                                                         SchemaProps: spec.SchemaProps{
197                                                                                 Type:   []string{"string"},
198                                                                                 Format: "",
199                                                                         },
200                                                                 },
201                                                         },
202                                                 },
203                                         },
204                                         "targetLabel": {
205                                                 SchemaProps: spec.SchemaProps{
206                                                         Type:   []string{"string"},
207                                                         Format: "",
208                                                 },
209                                         },
210                                         "replacement": {
211                                                 SchemaProps: spec.SchemaProps{
212                                                         Type:   []string{"string"},
213                                                         Format: "",
214                                                 },
215                                         },
216                                 },
217                         },
218                 },
219         }
220 }
221
222 func schema_pkg_apis_onap_v1alpha1_RemoteFilterActionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
223         return common.OpenAPIDefinition{
224                 Schema: spec.Schema{
225                         SchemaProps: spec.SchemaProps{
226                                 Description: "RemoteFilterActionStatus defines the observed state of RemoteFilterAction",
227                                 Type:        []string{"object"},
228                         },
229                 },
230         }
231 }