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.CollectdPlugin": schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref),
17 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec": schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref),
18 "demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus": schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref),
22 func schema_pkg_apis_onap_v1alpha1_CollectdPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
23 return common.OpenAPIDefinition{
25 SchemaProps: spec.SchemaProps{
26 Description: "CollectdPlugin is the Schema for the collectdplugins API",
27 Properties: map[string]spec.Schema{
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"},
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"},
43 SchemaProps: spec.SchemaProps{
44 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
48 SchemaProps: spec.SchemaProps{
49 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginSpec"),
53 SchemaProps: spec.SchemaProps{
54 Ref: ref("demo/vnfs/DAaaS/microservices/collectd-operator/pkg/apis/onap/v1alpha1.CollectdPluginStatus"),
60 Dependencies: []string{
61 "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"},
65 func schema_pkg_apis_onap_v1alpha1_CollectdPluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
66 return common.OpenAPIDefinition{
68 SchemaProps: spec.SchemaProps{
69 Description: "CollectdPluginSpec defines the desired state of CollectdPlugin",
70 Properties: map[string]spec.Schema{
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"},
79 SchemaProps: spec.SchemaProps{
80 Type: []string{"string"},
85 Required: []string{"pluginName", "pluginConf"},
88 Dependencies: []string{},
92 func schema_pkg_apis_onap_v1alpha1_CollectdPluginStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
93 return common.OpenAPIDefinition{
95 SchemaProps: spec.SchemaProps{
96 Description: "CollectdPluginStatus defines the observed state of CollectdPlugin",
97 Properties: map[string]spec.Schema{
99 SchemaProps: spec.SchemaProps{
100 Description: "CollectdAgents are the collectd pods in the Daemonset Status can be one of \"\", Created, Deleting, Applied, Deprecated",
101 Type: []string{"array"},
102 Items: &spec.SchemaOrArray{
103 Schema: &spec.Schema{
104 SchemaProps: spec.SchemaProps{
105 Type: []string{"string"},
113 SchemaProps: spec.SchemaProps{
114 Type: []string{"string"},
119 Required: []string{"status"},
122 Dependencies: []string{},