From d81076b437708d4d56ac7d48bdec384acf852e5e Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Tue, 23 Jun 2026 15:38:29 +0600 Subject: [PATCH] Add all binding yamls Signed-off-by: Arnob kumar saha --- PROJECT | 104 ++ .../v1alpha1/aerospikebinding_types.go | 78 ++ api/catalog/v1alpha1/db2binding_types.go | 78 ++ .../v1alpha1/documentdbbinding_types.go | 78 ++ api/catalog/v1alpha1/hanadbinding_types.go | 78 ++ api/catalog/v1alpha1/ignitebinding_types.go | 78 ++ api/catalog/v1alpha1/milvusbinding_types.go | 78 ++ api/catalog/v1alpha1/neo4jbinding_types.go | 78 ++ api/catalog/v1alpha1/openapi_generated.go | 1086 +++++++++++++++-- api/catalog/v1alpha1/qdrantbinding_types.go | 78 ++ api/catalog/v1alpha1/weaviatebinding_types.go | 78 ++ api/catalog/v1alpha1/zz_generated.deepcopy.go | 531 ++++++++ ...atalog.appscode.com_aerospikebindings.yaml | 301 +++++ crds/catalog.appscode.com_db2bindings.yaml | 301 +++++ ...talog.appscode.com_documentdbbindings.yaml | 301 +++++ crds/catalog.appscode.com_hanadbbindings.yaml | 301 +++++ crds/catalog.appscode.com_ignitebindings.yaml | 301 +++++ crds/catalog.appscode.com_milvusbindings.yaml | 301 +++++ crds/catalog.appscode.com_neo4jbindings.yaml | 301 +++++ crds/catalog.appscode.com_qdrantbindings.yaml | 301 +++++ ...catalog.appscode.com_weaviatebindings.yaml | 301 +++++ 21 files changed, 5030 insertions(+), 102 deletions(-) create mode 100644 api/catalog/v1alpha1/aerospikebinding_types.go create mode 100644 api/catalog/v1alpha1/db2binding_types.go create mode 100644 api/catalog/v1alpha1/documentdbbinding_types.go create mode 100644 api/catalog/v1alpha1/hanadbinding_types.go create mode 100644 api/catalog/v1alpha1/ignitebinding_types.go create mode 100644 api/catalog/v1alpha1/milvusbinding_types.go create mode 100644 api/catalog/v1alpha1/neo4jbinding_types.go create mode 100644 api/catalog/v1alpha1/qdrantbinding_types.go create mode 100644 api/catalog/v1alpha1/weaviatebinding_types.go create mode 100644 crds/catalog.appscode.com_aerospikebindings.yaml create mode 100644 crds/catalog.appscode.com_db2bindings.yaml create mode 100644 crds/catalog.appscode.com_documentdbbindings.yaml create mode 100644 crds/catalog.appscode.com_hanadbbindings.yaml create mode 100644 crds/catalog.appscode.com_ignitebindings.yaml create mode 100644 crds/catalog.appscode.com_milvusbindings.yaml create mode 100644 crds/catalog.appscode.com_neo4jbindings.yaml create mode 100644 crds/catalog.appscode.com_qdrantbindings.yaml create mode 100644 crds/catalog.appscode.com_weaviatebindings.yaml diff --git a/PROJECT b/PROJECT index d14218c9..40a91ac5 100644 --- a/PROJECT +++ b/PROJECT @@ -9,6 +9,46 @@ multigroup: true projectName: catalog repo: go.bytebuilders.dev/catalog resources: +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: AerospikeBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: CassandraBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: ClickHouseBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: DB2Binding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: DocumentDBBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -33,6 +73,30 @@ resources: kind: FerretDBBinding path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: HanaDBBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: HazelcastBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: IgniteBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -57,6 +121,14 @@ resources: kind: MemcachedBinding path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: MilvusBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -81,6 +153,22 @@ resources: kind: MySQLBinding path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: Neo4jBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: OracleBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -121,6 +209,14 @@ resources: kind: ProxySQLBinding path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: QdrantBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 - api: crdVersion: v1 namespaced: true @@ -153,6 +249,14 @@ resources: kind: SolrBinding path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 version: v1alpha1 +- api: + crdVersion: v1 + namespaced: true + domain: appscode.com + group: catalog + kind: WeaviateBinding + path: go.bytebuilders.dev/catalog/api/catalog/v1alpha1 + version: v1alpha1 - api: crdVersion: v1 namespaced: true diff --git a/api/catalog/v1alpha1/aerospikebinding_types.go b/api/catalog/v1alpha1/aerospikebinding_types.go new file mode 100644 index 00000000..b336e75a --- /dev/null +++ b/api/catalog/v1alpha1/aerospikebinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindAerospikeBinding = "AerospikeBinding" + ResourceAerospikeBinding = "aerospikebinding" + ResourceAerospikeBindings = "aerospikebindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=arbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// AerospikeBinding is the Schema for the aerospikebindings API +type AerospikeBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// AerospikeBindingList contains a list of AerospikeBinding +type AerospikeBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []AerospikeBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&AerospikeBinding{}, &AerospikeBindingList{}) +} + +var _ BindingInterface = &AerospikeBinding{} + +func (in *AerospikeBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *AerospikeBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *AerospikeBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *AerospikeBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/db2binding_types.go b/api/catalog/v1alpha1/db2binding_types.go new file mode 100644 index 00000000..1b3ef15a --- /dev/null +++ b/api/catalog/v1alpha1/db2binding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindDB2Binding = "DB2Binding" + ResourceDB2Binding = "db2binding" + ResourceDB2Bindings = "db2bindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=db2binding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// DB2Binding is the Schema for the db2bindings API +type DB2Binding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// DB2BindingList contains a list of DB2Binding +type DB2BindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DB2Binding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&DB2Binding{}, &DB2BindingList{}) +} + +var _ BindingInterface = &DB2Binding{} + +func (in *DB2Binding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *DB2Binding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *DB2Binding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *DB2Binding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/documentdbbinding_types.go b/api/catalog/v1alpha1/documentdbbinding_types.go new file mode 100644 index 00000000..a8a2127d --- /dev/null +++ b/api/catalog/v1alpha1/documentdbbinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindDocumentDBBinding = "DocumentDBBinding" + ResourceDocumentDBBinding = "documentdbbinding" + ResourceDocumentDBBindings = "documentdbbindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=docbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// DocumentDBBinding is the Schema for the documentdbbindings API +type DocumentDBBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// DocumentDBBindingList contains a list of DocumentDBBinding +type DocumentDBBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []DocumentDBBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&DocumentDBBinding{}, &DocumentDBBindingList{}) +} + +var _ BindingInterface = &DocumentDBBinding{} + +func (in *DocumentDBBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *DocumentDBBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *DocumentDBBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *DocumentDBBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/hanadbinding_types.go b/api/catalog/v1alpha1/hanadbinding_types.go new file mode 100644 index 00000000..69c103d3 --- /dev/null +++ b/api/catalog/v1alpha1/hanadbinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindHanaDBBinding = "HanaDBBinding" + ResourceHanaDBBinding = "hanadbinding" + ResourceHanaDBBindings = "hanadbindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=hnbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// HanaDBBinding is the Schema for the hanadbindings API +type HanaDBBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// HanaDBBindingList contains a list of HanaDBBinding +type HanaDBBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []HanaDBBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&HanaDBBinding{}, &HanaDBBindingList{}) +} + +var _ BindingInterface = &HanaDBBinding{} + +func (in *HanaDBBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *HanaDBBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *HanaDBBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *HanaDBBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/ignitebinding_types.go b/api/catalog/v1alpha1/ignitebinding_types.go new file mode 100644 index 00000000..8fc753fc --- /dev/null +++ b/api/catalog/v1alpha1/ignitebinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindIgniteBinding = "IgniteBinding" + ResourceIgniteBinding = "ignitebinding" + ResourceIgniteBindings = "ignitebindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=igbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// IgniteBinding is the Schema for the ignitebindings API +type IgniteBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// IgniteBindingList contains a list of IgniteBinding +type IgniteBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []IgniteBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&IgniteBinding{}, &IgniteBindingList{}) +} + +var _ BindingInterface = &IgniteBinding{} + +func (in *IgniteBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *IgniteBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *IgniteBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *IgniteBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/milvusbinding_types.go b/api/catalog/v1alpha1/milvusbinding_types.go new file mode 100644 index 00000000..5bae5607 --- /dev/null +++ b/api/catalog/v1alpha1/milvusbinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindMilvusBinding = "MilvusBinding" + ResourceMilvusBinding = "milvusbinding" + ResourceMilvusBindings = "milvusbindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=mvbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// MilvusBinding is the Schema for the milvusbindings API +type MilvusBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// MilvusBindingList contains a list of MilvusBinding +type MilvusBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []MilvusBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&MilvusBinding{}, &MilvusBindingList{}) +} + +var _ BindingInterface = &MilvusBinding{} + +func (in *MilvusBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *MilvusBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *MilvusBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *MilvusBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/neo4jbinding_types.go b/api/catalog/v1alpha1/neo4jbinding_types.go new file mode 100644 index 00000000..5ac49ef0 --- /dev/null +++ b/api/catalog/v1alpha1/neo4jbinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindNeo4jBinding = "Neo4jBinding" + ResourceNeo4jBinding = "neo4jbinding" + ResourceNeo4jBindings = "neo4jbindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=njbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// Neo4jBinding is the Schema for the neo4jbindings API +type Neo4jBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// Neo4jBindingList contains a list of Neo4jBinding +type Neo4jBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Neo4jBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&Neo4jBinding{}, &Neo4jBindingList{}) +} + +var _ BindingInterface = &Neo4jBinding{} + +func (in *Neo4jBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *Neo4jBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *Neo4jBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *Neo4jBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/openapi_generated.go b/api/catalog/v1alpha1/openapi_generated.go index 2f153cf3..7f56c3ba 100644 --- a/api/catalog/v1alpha1/openapi_generated.go +++ b/api/catalog/v1alpha1/openapi_generated.go @@ -35,12 +35,18 @@ import ( func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { return map[string]common.OpenAPIDefinition{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.AerospikeBinding": schema_catalog_api_catalog_v1alpha1_AerospikeBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.AerospikeBindingList": schema_catalog_api_catalog_v1alpha1_AerospikeBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec": schema_catalog_api_catalog_v1alpha1_BindingSpec(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus": schema_catalog_api_catalog_v1alpha1_BindingStatus(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.CassandraBinding": schema_catalog_api_catalog_v1alpha1_CassandraBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.CassandraBindingList": schema_catalog_api_catalog_v1alpha1_CassandraBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ClickHouseBinding": schema_catalog_api_catalog_v1alpha1_ClickHouseBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ClickHouseBindingList": schema_catalog_api_catalog_v1alpha1_ClickHouseBindingList(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DB2Binding": schema_catalog_api_catalog_v1alpha1_DB2Binding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DB2BindingList": schema_catalog_api_catalog_v1alpha1_DB2BindingList(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DocumentDBBinding": schema_catalog_api_catalog_v1alpha1_DocumentDBBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DocumentDBBindingList": schema_catalog_api_catalog_v1alpha1_DocumentDBBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DruidBinding": schema_catalog_api_catalog_v1alpha1_DruidBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DruidBindingList": schema_catalog_api_catalog_v1alpha1_DruidBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ElasticsearchBinding": schema_catalog_api_catalog_v1alpha1_ElasticsearchBinding(ref), @@ -49,8 +55,12 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.FerretDBBindingList": schema_catalog_api_catalog_v1alpha1_FerretDBBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.GenericBinding": schema_catalog_api_catalog_v1alpha1_GenericBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.GenericBindingList": schema_catalog_api_catalog_v1alpha1_GenericBindingList(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HanaDBBinding": schema_catalog_api_catalog_v1alpha1_HanaDBBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HanaDBBindingList": schema_catalog_api_catalog_v1alpha1_HanaDBBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HazelcastBinding": schema_catalog_api_catalog_v1alpha1_HazelcastBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HazelcastBindingList": schema_catalog_api_catalog_v1alpha1_HazelcastBindingList(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.IgniteBinding": schema_catalog_api_catalog_v1alpha1_IgniteBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.IgniteBindingList": schema_catalog_api_catalog_v1alpha1_IgniteBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.KafkaBinding": schema_catalog_api_catalog_v1alpha1_KafkaBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.KafkaBindingList": schema_catalog_api_catalog_v1alpha1_KafkaBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MSSQLServerBinding": schema_catalog_api_catalog_v1alpha1_MSSQLServerBinding(ref), @@ -59,10 +69,14 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MariaDBBindingList": schema_catalog_api_catalog_v1alpha1_MariaDBBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MemcachedBinding": schema_catalog_api_catalog_v1alpha1_MemcachedBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MemcachedBindingList": schema_catalog_api_catalog_v1alpha1_MemcachedBindingList(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MilvusBinding": schema_catalog_api_catalog_v1alpha1_MilvusBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MilvusBindingList": schema_catalog_api_catalog_v1alpha1_MilvusBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MongoDBBinding": schema_catalog_api_catalog_v1alpha1_MongoDBBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MongoDBBindingList": schema_catalog_api_catalog_v1alpha1_MongoDBBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MySQLBinding": schema_catalog_api_catalog_v1alpha1_MySQLBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MySQLBindingList": schema_catalog_api_catalog_v1alpha1_MySQLBindingList(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.Neo4jBinding": schema_catalog_api_catalog_v1alpha1_Neo4jBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.Neo4jBindingList": schema_catalog_api_catalog_v1alpha1_Neo4jBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.OracleBinding": schema_catalog_api_catalog_v1alpha1_OracleBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.OracleBindingList": schema_catalog_api_catalog_v1alpha1_OracleBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PerconaXtraDBBinding": schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBinding(ref), @@ -75,6 +89,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PostgresBindingList": schema_catalog_api_catalog_v1alpha1_PostgresBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ProxySQLBinding": schema_catalog_api_catalog_v1alpha1_ProxySQLBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ProxySQLBindingList": schema_catalog_api_catalog_v1alpha1_ProxySQLBindingList(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.QdrantBinding": schema_catalog_api_catalog_v1alpha1_QdrantBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.QdrantBindingList": schema_catalog_api_catalog_v1alpha1_QdrantBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.RabbitMQBinding": schema_catalog_api_catalog_v1alpha1_RabbitMQBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.RabbitMQBindingList": schema_catalog_api_catalog_v1alpha1_RabbitMQBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.RedisBinding": schema_catalog_api_catalog_v1alpha1_RedisBinding(ref), @@ -84,6 +100,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.SolrBinding": schema_catalog_api_catalog_v1alpha1_SolrBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.SolrBindingList": schema_catalog_api_catalog_v1alpha1_SolrBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.UIExposureSpec": schema_catalog_api_catalog_v1alpha1_UIExposureSpec(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.WeaviateBinding": schema_catalog_api_catalog_v1alpha1_WeaviateBinding(ref), + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.WeaviateBindingList": schema_catalog_api_catalog_v1alpha1_WeaviateBindingList(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ZooKeeperBinding": schema_catalog_api_catalog_v1alpha1_ZooKeeperBinding(ref), "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ZooKeeperBindingList": schema_catalog_api_catalog_v1alpha1_ZooKeeperBindingList(ref), "k8s.io/api/apps/v1.ControllerRevision": schema_k8sio_api_apps_v1_ControllerRevision(ref), @@ -434,6 +452,102 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA } } +func schema_catalog_api_catalog_v1alpha1_AerospikeBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "AerospikeBinding is the Schema for the aerospikebindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_AerospikeBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "AerospikeBindingList contains a list of AerospikeBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.AerospikeBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.AerospikeBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + func schema_catalog_api_catalog_v1alpha1_BindingSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -713,11 +827,11 @@ func schema_catalog_api_catalog_v1alpha1_ClickHouseBindingList(ref common.Refere } } -func schema_catalog_api_catalog_v1alpha1_DruidBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_DB2Binding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "DruidBinding is the Schema for the druidbindings API", + Description: "DB2Binding is the Schema for the db2bindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -760,11 +874,11 @@ func schema_catalog_api_catalog_v1alpha1_DruidBinding(ref common.ReferenceCallba } } -func schema_catalog_api_catalog_v1alpha1_DruidBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_DB2BindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "DruidBindingList contains a list of DruidBinding", + Description: "DB2BindingList contains a list of DB2Binding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -794,7 +908,7 @@ func schema_catalog_api_catalog_v1alpha1_DruidBindingList(ref common.ReferenceCa Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DruidBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DB2Binding"), }, }, }, @@ -805,15 +919,687 @@ func schema_catalog_api_catalog_v1alpha1_DruidBindingList(ref common.ReferenceCa }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DruidBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DB2Binding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_ElasticsearchBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_DocumentDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "ElasticsearchBinding is the Schema for the elasticsearchbindings API", + Description: "DocumentDBBinding is the Schema for the documentdbbindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_DocumentDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "DocumentDBBindingList contains a list of DocumentDBBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DocumentDBBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DocumentDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_DruidBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "DruidBinding is the Schema for the druidbindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_DruidBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "DruidBindingList contains a list of DruidBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DruidBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.DruidBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_ElasticsearchBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ElasticsearchBinding is the Schema for the elasticsearchbindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_ElasticsearchBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "ElasticsearchBindingList contains a list of ElasticsearchBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ElasticsearchBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ElasticsearchBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_FerretDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "FerretDBBinding is the Schema for the ferretdbbindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_FerretDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "FerretDBBindingList contains a list of FerretDBBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.FerretDBBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.FerretDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_GenericBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "GenericBinding is the Schema for the generic binding API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_GenericBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "GenericBindingList contains a list of GenericBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.GenericBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.GenericBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_HanaDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "HanaDBBinding is the Schema for the hanadbindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_HanaDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "HanaDBBindingList contains a list of HanaDBBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HanaDBBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HanaDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_HazelcastBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "HazelcastBinding is the Schema for the hazelcastbindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_HazelcastBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "HazelcastBindingList contains a list of HazelcastBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HazelcastBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HazelcastBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_IgniteBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "IgniteBinding is the Schema for the ignitebindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -856,11 +1642,11 @@ func schema_catalog_api_catalog_v1alpha1_ElasticsearchBinding(ref common.Referen } } -func schema_catalog_api_catalog_v1alpha1_ElasticsearchBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_IgniteBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "ElasticsearchBindingList contains a list of ElasticsearchBinding", + Description: "IgniteBindingList contains a list of IgniteBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -890,7 +1676,7 @@ func schema_catalog_api_catalog_v1alpha1_ElasticsearchBindingList(ref common.Ref Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ElasticsearchBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.IgniteBinding"), }, }, }, @@ -901,15 +1687,15 @@ func schema_catalog_api_catalog_v1alpha1_ElasticsearchBindingList(ref common.Ref }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ElasticsearchBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.IgniteBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_FerretDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_KafkaBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "FerretDBBinding is the Schema for the ferretdbbindings API", + Description: "KafkaBinding is the Schema for the kafkabindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -952,11 +1738,11 @@ func schema_catalog_api_catalog_v1alpha1_FerretDBBinding(ref common.ReferenceCal } } -func schema_catalog_api_catalog_v1alpha1_FerretDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_KafkaBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "FerretDBBindingList contains a list of FerretDBBinding", + Description: "KafkaBindingList contains a list of KafkaBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -986,7 +1772,7 @@ func schema_catalog_api_catalog_v1alpha1_FerretDBBindingList(ref common.Referenc Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.FerretDBBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.KafkaBinding"), }, }, }, @@ -997,15 +1783,15 @@ func schema_catalog_api_catalog_v1alpha1_FerretDBBindingList(ref common.Referenc }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.FerretDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.KafkaBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_GenericBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MSSQLServerBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "GenericBinding is the Schema for the generic binding API", + Description: "MSSQLServerBinding is the Schema for the mssqlserverbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1048,11 +1834,11 @@ func schema_catalog_api_catalog_v1alpha1_GenericBinding(ref common.ReferenceCall } } -func schema_catalog_api_catalog_v1alpha1_GenericBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MSSQLServerBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "GenericBindingList contains a list of GenericBinding", + Description: "MSSQLServerBindingList contains a list of MSSQLServerBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1082,7 +1868,7 @@ func schema_catalog_api_catalog_v1alpha1_GenericBindingList(ref common.Reference Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.GenericBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MSSQLServerBinding"), }, }, }, @@ -1093,15 +1879,15 @@ func schema_catalog_api_catalog_v1alpha1_GenericBindingList(ref common.Reference }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.GenericBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MSSQLServerBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_HazelcastBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MariaDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "HazelcastBinding is the Schema for the hazelcastbindings API", + Description: "MariaDBBinding is the Schema for the mariadbbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1144,11 +1930,11 @@ func schema_catalog_api_catalog_v1alpha1_HazelcastBinding(ref common.ReferenceCa } } -func schema_catalog_api_catalog_v1alpha1_HazelcastBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MariaDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "HazelcastBindingList contains a list of HazelcastBinding", + Description: "MariaDBBindingList contains a list of MariaDBBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1178,7 +1964,7 @@ func schema_catalog_api_catalog_v1alpha1_HazelcastBindingList(ref common.Referen Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HazelcastBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MariaDBBinding"), }, }, }, @@ -1189,15 +1975,15 @@ func schema_catalog_api_catalog_v1alpha1_HazelcastBindingList(ref common.Referen }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.HazelcastBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MariaDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_KafkaBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MemcachedBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "KafkaBinding is the Schema for the kafkabindings API", + Description: "MemcachedBinding is the Schema for the memcachedbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1240,11 +2026,11 @@ func schema_catalog_api_catalog_v1alpha1_KafkaBinding(ref common.ReferenceCallba } } -func schema_catalog_api_catalog_v1alpha1_KafkaBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MemcachedBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "KafkaBindingList contains a list of KafkaBinding", + Description: "MemcachedBindingList contains a list of MemcachedBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1274,7 +2060,7 @@ func schema_catalog_api_catalog_v1alpha1_KafkaBindingList(ref common.ReferenceCa Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.KafkaBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MemcachedBinding"), }, }, }, @@ -1285,15 +2071,15 @@ func schema_catalog_api_catalog_v1alpha1_KafkaBindingList(ref common.ReferenceCa }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.KafkaBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MemcachedBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_MSSQLServerBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MilvusBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MSSQLServerBinding is the Schema for the mssqlserverbindings API", + Description: "MilvusBinding is the Schema for the milvusbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1336,11 +2122,11 @@ func schema_catalog_api_catalog_v1alpha1_MSSQLServerBinding(ref common.Reference } } -func schema_catalog_api_catalog_v1alpha1_MSSQLServerBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MilvusBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MSSQLServerBindingList contains a list of MSSQLServerBinding", + Description: "MilvusBindingList contains a list of MilvusBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1370,7 +2156,7 @@ func schema_catalog_api_catalog_v1alpha1_MSSQLServerBindingList(ref common.Refer Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MSSQLServerBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MilvusBinding"), }, }, }, @@ -1381,15 +2167,15 @@ func schema_catalog_api_catalog_v1alpha1_MSSQLServerBindingList(ref common.Refer }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MSSQLServerBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MilvusBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_MariaDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MongoDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MariaDBBinding is the Schema for the mariadbbindings API", + Description: "MongoDBBinding is the Schema for the mongodbbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1432,11 +2218,11 @@ func schema_catalog_api_catalog_v1alpha1_MariaDBBinding(ref common.ReferenceCall } } -func schema_catalog_api_catalog_v1alpha1_MariaDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MongoDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MariaDBBindingList contains a list of MariaDBBinding", + Description: "MongoDBBindingList contains a list of MongoDBBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1466,7 +2252,7 @@ func schema_catalog_api_catalog_v1alpha1_MariaDBBindingList(ref common.Reference Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MariaDBBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MongoDBBinding"), }, }, }, @@ -1477,15 +2263,15 @@ func schema_catalog_api_catalog_v1alpha1_MariaDBBindingList(ref common.Reference }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MariaDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MongoDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_MemcachedBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MySQLBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MemcachedBinding is the Schema for the memcachedbindings API", + Description: "MySQLBinding is the Schema for the mysqlbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1528,11 +2314,11 @@ func schema_catalog_api_catalog_v1alpha1_MemcachedBinding(ref common.ReferenceCa } } -func schema_catalog_api_catalog_v1alpha1_MemcachedBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_MySQLBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MemcachedBindingList contains a list of MemcachedBinding", + Description: "MySQLBindingList contains a list of MySQLBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1562,7 +2348,7 @@ func schema_catalog_api_catalog_v1alpha1_MemcachedBindingList(ref common.Referen Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MemcachedBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MySQLBinding"), }, }, }, @@ -1573,15 +2359,15 @@ func schema_catalog_api_catalog_v1alpha1_MemcachedBindingList(ref common.Referen }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MemcachedBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MySQLBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_MongoDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_Neo4jBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MongoDBBinding is the Schema for the mongodbbindings API", + Description: "Neo4jBinding is the Schema for the neo4jbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1624,11 +2410,11 @@ func schema_catalog_api_catalog_v1alpha1_MongoDBBinding(ref common.ReferenceCall } } -func schema_catalog_api_catalog_v1alpha1_MongoDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_Neo4jBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MongoDBBindingList contains a list of MongoDBBinding", + Description: "Neo4jBindingList contains a list of Neo4jBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1658,7 +2444,7 @@ func schema_catalog_api_catalog_v1alpha1_MongoDBBindingList(ref common.Reference Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MongoDBBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.Neo4jBinding"), }, }, }, @@ -1669,15 +2455,15 @@ func schema_catalog_api_catalog_v1alpha1_MongoDBBindingList(ref common.Reference }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MongoDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.Neo4jBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_MySQLBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_OracleBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MySQLBinding is the Schema for the mysqlbindings API", + Description: "OracleBinding is the Schema for the oraclebindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1720,11 +2506,11 @@ func schema_catalog_api_catalog_v1alpha1_MySQLBinding(ref common.ReferenceCallba } } -func schema_catalog_api_catalog_v1alpha1_MySQLBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_OracleBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "MySQLBindingList contains a list of MySQLBinding", + Description: "OracleBindingList contains a list of OracleBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1754,7 +2540,7 @@ func schema_catalog_api_catalog_v1alpha1_MySQLBindingList(ref common.ReferenceCa Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MySQLBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.OracleBinding"), }, }, }, @@ -1765,15 +2551,15 @@ func schema_catalog_api_catalog_v1alpha1_MySQLBindingList(ref common.ReferenceCa }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.MySQLBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.OracleBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_OracleBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "OracleBinding is the Schema for the oraclebindings API", + Description: "PerconaXtraDBBinding is the Schema for the perconaxtradbbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1816,11 +2602,11 @@ func schema_catalog_api_catalog_v1alpha1_OracleBinding(ref common.ReferenceCallb } } -func schema_catalog_api_catalog_v1alpha1_OracleBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "OracleBindingList contains a list of OracleBinding", + Description: "PerconaXtraDBBindingList contains a list of PerconaXtraDBBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1850,7 +2636,7 @@ func schema_catalog_api_catalog_v1alpha1_OracleBindingList(ref common.ReferenceC Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.OracleBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PerconaXtraDBBinding"), }, }, }, @@ -1861,15 +2647,15 @@ func schema_catalog_api_catalog_v1alpha1_OracleBindingList(ref common.ReferenceC }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.OracleBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PerconaXtraDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PgBouncerBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PerconaXtraDBBinding is the Schema for the perconaxtradbbindings API", + Description: "PgBouncerBinding is the Schema for the pgbouncerbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1912,11 +2698,11 @@ func schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBinding(ref common.Referen } } -func schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PgBouncerBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PerconaXtraDBBindingList contains a list of PerconaXtraDBBinding", + Description: "PgBouncerBindingList contains a list of PgBouncerBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -1946,7 +2732,7 @@ func schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBindingList(ref common.Ref Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PerconaXtraDBBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgBouncerBinding"), }, }, }, @@ -1957,15 +2743,15 @@ func schema_catalog_api_catalog_v1alpha1_PerconaXtraDBBindingList(ref common.Ref }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PerconaXtraDBBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgBouncerBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_PgBouncerBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PgpoolBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PgBouncerBinding is the Schema for the pgbouncerbindings API", + Description: "PgpoolBinding is the Schema for the pgpoolbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2008,11 +2794,11 @@ func schema_catalog_api_catalog_v1alpha1_PgBouncerBinding(ref common.ReferenceCa } } -func schema_catalog_api_catalog_v1alpha1_PgBouncerBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PgpoolBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PgBouncerBindingList contains a list of PgBouncerBinding", + Description: "PgpoolBindingList contains a list of PgpoolBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2042,7 +2828,7 @@ func schema_catalog_api_catalog_v1alpha1_PgBouncerBindingList(ref common.Referen Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgBouncerBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgpoolBinding"), }, }, }, @@ -2053,15 +2839,15 @@ func schema_catalog_api_catalog_v1alpha1_PgBouncerBindingList(ref common.Referen }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgBouncerBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgpoolBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_PgpoolBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PostgresBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PgpoolBinding is the Schema for the pgpoolbindings API", + Description: "PostgresBinding is the Schema for the postgresbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2104,11 +2890,11 @@ func schema_catalog_api_catalog_v1alpha1_PgpoolBinding(ref common.ReferenceCallb } } -func schema_catalog_api_catalog_v1alpha1_PgpoolBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_PostgresBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PgpoolBindingList contains a list of PgpoolBinding", + Description: "PostgresBindingList contains a list of PostgresBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2138,7 +2924,7 @@ func schema_catalog_api_catalog_v1alpha1_PgpoolBindingList(ref common.ReferenceC Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgpoolBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PostgresBinding"), }, }, }, @@ -2149,15 +2935,15 @@ func schema_catalog_api_catalog_v1alpha1_PgpoolBindingList(ref common.ReferenceC }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PgpoolBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PostgresBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_PostgresBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_ProxySQLBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PostgresBinding is the Schema for the postgresbindings API", + Description: "ProxySQLBinding is the Schema for the proxysqlbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2200,11 +2986,11 @@ func schema_catalog_api_catalog_v1alpha1_PostgresBinding(ref common.ReferenceCal } } -func schema_catalog_api_catalog_v1alpha1_PostgresBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_ProxySQLBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "PostgresBindingList contains a list of PostgresBinding", + Description: "ProxySQLBindingList contains a list of ProxySQLBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2234,7 +3020,7 @@ func schema_catalog_api_catalog_v1alpha1_PostgresBindingList(ref common.Referenc Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PostgresBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ProxySQLBinding"), }, }, }, @@ -2245,15 +3031,15 @@ func schema_catalog_api_catalog_v1alpha1_PostgresBindingList(ref common.Referenc }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.PostgresBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ProxySQLBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } -func schema_catalog_api_catalog_v1alpha1_ProxySQLBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_QdrantBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "ProxySQLBinding is the Schema for the proxysqlbindings API", + Description: "QdrantBinding is the Schema for the qdrantbindings API", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2296,11 +3082,11 @@ func schema_catalog_api_catalog_v1alpha1_ProxySQLBinding(ref common.ReferenceCal } } -func schema_catalog_api_catalog_v1alpha1_ProxySQLBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { +func schema_catalog_api_catalog_v1alpha1_QdrantBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ - Description: "ProxySQLBindingList contains a list of ProxySQLBinding", + Description: "QdrantBindingList contains a list of QdrantBinding", Type: []string{"object"}, Properties: map[string]spec.Schema{ "kind": { @@ -2330,7 +3116,7 @@ func schema_catalog_api_catalog_v1alpha1_ProxySQLBindingList(ref common.Referenc Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ProxySQLBinding"), + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.QdrantBinding"), }, }, }, @@ -2341,7 +3127,7 @@ func schema_catalog_api_catalog_v1alpha1_ProxySQLBindingList(ref common.Referenc }, }, Dependencies: []string{ - "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.ProxySQLBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.QdrantBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } @@ -2756,6 +3542,102 @@ func schema_catalog_api_catalog_v1alpha1_UIExposureSpec(ref common.ReferenceCall } } +func schema_catalog_api_catalog_v1alpha1_WeaviateBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "WeaviateBinding is the Schema for the weaviatebindings API", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingSpec", "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.BindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + } +} + +func schema_catalog_api_catalog_v1alpha1_WeaviateBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "WeaviateBindingList contains a list of WeaviateBinding", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + 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/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("go.bytebuilders.dev/catalog/api/catalog/v1alpha1.WeaviateBinding"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "go.bytebuilders.dev/catalog/api/catalog/v1alpha1.WeaviateBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + } +} + func schema_catalog_api_catalog_v1alpha1_ZooKeeperBinding(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/api/catalog/v1alpha1/qdrantbinding_types.go b/api/catalog/v1alpha1/qdrantbinding_types.go new file mode 100644 index 00000000..31a838be --- /dev/null +++ b/api/catalog/v1alpha1/qdrantbinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindQdrantBinding = "QdrantBinding" + ResourceQdrantBinding = "qdrantbinding" + ResourceQdrantBindings = "qdrantbindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=qdbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// QdrantBinding is the Schema for the qdrantbindings API +type QdrantBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// QdrantBindingList contains a list of QdrantBinding +type QdrantBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []QdrantBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&QdrantBinding{}, &QdrantBindingList{}) +} + +var _ BindingInterface = &QdrantBinding{} + +func (in *QdrantBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *QdrantBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *QdrantBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *QdrantBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/weaviatebinding_types.go b/api/catalog/v1alpha1/weaviatebinding_types.go new file mode 100644 index 00000000..1994b6ca --- /dev/null +++ b/api/catalog/v1alpha1/weaviatebinding_types.go @@ -0,0 +1,78 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" +) + +const ( + ResourceKindWeaviateBinding = "WeaviateBinding" + ResourceWeaviateBinding = "weaviatebinding" + ResourceWeaviateBindings = "weaviatebindings" +) + +// +kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status +// +kubebuilder:resource:shortName=wvbinding,categories={binding,kubedb,appscode} +// +kubebuilder:printcolumn:name="Src_NS",type="string",JSONPath=".spec.sourceRef.namespace" +// +kubebuilder:printcolumn:name="Src_Name",type="string",JSONPath=".spec.sourceRef.name" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" + +// WeaviateBinding is the Schema for the weaviatebindings API +type WeaviateBinding struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec BindingSpec `json:"spec,omitempty"` + Status BindingStatus `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// WeaviateBindingList contains a list of WeaviateBinding +type WeaviateBindingList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []WeaviateBinding `json:"items"` +} + +func init() { + SchemeBuilder.Register(&WeaviateBinding{}, &WeaviateBindingList{}) +} + +var _ BindingInterface = &WeaviateBinding{} + +func (in *WeaviateBinding) GetSourceRef() kmapi.ObjectReference { + return in.Spec.SourceRef +} + +func (in *WeaviateBinding) GetStatus() *BindingStatus { + return &in.Status +} + +func (in *WeaviateBinding) GetConditions() kmapi.Conditions { + return in.Status.Conditions +} + +func (in *WeaviateBinding) SetConditions(conditions kmapi.Conditions) { + in.Status.Conditions = conditions +} diff --git a/api/catalog/v1alpha1/zz_generated.deepcopy.go b/api/catalog/v1alpha1/zz_generated.deepcopy.go index 97cb8dbd..bf110ec7 100644 --- a/api/catalog/v1alpha1/zz_generated.deepcopy.go +++ b/api/catalog/v1alpha1/zz_generated.deepcopy.go @@ -27,6 +27,65 @@ import ( apiv1 "kmodules.xyz/offshoot-api/api/v1" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AerospikeBinding) DeepCopyInto(out *AerospikeBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AerospikeBinding. +func (in *AerospikeBinding) DeepCopy() *AerospikeBinding { + if in == nil { + return nil + } + out := new(AerospikeBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AerospikeBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AerospikeBindingList) DeepCopyInto(out *AerospikeBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AerospikeBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AerospikeBindingList. +func (in *AerospikeBindingList) DeepCopy() *AerospikeBindingList { + if in == nil { + return nil + } + out := new(AerospikeBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AerospikeBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BindingSpec) DeepCopyInto(out *BindingSpec) { *out = *in @@ -203,6 +262,124 @@ func (in *ClickHouseBindingList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DB2Binding) DeepCopyInto(out *DB2Binding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DB2Binding. +func (in *DB2Binding) DeepCopy() *DB2Binding { + if in == nil { + return nil + } + out := new(DB2Binding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DB2Binding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DB2BindingList) DeepCopyInto(out *DB2BindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DB2Binding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DB2BindingList. +func (in *DB2BindingList) DeepCopy() *DB2BindingList { + if in == nil { + return nil + } + out := new(DB2BindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DB2BindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DocumentDBBinding) DeepCopyInto(out *DocumentDBBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentDBBinding. +func (in *DocumentDBBinding) DeepCopy() *DocumentDBBinding { + if in == nil { + return nil + } + out := new(DocumentDBBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DocumentDBBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DocumentDBBindingList) DeepCopyInto(out *DocumentDBBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DocumentDBBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentDBBindingList. +func (in *DocumentDBBindingList) DeepCopy() *DocumentDBBindingList { + if in == nil { + return nil + } + out := new(DocumentDBBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DocumentDBBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *DruidBinding) DeepCopyInto(out *DruidBinding) { *out = *in @@ -439,6 +616,65 @@ func (in *GenericBindingList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HanaDBBinding) DeepCopyInto(out *HanaDBBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HanaDBBinding. +func (in *HanaDBBinding) DeepCopy() *HanaDBBinding { + if in == nil { + return nil + } + out := new(HanaDBBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HanaDBBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *HanaDBBindingList) DeepCopyInto(out *HanaDBBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]HanaDBBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HanaDBBindingList. +func (in *HanaDBBindingList) DeepCopy() *HanaDBBindingList { + if in == nil { + return nil + } + out := new(HanaDBBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *HanaDBBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HazelcastBinding) DeepCopyInto(out *HazelcastBinding) { *out = *in @@ -498,6 +734,65 @@ func (in *HazelcastBindingList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IgniteBinding) DeepCopyInto(out *IgniteBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgniteBinding. +func (in *IgniteBinding) DeepCopy() *IgniteBinding { + if in == nil { + return nil + } + out := new(IgniteBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IgniteBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IgniteBindingList) DeepCopyInto(out *IgniteBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]IgniteBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgniteBindingList. +func (in *IgniteBindingList) DeepCopy() *IgniteBindingList { + if in == nil { + return nil + } + out := new(IgniteBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *IgniteBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *KafkaBinding) DeepCopyInto(out *KafkaBinding) { *out = *in @@ -734,6 +1029,65 @@ func (in *MemcachedBindingList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MilvusBinding) DeepCopyInto(out *MilvusBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MilvusBinding. +func (in *MilvusBinding) DeepCopy() *MilvusBinding { + if in == nil { + return nil + } + out := new(MilvusBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MilvusBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MilvusBindingList) DeepCopyInto(out *MilvusBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MilvusBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MilvusBindingList. +func (in *MilvusBindingList) DeepCopy() *MilvusBindingList { + if in == nil { + return nil + } + out := new(MilvusBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MilvusBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MongoDBBinding) DeepCopyInto(out *MongoDBBinding) { *out = *in @@ -852,6 +1206,65 @@ func (in *MySQLBindingList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Neo4jBinding) DeepCopyInto(out *Neo4jBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Neo4jBinding. +func (in *Neo4jBinding) DeepCopy() *Neo4jBinding { + if in == nil { + return nil + } + out := new(Neo4jBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Neo4jBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Neo4jBindingList) DeepCopyInto(out *Neo4jBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Neo4jBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Neo4jBindingList. +func (in *Neo4jBindingList) DeepCopy() *Neo4jBindingList { + if in == nil { + return nil + } + out := new(Neo4jBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Neo4jBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OracleBinding) DeepCopyInto(out *OracleBinding) { *out = *in @@ -1206,6 +1619,65 @@ func (in *ProxySQLBindingList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QdrantBinding) DeepCopyInto(out *QdrantBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QdrantBinding. +func (in *QdrantBinding) DeepCopy() *QdrantBinding { + if in == nil { + return nil + } + out := new(QdrantBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *QdrantBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *QdrantBindingList) DeepCopyInto(out *QdrantBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]QdrantBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QdrantBindingList. +func (in *QdrantBindingList) DeepCopy() *QdrantBindingList { + if in == nil { + return nil + } + out := new(QdrantBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *QdrantBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RabbitMQBinding) DeepCopyInto(out *RabbitMQBinding) { *out = *in @@ -1457,6 +1929,65 @@ func (in *UIExposureSpec) DeepCopy() *UIExposureSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WeaviateBinding) DeepCopyInto(out *WeaviateBinding) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeaviateBinding. +func (in *WeaviateBinding) DeepCopy() *WeaviateBinding { + if in == nil { + return nil + } + out := new(WeaviateBinding) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WeaviateBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *WeaviateBindingList) DeepCopyInto(out *WeaviateBindingList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]WeaviateBinding, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeaviateBindingList. +func (in *WeaviateBindingList) DeepCopy() *WeaviateBindingList { + if in == nil { + return nil + } + out := new(WeaviateBindingList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *WeaviateBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ZooKeeperBinding) DeepCopyInto(out *ZooKeeperBinding) { *out = *in diff --git a/crds/catalog.appscode.com_aerospikebindings.yaml b/crds/catalog.appscode.com_aerospikebindings.yaml new file mode 100644 index 00000000..60495c92 --- /dev/null +++ b/crds/catalog.appscode.com_aerospikebindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: aerospikebindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: AerospikeBinding + listKind: AerospikeBindingList + plural: aerospikebindings + shortNames: + - arbinding + singular: aerospikebinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: AerospikeBinding is the Schema for the aerospikebindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_db2bindings.yaml b/crds/catalog.appscode.com_db2bindings.yaml new file mode 100644 index 00000000..712e3fc9 --- /dev/null +++ b/crds/catalog.appscode.com_db2bindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: db2bindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: DB2Binding + listKind: DB2BindingList + plural: db2bindings + shortNames: + - db2binding + singular: db2binding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DB2Binding is the Schema for the db2bindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_documentdbbindings.yaml b/crds/catalog.appscode.com_documentdbbindings.yaml new file mode 100644 index 00000000..76c6e671 --- /dev/null +++ b/crds/catalog.appscode.com_documentdbbindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: documentdbbindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: DocumentDBBinding + listKind: DocumentDBBindingList + plural: documentdbbindings + shortNames: + - docbinding + singular: documentdbbinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: DocumentDBBinding is the Schema for the documentdbbindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_hanadbbindings.yaml b/crds/catalog.appscode.com_hanadbbindings.yaml new file mode 100644 index 00000000..de47c9ca --- /dev/null +++ b/crds/catalog.appscode.com_hanadbbindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: hanadbbindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: HanaDBBinding + listKind: HanaDBBindingList + plural: hanadbbindings + shortNames: + - hnbinding + singular: hanadbbinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: HanaDBBinding is the Schema for the hanadbindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_ignitebindings.yaml b/crds/catalog.appscode.com_ignitebindings.yaml new file mode 100644 index 00000000..d0580f69 --- /dev/null +++ b/crds/catalog.appscode.com_ignitebindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: ignitebindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: IgniteBinding + listKind: IgniteBindingList + plural: ignitebindings + shortNames: + - igbinding + singular: ignitebinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: IgniteBinding is the Schema for the ignitebindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_milvusbindings.yaml b/crds/catalog.appscode.com_milvusbindings.yaml new file mode 100644 index 00000000..33b89386 --- /dev/null +++ b/crds/catalog.appscode.com_milvusbindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: milvusbindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: MilvusBinding + listKind: MilvusBindingList + plural: milvusbindings + shortNames: + - mvbinding + singular: milvusbinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: MilvusBinding is the Schema for the milvusbindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_neo4jbindings.yaml b/crds/catalog.appscode.com_neo4jbindings.yaml new file mode 100644 index 00000000..41f120de --- /dev/null +++ b/crds/catalog.appscode.com_neo4jbindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: neo4jbindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: Neo4jBinding + listKind: Neo4jBindingList + plural: neo4jbindings + shortNames: + - njbinding + singular: neo4jbinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: Neo4jBinding is the Schema for the neo4jbindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_qdrantbindings.yaml b/crds/catalog.appscode.com_qdrantbindings.yaml new file mode 100644 index 00000000..cc34169e --- /dev/null +++ b/crds/catalog.appscode.com_qdrantbindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: qdrantbindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: QdrantBinding + listKind: QdrantBindingList + plural: qdrantbindings + shortNames: + - qdbinding + singular: qdrantbinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: QdrantBinding is the Schema for the qdrantbindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/crds/catalog.appscode.com_weaviatebindings.yaml b/crds/catalog.appscode.com_weaviatebindings.yaml new file mode 100644 index 00000000..af07a11c --- /dev/null +++ b/crds/catalog.appscode.com_weaviatebindings.yaml @@ -0,0 +1,301 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: ace + kube-bind.appscode.com/exported: "true" + name: weaviatebindings.catalog.appscode.com +spec: + group: catalog.appscode.com + names: + categories: + - binding + - kubedb + - appscode + kind: WeaviateBinding + listKind: WeaviateBindingList + plural: weaviatebindings + shortNames: + - wvbinding + singular: weaviatebinding + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.sourceRef.namespace + name: Src_NS + type: string + - jsonPath: .spec.sourceRef.name + name: Src_Name + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + description: WeaviateBinding is the Schema for the weaviatebindings API + properties: + apiVersion: + 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/sig-architecture/api-conventions.md#resources + type: string + kind: + 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/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: BindingSpec defines the desired state of Binding + properties: + sourceRef: + description: SourceRef refers to the source app instance. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + namespace: + description: |- + Namespace of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ + type: string + required: + - name + type: object + uiExposure: + description: UIExposure holds the specification of UI exposer + properties: + disableCostEfficiency: + type: boolean + disableUI: + type: boolean + required: + - disableCostEfficiency + - disableUI + type: object + required: + - sourceRef + type: object + status: + description: BindingStatus defines the observed state of App + properties: + conditions: + items: + description: Condition defines an observation of a object operational + state. + properties: + lastTransitionTime: + description: |- + Last time the condition transitioned from one status to another. + This should be when the underlying condition changed. If that is not known, then using the time when + the API field changed is acceptable. + format: date-time + type: string + message: + description: |- + A human-readable message indicating details about the transition. + This field may be empty. + type: string + observedGeneration: + description: |- + If set, this represents the .metadata.generation that the condition was set based upon. + For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date + with respect to the current state of the instance. + format: int64 + type: integer + reason: + description: |- + The reason for the condition's last transition in CamelCase. + The specific API may choose whether this field is considered a guaranteed API. + This field may not be empty. + type: string + severity: + description: |- + Severity provides an explicit classification of Reason code, so the users or machines can immediately + understand the current situation and act accordingly. + The Severity field MUST be set only when Status=False. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: |- + Type of condition in CamelCase or in foo.example.com/CamelCase. + Many .condition.type values are consistent across resources like Available, but because arbitrary util + can be useful (see .node.status.util), the ability to deconflict is important. + type: string + required: + - lastTransitionTime + - status + - type + type: object + maxItems: 12 + type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map + gateway: + properties: + hostname: + type: string + ip: + type: string + name: + type: string + namespace: + type: string + services: + description: Services is an optional configuration for services + used to expose database + items: + properties: + alias: + description: Alias represents the identifier of the service. + type: string + ports: + items: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the + gateway service. + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + description: UI is an optional list of database web uis + items: + properties: + alias: + description: |- + Alias represents the identifier of the service. + This should match the db ui chart name + type: string + helmRelease: + description: |- + HelmRelease is the name of the helm release used to deploy this ui + The name format is typically - + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + port: + description: GatewayPort contains information on Gateway + service's port. + properties: + backendServicePort: + description: Number of the port to access the backend + service. + format: int32 + type: integer + name: + description: The name of this port within the gateway + service. + type: string + nodePort: + description: |- + The port on each node on which this gateway service is exposed when type is + NodePort or LoadBalancer. + format: int32 + type: integer + port: + description: The port that will be exposed by the gateway + service. + format: int32 + type: integer + required: + - port + type: object + url: + description: URL of the database ui + type: string + required: + - alias + - port + - url + type: object + type: array + required: + - name + - namespace + type: object + phase: + description: Specifies the current phase of the App + enum: + - Pending + - InProgress + - Terminating + - Current + - Failed + - Expired + type: string + secretRef: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + properties: + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + type: object + x-kubernetes-map-type: atomic + source: + type: object + x-kubernetes-preserve-unknown-fields: true + type: object + type: object + served: true + storage: true + subresources: + status: {}