Refactor Distributed Analytics project structure
[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/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPlugin":       schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref),
17                 "demo/vnfs/DAaaS/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec":   schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref),
18                 "demo/vnfs/DAaaS/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus": schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref),
19         }
20 }
21
22 func schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
23         return common.OpenAPIDefinition{
24                 Schema: spec.Schema{
25                         SchemaProps: spec.SchemaProps{
26                                 Description: "CollectdPlugin is the Schema for the collectdplugins API",
27                                 Properties: map[string]spec.Schema{
28                                         "kind": {
29                                                 SchemaProps: spec.SchemaProps{
30                                                         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",
31                                                         Type:        []string{"string"},
32                                                         Format:      "",
33                                                 },
34                                         },
35                                         "apiVersion": {
36                                                 SchemaProps: spec.SchemaProps{
37                                                         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",
38                                                         Type:        []string{"string"},
39                                                         Format:      "",
40                                                 },
41                                         },
42                                         "metadata": {
43                                                 SchemaProps: spec.SchemaProps{
44                                                         Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
45                                                 },
46                                         },
47                                         "spec": {
48                                                 SchemaProps: spec.SchemaProps{
49                                                         Ref: ref("demo/vnfs/DAaaS/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec"),
50                                                 },
51                                         },
52                                         "status": {
53                                                 SchemaProps: spec.SchemaProps{
54                                                         Ref: ref("demo/vnfs/DAaaS/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus"),
55                                                 },
56                                         },
57                                 },
58                         },
59                 },
60                 Dependencies: []string{
61                         "demo/vnfs/DAaaS/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec", "demo/vnfs/DAaaS/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
62         }
63 }
64
65 func schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
66         return common.OpenAPIDefinition{
67                 Schema: spec.Schema{
68                         SchemaProps: spec.SchemaProps{
69                                 Description: "CollectdPluginSpec defines the desired state of CollectdPlugin",
70                                 Properties: map[string]spec.Schema{
71                                         "pluginName": {
72                                                 SchemaProps: spec.SchemaProps{
73                                                         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",
74                                                         Type:        []string{"string"},
75                                                         Format:      "",
76                                                 },
77                                         },
78                                         "pluginConf": {
79                                                 SchemaProps: spec.SchemaProps{
80                                                         Type:   []string{"string"},
81                                                         Format: "",
82                                                 },
83                                         },
84                                 },
85                                 Required: []string{"pluginName", "pluginConf"},
86                         },
87                 },
88                 Dependencies: []string{},
89         }
90 }
91
92 func schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
93         return common.OpenAPIDefinition{
94                 Schema: spec.Schema{
95                         SchemaProps: spec.SchemaProps{
96                                 Description: "CollectdPluginStatus defines the observed state of CollectdPlugin",
97                                 Properties: map[string]spec.Schema{
98                                         "collectdAgents": {
99                                                 SchemaProps: spec.SchemaProps{
100                                                         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",
101                                                         Type:        []string{"array"},
102                                                         Items: &spec.SchemaOrArray{
103                                                                 Schema: &spec.Schema{
104                                                                         SchemaProps: spec.SchemaProps{
105                                                                                 Type:   []string{"string"},
106                                                                                 Format: "",
107                                                                         },
108                                                                 },
109                                                         },
110                                                 },
111                                         },
112                                         "collectdConf": {
113                                                 SchemaProps: spec.SchemaProps{
114                                                         Ref: ref("k8s.io/api/core/v1.ConfigMap"),
115                                                 },
116                                         },
117                                 },
118                                 Required: []string{"collectdAgents", "collectdConf"},
119                         },
120                 },
121                 Dependencies: []string{
122                         "k8s.io/api/core/v1.ConfigMap"},
123         }
124 }