1 // +build !ignore_autogenerated
3 // Code generated by openapi-gen. DO NOT EDIT.
5 // This file was autogenerated by openapi-gen. Do not edit it manually!
10 spec "github.com/go-openapi/spec"
11 common "k8s.io/kube-openapi/pkg/common"
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),
25 func schema_pkg_apis_onap_v1alpha1_CollectdGlobal(ref common.ReferenceCallback) common.OpenAPIDefinition {
26 return common.OpenAPIDefinition{
28 SchemaProps: spec.SchemaProps{
29 Description: "CollectdGlobal is the Schema for the collectdglobals API",
30 Properties: map[string]spec.Schema{
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"},
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"},
46 SchemaProps: spec.SchemaProps{
47 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
51 SchemaProps: spec.SchemaProps{
52 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalSpec"),
56 SchemaProps: spec.SchemaProps{
57 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalStatus"),
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"},
68 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
69 return common.OpenAPIDefinition{
71 SchemaProps: spec.SchemaProps{
72 Description: "CollectdGlobalSpec defines the desired state of CollectdGlobal",
73 Properties: map[string]spec.Schema{
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"},
82 SchemaProps: spec.SchemaProps{
83 Type: []string{"string"},
88 Required: []string{"globalOptions"},
91 Dependencies: []string{},
95 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
96 return common.OpenAPIDefinition{
98 SchemaProps: spec.SchemaProps{
99 Description: "CollectdGlobalStatus defines the observed state of CollectdGlobal",
100 Properties: map[string]spec.Schema{
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"},
116 SchemaProps: spec.SchemaProps{
117 Type: []string{"string"},
122 Required: []string{"status"},
125 Dependencies: []string{},
129 func schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
130 return common.OpenAPIDefinition{
132 SchemaProps: spec.SchemaProps{
133 Description: "CollectdPlugin is the Schema for the collectdplugins API",
134 Properties: map[string]spec.Schema{
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"},
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"},
150 SchemaProps: spec.SchemaProps{
151 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
155 SchemaProps: spec.SchemaProps{
156 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec"),
160 SchemaProps: spec.SchemaProps{
161 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus"),
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"},
172 func schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
173 return common.OpenAPIDefinition{
175 SchemaProps: spec.SchemaProps{
176 Description: "CollectdPluginSpec defines the desired state of CollectdPlugin",
177 Properties: map[string]spec.Schema{
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"},
186 SchemaProps: spec.SchemaProps{
187 Type: []string{"string"},
192 Required: []string{"pluginName", "pluginConf"},
195 Dependencies: []string{},
199 func schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
200 return common.OpenAPIDefinition{
202 SchemaProps: spec.SchemaProps{
203 Description: "CollectdPluginStatus defines the observed state of CollectdPlugin",
204 Properties: map[string]spec.Schema{
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"},
220 SchemaProps: spec.SchemaProps{
221 Type: []string{"string"},
226 Required: []string{"status"},
229 Dependencies: []string{},