72a2d349633fc3fd62a182454d906c7aec1714c3
[demo.git] / vnfs / DAaaS / microservices / collectd-operator / pkg / apis / onap / v1alpha1 / zz_generated.openapi.go
1 // +build !ignore_autogenerated
2
3 // Code generated by openapi-gen. DO NOT EDIT.
4
5 // This file was autogenerated by openapi-gen. Do not edit it manually!
6
7 package v1alpha1
8
9 import (
10         spec "github.com/go-openapi/spec"
11         common "k8s.io/kube-openapi/pkg/common"
12 )
13
14 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
15         return map[string]common.OpenAPIDefinition{
16                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobal":       schema_pkg_apis_onap_v1alpha1_CollectdGlobal(ref),
17                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalSpec":   schema_pkg_apis_onap_v1alpha1_CollectdGlobalSpec(ref),
18                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalStatus": schema_pkg_apis_onap_v1alpha1_CollectdGlobalStatus(ref),
19                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPlugin":       schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref),
20                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec":   schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref),
21                 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus": schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref),
22         }
23 }
24
25 func schema_pkg_apis_onap_v1alpha1_CollectdGlobal(ref common.ReferenceCallback) common.OpenAPIDefinition {
26         return common.OpenAPIDefinition{
27                 Schema: spec.Schema{
28                         SchemaProps: spec.SchemaProps{
29                                 Description: "CollectdGlobal is the Schema for the collectdglobals API",
30                                 Properties: map[string]spec.Schema{
31                                         "kind": {
32                                                 SchemaProps: spec.SchemaProps{
33                                                         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",
34                                                         Type:        []string{"string"},
35                                                         Format:      "",
36                                                 },
37                                         },
38                                         "apiVersion": {
39                                                 SchemaProps: spec.SchemaProps{
40                                                         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",
41                                                         Type:        []string{"string"},
42                                                         Format:      "",
43                                                 },
44                                         },
45                                         "metadata": {
46                                                 SchemaProps: spec.SchemaProps{
47                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
48                                                 },
49                                         },
50                                         "spec": {
51                                                 SchemaProps: spec.SchemaProps{
52                                                         Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalSpec"),
53                                                 },
54                                         },
55                                         "status": {
56                                                 SchemaProps: spec.SchemaProps{
57                                                         Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalStatus"),
58                                                 },
59                                         },
60                                 },
61                         },
62                 },
63                 Dependencies: []string{
64                         "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"},
65         }
66 }
67
68 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
69         return common.OpenAPIDefinition{
70                 Schema: spec.Schema{
71                         SchemaProps: spec.SchemaProps{
72                                 Description: "CollectdGlobalSpec defines the desired state of CollectdGlobal",
73                                 Properties: map[string]spec.Schema{
74                                         "globalOptions": {
75                                                 SchemaProps: spec.SchemaProps{
76                                                         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",
77                                                         Type:        []string{"string"},
78                                                         Format:      "",
79                                                 },
80                                         },
81                                         "configMap": {
82                                                 SchemaProps: spec.SchemaProps{
83                                                         Type:   []string{"string"},
84                                                         Format: "",
85                                                 },
86                                         },
87                                 },
88                                 Required: []string{"globalOptions"},
89                         },
90                 },
91                 Dependencies: []string{},
92         }
93 }
94
95 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
96         return common.OpenAPIDefinition{
97                 Schema: spec.Schema{
98                         SchemaProps: spec.SchemaProps{
99                                 Description: "CollectdGlobalStatus defines the observed state of CollectdGlobal",
100                                 Properties: map[string]spec.Schema{
101                                         "collectdAgents": {
102                                                 SchemaProps: spec.SchemaProps{
103                                                         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",
104                                                         Type:        []string{"array"},
105                                                         Items: &spec.SchemaOrArray{
106                                                                 Schema: &spec.Schema{
107                                                                         SchemaProps: spec.SchemaProps{
108                                                                                 Type:   []string{"string"},
109                                                                                 Format: "",
110                                                                         },
111                                                                 },
112                                                         },
113                                                 },
114                                         },
115                                         "status": {
116                                                 SchemaProps: spec.SchemaProps{
117                                                         Type:   []string{"string"},
118                                                         Format: "",
119                                                 },
120                                         },
121                                 },
122                                 Required: []string{"status"},
123                         },
124                 },
125                 Dependencies: []string{},
126         }
127 }
128
129 func schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
130         return common.OpenAPIDefinition{
131                 Schema: spec.Schema{
132                         SchemaProps: spec.SchemaProps{
133                                 Description: "CollectdPlugin is the Schema for the collectdplugins API",
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("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec"),
157                                                 },
158                                         },
159                                         "status": {
160                                                 SchemaProps: spec.SchemaProps{
161                                                         Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus"),
162                                                 },
163                                         },
164                                 },
165                         },
166                 },
167                 Dependencies: []string{
168                         "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"},
169         }
170 }
171
172 func schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
173         return common.OpenAPIDefinition{
174                 Schema: spec.Schema{
175                         SchemaProps: spec.SchemaProps{
176                                 Description: "CollectdPluginSpec defines the desired state of CollectdPlugin",
177                                 Properties: map[string]spec.Schema{
178                                         "pluginName": {
179                                                 SchemaProps: spec.SchemaProps{
180                                                         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",
181                                                         Type:        []string{"string"},
182                                                         Format:      "",
183                                                 },
184                                         },
185                                         "pluginConf": {
186                                                 SchemaProps: spec.SchemaProps{
187                                                         Type:   []string{"string"},
188                                                         Format: "",
189                                                 },
190                                         },
191                                 },
192                                 Required: []string{"pluginName", "pluginConf"},
193                         },
194                 },
195                 Dependencies: []string{},
196         }
197 }
198
199 func schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
200         return common.OpenAPIDefinition{
201                 Schema: spec.Schema{
202                         SchemaProps: spec.SchemaProps{
203                                 Description: "CollectdPluginStatus defines the observed state of CollectdPlugin",
204                                 Properties: map[string]spec.Schema{
205                                         "collectdAgents": {
206                                                 SchemaProps: spec.SchemaProps{
207                                                         Description: "CollectdAgents are the collectd pods in the Daemonset Status can be one of \"\", Created, Deleting, Applied, Deprecated",
208                                                         Type:        []string{"array"},
209                                                         Items: &spec.SchemaOrArray{
210                                                                 Schema: &spec.Schema{
211                                                                         SchemaProps: spec.SchemaProps{
212                                                                                 Type:   []string{"string"},
213                                                                                 Format: "",
214                                                                         },
215                                                                 },
216                                                         },
217                                                 },
218                                         },
219                                         "status": {
220                                                 SchemaProps: spec.SchemaProps{
221                                                         Type:   []string{"string"},
222                                                         Format: "",
223                                                 },
224                                         },
225                                 },
226                                 Required: []string{"status"},
227                         },
228                 },
229                 Dependencies: []string{},
230         }
231 }