Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the sync v1alpha1 API group +kubebuilder:object:generate=true +groupName=sync.sj14.github.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "sync.sj14.github.io", Version: "v1alpha1"} // 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 Reference ¶
type Reference struct { Group string `json:"group"` Version string `json:"version"` Kind string `json:"kind"` Name string `json:"name"` Namespace string `json:"namespace"` }
func (*Reference) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reference.
func (*Reference) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncObject ¶
type SyncObject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SyncObjectSpec `json:"spec,omitempty"` Status SyncObjectStatus `json:"status,omitempty"` }
SyncObject is the Schema for the syncobjects API
func (*SyncObject) DeepCopy ¶
func (in *SyncObject) DeepCopy() *SyncObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncObject.
func (*SyncObject) DeepCopyInto ¶
func (in *SyncObject) DeepCopyInto(out *SyncObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncObject) DeepCopyObject ¶
func (in *SyncObject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncObjectList ¶
type SyncObjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SyncObject `json:"items"` }
SyncObjectList contains a list of SyncObject
func (*SyncObjectList) DeepCopy ¶
func (in *SyncObjectList) DeepCopy() *SyncObjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncObjectList.
func (*SyncObjectList) DeepCopyInto ¶
func (in *SyncObjectList) DeepCopyInto(out *SyncObjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyncObjectList) DeepCopyObject ¶
func (in *SyncObjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyncObjectSpec ¶
type SyncObjectSpec struct { Reference Reference `json:"reference"` // If no target namespaces are defined, all namespaces will be used. TargetNamespaces []string `json:"targetNamespaces,omitempty"` // Explicitly skip replication to the specified namespaces. IgnoreNamespaces []string `json:"ignoreNamespaces,omitempty"` // Don't add a finalizer which would clean up the replicas when this SyncObject gets deleted. DisableFinalizer bool `json:"disableFinalizer,omitempty"` // Interval for syncing the reference resource. The default interval is 10 hours. Interval metav1.Duration `json:"interval,omitempty"` }
SyncObjectSpec defines the desired state of SyncObject
func (*SyncObjectSpec) DeepCopy ¶
func (in *SyncObjectSpec) DeepCopy() *SyncObjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncObjectSpec.
func (*SyncObjectSpec) DeepCopyInto ¶
func (in *SyncObjectSpec) DeepCopyInto(out *SyncObjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncObjectStatus ¶
type SyncObjectStatus struct { }
SyncObjectStatus defines the observed state of SyncObject
func (*SyncObjectStatus) DeepCopy ¶
func (in *SyncObjectStatus) DeepCopy() *SyncObjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncObjectStatus.
func (*SyncObjectStatus) DeepCopyInto ¶
func (in *SyncObjectStatus) DeepCopyInto(out *SyncObjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.