3 // This file was autogenerated by openapi-gen. Do not edit it manually!
8 spec "github.com/go-openapi/spec"
9 common "k8s.io/kube-openapi/pkg/common"
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),
23 func schema_pkg_apis_onap_v1alpha1_CollectdGlobal(ref common.ReferenceCallback) common.OpenAPIDefinition {
24 return common.OpenAPIDefinition{
26 SchemaProps: spec.SchemaProps{
27 Description: "CollectdGlobal is the Schema for the collectdglobals API",
28 Properties: map[string]spec.Schema{
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"},
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"},
44 SchemaProps: spec.SchemaProps{
45 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
49 SchemaProps: spec.SchemaProps{
50 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalSpec"),
54 SchemaProps: spec.SchemaProps{
55 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdGlobalStatus"),
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"},
66 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
67 return common.OpenAPIDefinition{
69 SchemaProps: spec.SchemaProps{
70 Description: "CollectdGlobalSpec defines the desired state of CollectdGlobal",
71 Properties: map[string]spec.Schema{
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"},
80 SchemaProps: spec.SchemaProps{
81 Type: []string{"string"},
86 Required: []string{"globalOptions"},
89 Dependencies: []string{},
93 func schema_pkg_apis_onap_v1alpha1_CollectdGlobalStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
94 return common.OpenAPIDefinition{
96 SchemaProps: spec.SchemaProps{
97 Description: "CollectdGlobalStatus defines the observed state of CollectdGlobal",
98 Properties: map[string]spec.Schema{
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"},
114 SchemaProps: spec.SchemaProps{
115 Type: []string{"string"},
120 Required: []string{"status"},
123 Dependencies: []string{},
127 func schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
128 return common.OpenAPIDefinition{
130 SchemaProps: spec.SchemaProps{
131 Description: "CollectdPlugin is the Schema for the collectdplugins API",
132 Properties: map[string]spec.Schema{
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"},
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"},
148 SchemaProps: spec.SchemaProps{
149 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
153 SchemaProps: spec.SchemaProps{
154 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec"),
158 SchemaProps: spec.SchemaProps{
159 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus"),
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"},
170 func schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
171 return common.OpenAPIDefinition{
173 SchemaProps: spec.SchemaProps{
174 Description: "CollectdPluginSpec defines the desired state of CollectdPlugin",
175 Properties: map[string]spec.Schema{
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"},
184 SchemaProps: spec.SchemaProps{
185 Type: []string{"string"},
190 Required: []string{"pluginName", "pluginConf"},
193 Dependencies: []string{},
197 func schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
198 return common.OpenAPIDefinition{
200 SchemaProps: spec.SchemaProps{
201 Description: "CollectdPluginStatus defines the observed state of CollectdPlugin",
202 Properties: map[string]spec.Schema{
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"},
218 SchemaProps: spec.SchemaProps{
219 Type: []string{"string"},
224 Required: []string{"status"},
227 Dependencies: []string{},