Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the jibutech.com v1 API group +kubebuilder:object:generate=true +groupName=jibutech.com
Index ¶
- Variables
- type GroupVersionResource
- type KsState
- type KubeSync
- func (in *KubeSync) DeepCopy() *KubeSync
- func (in *KubeSync) DeepCopyInto(out *KubeSync)
- func (in *KubeSync) DeepCopyObject() runtime.Object
- func (s *KubeSync) IsDeleting() bool
- func (s *KubeSync) IsNotReady() bool
- func (s *KubeSync) IsPaused() bool
- func (s *KubeSync) IsReady() bool
- func (s *KubeSync) SetDeleting()
- func (s *KubeSync) SetNotReady()
- func (s *KubeSync) SetPaused()
- func (s *KubeSync) SetReady()
- func (s *KubeSync) SetState(state KsState)
- type KubeSyncList
- type KubeSyncSpec
- type KubeSyncStatus
- type SyncResource
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "jibutech.com", Version: "v1"} // 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 GroupVersionResource ¶
type GroupVersionResource struct { Group string `json:"group,omitempty"` Version string `json:"version,omitempty"` Resource string `json:"resource,omitempty"` }
func (*GroupVersionResource) DeepCopy ¶
func (in *GroupVersionResource) DeepCopy() *GroupVersionResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource.
func (*GroupVersionResource) DeepCopyInto ¶
func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeSync ¶
type KubeSync struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KubeSyncSpec `json:"spec,omitempty"` Status KubeSyncStatus `json:"status,omitempty"` }
KubeSync is the Schema for the kubesyncs API
func (*KubeSync) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSync.
func (*KubeSync) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeSync) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*KubeSync) IsDeleting ¶
func (*KubeSync) IsNotReady ¶
func (*KubeSync) SetDeleting ¶
func (s *KubeSync) SetDeleting()
func (*KubeSync) SetNotReady ¶
func (s *KubeSync) SetNotReady()
type KubeSyncList ¶
type KubeSyncList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KubeSync `json:"items"` }
KubeSyncList contains a list of KubeSync
func (*KubeSyncList) DeepCopy ¶
func (in *KubeSyncList) DeepCopy() *KubeSyncList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSyncList.
func (*KubeSyncList) DeepCopyInto ¶
func (in *KubeSyncList) DeepCopyInto(out *KubeSyncList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeSyncList) DeepCopyObject ¶
func (in *KubeSyncList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KubeSyncSpec ¶
type KubeSyncSpec struct { SrcClusterSecret string `json:"srcClusterSecret"` DstClusterSecret string `json:"dstClusterSecret"` SyncResources []SyncResource `json:"syncResources"` NsMap map[string]string `json:"nsMap,omitempty"` Pause bool `json:"pause,omitempty"` }
KubeSyncSpec defines the desired state of KubeSync
func (*KubeSyncSpec) DeepCopy ¶
func (in *KubeSyncSpec) DeepCopy() *KubeSyncSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSyncSpec.
func (*KubeSyncSpec) DeepCopyInto ¶
func (in *KubeSyncSpec) DeepCopyInto(out *KubeSyncSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeSyncStatus ¶
type KubeSyncStatus struct {
State KsState `json:"state"`
}
KubeSyncStatus defines the observed state of KubeSync
func (*KubeSyncStatus) DeepCopy ¶
func (in *KubeSyncStatus) DeepCopy() *KubeSyncStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSyncStatus.
func (*KubeSyncStatus) DeepCopyInto ¶
func (in *KubeSyncStatus) DeepCopyInto(out *KubeSyncStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyncResource ¶
type SyncResource struct { Names []string `json:"names,omitempty"` Namespaces []string `json:"namespaces,omitempty"` GVR GroupVersionResource `json:"gvr"` }
func (*SyncResource) DeepCopy ¶
func (in *SyncResource) DeepCopy() *SyncResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncResource.
func (*SyncResource) DeepCopyInto ¶
func (in *SyncResource) DeepCopyInto(out *SyncResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.