File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package v1alpha1
1818
1919import (
2020 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21+ kmapi "kmodules.xyz/client-go/api/v1"
2122)
2223
2324const (
@@ -56,3 +57,21 @@ type MemcachedBindingList struct {
5657func init () {
5758 SchemeBuilder .Register (& MemcachedBinding {}, & MemcachedBindingList {})
5859}
60+
61+ var _ BindingInterface = & MemcachedBinding {}
62+
63+ func (in * MemcachedBinding ) GetSourceRef () kmapi.ObjectReference {
64+ return in .Spec .SourceRef
65+ }
66+
67+ func (in * MemcachedBinding ) GetStatus () * BindingStatus {
68+ return & in .Status
69+ }
70+
71+ func (in * MemcachedBinding ) GetConditions () kmapi.Conditions {
72+ return in .Status .Conditions
73+ }
74+
75+ func (in * MemcachedBinding ) SetConditions (conditions kmapi.Conditions ) {
76+ in .Status .Conditions = conditions
77+ }
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package v1alpha1
1818
1919import (
2020 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21+ kmapi "kmodules.xyz/client-go/api/v1"
2122)
2223
2324const (
@@ -56,3 +57,21 @@ type MSSQLServerBindingList struct {
5657func init () {
5758 SchemeBuilder .Register (& MSSQLServerBinding {}, & MSSQLServerBindingList {})
5859}
60+
61+ var _ BindingInterface = & MSSQLServerBinding {}
62+
63+ func (in * MSSQLServerBinding ) GetSourceRef () kmapi.ObjectReference {
64+ return in .Spec .SourceRef
65+ }
66+
67+ func (in * MSSQLServerBinding ) GetStatus () * BindingStatus {
68+ return & in .Status
69+ }
70+
71+ func (in * MSSQLServerBinding ) GetConditions () kmapi.Conditions {
72+ return in .Status .Conditions
73+ }
74+
75+ func (in * MSSQLServerBinding ) SetConditions (conditions kmapi.Conditions ) {
76+ in .Status .Conditions = conditions
77+ }
You can’t perform that action at this time.
0 commit comments