1 // +build !ignore_autogenerated
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 "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpoint": schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpoint(ref),
15 "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointSpec": schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointSpec(ref),
16 "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointStatus": schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointStatus(ref),
17 "./pkg/apis/onap/v1alpha1.RemoteFilterAction": schema_pkg_apis_onap_v1alpha1_RemoteFilterAction(ref),
18 "./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec": schema_pkg_apis_onap_v1alpha1_RemoteFilterActionSpec(ref),
19 "./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus": schema_pkg_apis_onap_v1alpha1_RemoteFilterActionStatus(ref),
23 func schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpoint(ref common.ReferenceCallback) common.OpenAPIDefinition {
24 return common.OpenAPIDefinition{
26 SchemaProps: spec.SchemaProps{
27 Description: "PrometheusRemoteEndpoint is the Schema for the prometheusremoteendpoints API",
28 Type: []string{"object"},
29 Properties: map[string]spec.Schema{
31 SchemaProps: spec.SchemaProps{
32 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",
33 Type: []string{"string"},
38 SchemaProps: spec.SchemaProps{
39 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",
40 Type: []string{"string"},
45 SchemaProps: spec.SchemaProps{
46 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
50 SchemaProps: spec.SchemaProps{
51 Ref: ref("./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointSpec"),
55 SchemaProps: spec.SchemaProps{
56 Ref: ref("./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointStatus"),
62 Dependencies: []string{
63 "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointSpec", "./pkg/apis/onap/v1alpha1.PrometheusRemoteEndpointStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
67 func schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
68 return common.OpenAPIDefinition{
70 SchemaProps: spec.SchemaProps{
71 Description: "PrometheusRemoteEndpointSpec defines the desired state of PrometheusRemoteEndpoint",
72 Type: []string{"object"},
73 Properties: map[string]spec.Schema{
75 SchemaProps: spec.SchemaProps{
76 Type: []string{"string"},
81 SchemaProps: spec.SchemaProps{
82 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
86 SchemaProps: spec.SchemaProps{
87 Type: []string{"string"},
92 SchemaProps: spec.SchemaProps{
93 Type: []string{"string"},
98 SchemaProps: spec.SchemaProps{
99 Ref: ref("./pkg/apis/onap/v1alpha1.QueueConfig"),
103 SchemaProps: spec.SchemaProps{
104 Type: []string{"string"},
109 Required: []string{"adapterURL", "type"},
112 Dependencies: []string{
113 "./pkg/apis/onap/v1alpha1.QueueConfig", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
117 func schema_pkg_apis_onap_v1alpha1_PrometheusRemoteEndpointStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
118 return common.OpenAPIDefinition{
120 SchemaProps: spec.SchemaProps{
121 Description: "PrometheusRemoteEndpointStatus defines the observed state of PrometheusRemoteEndpoint",
122 Type: []string{"object"},
123 Properties: map[string]spec.Schema{
124 "prometheusInstance": {
125 SchemaProps: spec.SchemaProps{
126 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-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Status can be Error, Enabled",
127 Type: []string{"string"},
132 SchemaProps: spec.SchemaProps{
133 Type: []string{"string"},
138 SchemaProps: spec.SchemaProps{
139 Type: []string{"string"},
144 SchemaProps: spec.SchemaProps{
145 Type: []string{"string"},
150 Required: []string{"status"},
156 func schema_pkg_apis_onap_v1alpha1_RemoteFilterAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
157 return common.OpenAPIDefinition{
159 SchemaProps: spec.SchemaProps{
160 Description: "RemoteFilterAction is the Schema for the remotefilteractions API",
161 Type: []string{"object"},
162 Properties: map[string]spec.Schema{
164 SchemaProps: spec.SchemaProps{
165 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",
166 Type: []string{"string"},
171 SchemaProps: spec.SchemaProps{
172 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",
173 Type: []string{"string"},
178 SchemaProps: spec.SchemaProps{
179 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
183 SchemaProps: spec.SchemaProps{
184 Ref: ref("./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec"),
188 SchemaProps: spec.SchemaProps{
189 Ref: ref("./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus"),
195 Dependencies: []string{
196 "./pkg/apis/onap/v1alpha1.RemoteFilterActionSpec", "./pkg/apis/onap/v1alpha1.RemoteFilterActionStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
200 func schema_pkg_apis_onap_v1alpha1_RemoteFilterActionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
201 return common.OpenAPIDefinition{
203 SchemaProps: spec.SchemaProps{
204 Description: "RemoteFilterActionSpec defines the desired state of RemoteFilterAction",
205 Type: []string{"object"},
206 Properties: map[string]spec.Schema{
208 SchemaProps: spec.SchemaProps{
209 Type: []string{"string"},
214 SchemaProps: spec.SchemaProps{
215 Type: []string{"string"},
220 VendorExtensible: spec.VendorExtensible{
221 Extensions: spec.Extensions{
222 "x-kubernetes-list-type": "set",
225 SchemaProps: spec.SchemaProps{
226 Description: "SourceLabels are the labels of the each metric",
227 Type: []string{"array"},
228 Items: &spec.SchemaOrArray{
229 Schema: &spec.Schema{
230 SchemaProps: spec.SchemaProps{
231 Type: []string{"string"},
239 SchemaProps: spec.SchemaProps{
240 Type: []string{"string"},
245 SchemaProps: spec.SchemaProps{
246 Type: []string{"string"},
256 func schema_pkg_apis_onap_v1alpha1_RemoteFilterActionStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
257 return common.OpenAPIDefinition{
259 SchemaProps: spec.SchemaProps{
260 Description: "RemoteFilterActionStatus defines the observed state of RemoteFilterAction",
261 Type: []string{"object"},