Fix issue with concurrent CR creation
[demo.git] / vnfs / DAaaS / microservices / collectd-operator / pkg / apis / onap / v1alpha1 / zz_generated.openapi.go
1 // +build !
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                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobal":       schema_pkg_apis_onap_v1alpha1_CollectdGlobal(ref),
15                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalSpec":   schema_pkg_apis_onap_v1alpha1_CollectdGlobalSpec(ref),
16                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalStatus": schema_pkg_apis_onap_v1alpha1_CollectdGlobalStatus(ref),
17                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPlugin":       schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref),
18                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec":   schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref),
19                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus": schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref),
20         }
21 }
22
23 func schema_pkg_apis_onap_v1alpha1_CollectdGlobal(ref common.ReferenceCallback) common.OpenAPIDefinition {
24         return common.OpenAPIDefinition{
25                 Schema: spec.Schema{
26                         SchemaProps: spec.SchemaProps{
27                                 Description: "CollectdGlobal is the Schema for the collectdglobals API",
28                                 Properties: map[string]spec.Schema{
29                                         "kind": {
30                                                 SchemaProps: spec.SchemaProps{
31                                                         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",
32                                                         Type:        []string{"string"},
33                                                         Format:      "",
34                                                 },
35                                         },
36                                         "apiVersion": {
37                                                 SchemaProps: spec.SchemaProps{
38                                                         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",
39                                                         Type:        []string{"string"},
40                                                         Format:      "",
41                                                 },
42                                         },
43                                         "metadata": {
44                                                 SchemaProps: spec.SchemaProps{
45                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
46                                                 },
47                                         },
48                                         "spec": {
49                                                 SchemaProps: spec.SchemaProps{
50                                                         Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalSpec"),
51                                                 },
52                                         },
53                                         "status": {
54                                                 SchemaProps: spec.SchemaProps{
55                                                         Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalStatus"),
56                                                 },
57                                         },
58                                 },
59                         },
60                 },
61                 Dependencies: []string{
62                         "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalSpec", "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
63         }
64 }
65
66 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
67         return common.OpenAPIDefinition{
68                 Schema: spec.Schema{
69                         SchemaProps: spec.SchemaProps{
70                                 Description: "CollectdGlobalSpec defines the desired state of CollectdGlobal",
71                                 Properties: map[string]spec.Schema{
72                                         "globalOptions": {
73                                                 SchemaProps: spec.SchemaProps{
74                                                         Description: "INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run \"operator-sdk generate k8s\" to regenerate code after modifying this file Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html",
75                                                         Type:        []string{"string"},
76                                                         Format:      "",
77                                                 },
78                                         },
79                                         "configMap": {
80                                                 SchemaProps: spec.SchemaProps{
81                                                         Type:   []string{"string"},
82                                                         Format: "",
83                                                 },
84                                         },
85                                 },
86                                 Required: []string{"globalOptions"},
87                         },
88                 },
89                 Dependencies: []string{},
90         }
91 }
92
93 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
94         return common.OpenAPIDefinition{
95                 Schema: spec.Schema{
96                         SchemaProps: spec.SchemaProps{
97                                 Description: "CollectdGlobalStatus defines the observed state of CollectdGlobal",
98                                 Properties: map[string]spec.Schema{
99                                         "collectdAgents": {
100                                                 SchemaProps: spec.SchemaProps{
101                                                         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.kubebuilder.io/beyond_basics/generating_crd.html CollectdAgents are the collectd pods in the Daemonset Status can be one of \"\", Created, Deleting, Applied, Deprecated",
102                                                         Type:        []string{"array"},
103                                                         Items: &spec.SchemaOrArray{
104                                                                 Schema: &spec.Schema{
105                                                                         SchemaProps: spec.SchemaProps{
106                                                                                 Type:   []string{"string"},
107                                                                                 Format: "",
108                                                                         },
109                                                                 },
110                                                         },
111                                                 },
112                                         },
113                                         "status": {
114                                                 SchemaProps: spec.SchemaProps{
115                                                         Type:   []string{"string"},
116                                                         Format: "",
117                                                 },
118                                         },
119                                 },
120                                 Required: []string{"status"},
121                         },
122                 },
123                 Dependencies: []string{},
124         }
125 }
126
127 func schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
128         return common.OpenAPIDefinition{
129                 Schema: spec.Schema{
130                         SchemaProps: spec.SchemaProps{
131                                 Description: "CollectdPlugin is the Schema for the collectdplugins API",
132                                 Properties: map[string]spec.Schema{
133                                         "kind": {
134                                                 SchemaProps: spec.SchemaProps{
135                                                         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",
136                                                         Type:        []string{"string"},
137                                                         Format:      "",
138                                                 },
139                                         },
140                                         "apiVersion": {
141                                                 SchemaProps: spec.SchemaProps{
142                                                         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",
143                                                         Type:        []string{"string"},
144                                                         Format:      "",
145                                                 },
146                                         },
147                                         "metadata": {
148                                                 SchemaProps: spec.SchemaProps{
149                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
150                                                 },
151                                         },
152                                         "spec": {
153                                                 SchemaProps: spec.SchemaProps{
154                                                         Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec"),
155                                                 },
156                                         },
157                                         "status": {
158                                                 SchemaProps: spec.SchemaProps{
159                                                         Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus"),
160                                                 },
161                                         },
162                                 },
163                         },
164                 },
165                 Dependencies: []string{
166                         "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec", "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
167         }
168 }
169
170 func schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
171         return common.OpenAPIDefinition{
172                 Schema: spec.Schema{
173                         SchemaProps: spec.SchemaProps{
174                                 Description: "CollectdPluginSpec defines the desired state of CollectdPlugin",
175                                 Properties: map[string]spec.Schema{
176                                         "pluginName": {
177                                                 SchemaProps: spec.SchemaProps{
178                                                         Description: "INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run \"operator-sdk generate k8s\" to regenerate code after modifying this file Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html",
179                                                         Type:        []string{"string"},
180                                                         Format:      "",
181                                                 },
182                                         },
183                                         "pluginConf": {
184                                                 SchemaProps: spec.SchemaProps{
185                                                         Type:   []string{"string"},
186                                                         Format: "",
187                                                 },
188                                         },
189                                 },
190                                 Required: []string{"pluginName", "pluginConf"},
191                         },
192                 },
193                 Dependencies: []string{},
194         }
195 }
196
197 func schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
198         return common.OpenAPIDefinition{
199                 Schema: spec.Schema{
200                         SchemaProps: spec.SchemaProps{
201                                 Description: "CollectdPluginStatus defines the observed state of CollectdPlugin",
202                                 Properties: map[string]spec.Schema{
203                                         "collectdAgents": {
204                                                 SchemaProps: spec.SchemaProps{
205                                                         Description: "CollectdAgents are the collectd pods in the Daemonset Status can be one of \"\", Created, Deleting, Applied, Deprecated",
206                                                         Type:        []string{"array"},
207                                                         Items: &spec.SchemaOrArray{
208                                                                 Schema: &spec.Schema{
209                                                                         SchemaProps: spec.SchemaProps{
210                                                                                 Type:   []string{"string"},
211                                                                                 Format: "",
212                                                                         },
213                                                                 },
214                                                         },
215                                                 },
216                                         },
217                                         "status": {
218                                                 SchemaProps: spec.SchemaProps{
219                                                         Type:   []string{"string"},
220                                                         Format: "",
221                                                 },
222                                         },
223                                 },
224                                 Required: []string{"status"},
225                         },
226                 },
227                 Dependencies: []string{},
228         }
229 }