Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the syncer v1 API group +kubebuilder:object:generate=true +groupName=syncer.k8s.kfirs.com
Index ¶
Constants ¶
const ( Group = "syncer.k8s.kfirs.com" Version = "v1" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Referent ¶
type Referent struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Namespace string `json:"namespace,omitempty"` Name string `json:"name"` Property string `json:"property"` }
Referent contains a reference to a property in another resource.
func (*Referent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Referent.
func (*Referent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncBinding ¶
type SyncBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SyncBindingSpec `json:"spec,omitempty"` Status SyncBindingStatus `json:"status,omitempty"` }
SyncBinding is the Schema for the syncbindings API
func (*SyncBinding) DeepCopy ¶
func (in *SyncBinding) DeepCopy() *SyncBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncBinding.
func (*SyncBinding) DeepCopyInto ¶
func (in *SyncBinding) DeepCopyInto(out *SyncBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncBinding) DeepCopyObject ¶
func (in *SyncBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncBindingList ¶
type SyncBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SyncBinding `json:"items"` }
SyncBindingList contains a list of SyncBinding
func (*SyncBindingList) DeepCopy ¶
func (in *SyncBindingList) DeepCopy() *SyncBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncBindingList.
func (*SyncBindingList) DeepCopyInto ¶
func (in *SyncBindingList) DeepCopyInto(out *SyncBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncBindingList) DeepCopyObject ¶
func (in *SyncBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncBindingSpec ¶
type SyncBindingSpec struct { Source Referent `json:"source"` Target Referent `json:"target"` Interval string `json:"interval"` }
SyncBindingSpec defines the desired state of SyncBinding
func (*SyncBindingSpec) DeepCopy ¶
func (in *SyncBindingSpec) DeepCopy() *SyncBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncBindingSpec.
func (*SyncBindingSpec) DeepCopyInto ¶
func (in *SyncBindingSpec) DeepCopyInto(out *SyncBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncBindingStatus ¶
type SyncBindingStatus struct{}
SyncBindingStatus defines the observed state of SyncBinding
func (*SyncBindingStatus) DeepCopy ¶
func (in *SyncBindingStatus) DeepCopy() *SyncBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncBindingStatus.
func (*SyncBindingStatus) DeepCopyInto ¶
func (in *SyncBindingStatus) DeepCopyInto(out *SyncBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.