Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the arcadia v1alpha1 API group +kubebuilder:object:generate=true +groupName=arcadia.kubeagi.k8s.com.cn
Index ¶
Constants ¶
const ( Group = "arcadia.kubeagi.k8s.com.cn" Version = "v1alpha1" )
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 DocumentLoader ¶
type DocumentLoader struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DocumentLoaderSpec `json:"spec,omitempty"` Status LoaderStatus `json:"status,omitempty"` }
DocumentLoader is the Schema for the DocumentLoader
func (*DocumentLoader) DeepCopy ¶
func (in *DocumentLoader) DeepCopy() *DocumentLoader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentLoader.
func (*DocumentLoader) DeepCopyInto ¶
func (in *DocumentLoader) DeepCopyInto(out *DocumentLoader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DocumentLoader) DeepCopyObject ¶
func (in *DocumentLoader) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DocumentLoader) SetRef ¶
func (c *DocumentLoader) SetRef()
type DocumentLoaderList ¶
type DocumentLoaderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DocumentLoader `json:"items"` }
DocumentLoaderList contains a list of DocumentLoader
func (*DocumentLoaderList) DeepCopy ¶
func (in *DocumentLoaderList) DeepCopy() *DocumentLoaderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentLoaderList.
func (*DocumentLoaderList) DeepCopyInto ¶
func (in *DocumentLoaderList) DeepCopyInto(out *DocumentLoaderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DocumentLoaderList) DeepCopyObject ¶
func (in *DocumentLoaderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DocumentLoaderSpec ¶
type DocumentLoaderSpec struct { // CommonSpec v1alpha1.CommonSpec `json:",inline"` // ChunkSize for text splitter // +kubebuilder:default=512 ChunkSize int `json:"chunkSize,omitempty"` // ChunkOverlap for text splitter // +kubebuilder:default=100 ChunkOverlap *int `json:"chunkOverlap,omitempty"` // BatchSize for text splitter // +kubebuilder:default=10 BatchSize int `json:"batchSize,omitempty"` // FileExtName the type of documents, can be .pdf, .txt, .mp3, etc ... FileExtName string `json:"fileExtName,omitempty"` // LoaderConfig defines the config of loader tools LoaderConfig `json:",inline"` }
DocumentLoaderSpec defines the desired state of DocumentLoader
func (*DocumentLoaderSpec) DeepCopy ¶
func (in *DocumentLoaderSpec) DeepCopy() *DocumentLoaderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocumentLoaderSpec.
func (*DocumentLoaderSpec) DeepCopyInto ¶
func (in *DocumentLoaderSpec) DeepCopyInto(out *DocumentLoaderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoaderConfig ¶
LoaderConfig defines the config of the loader
func (*LoaderConfig) DeepCopy ¶
func (in *LoaderConfig) DeepCopy() *LoaderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoaderConfig.
func (*LoaderConfig) DeepCopyInto ¶
func (in *LoaderConfig) DeepCopyInto(out *LoaderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoaderStatus ¶
type LoaderStatus struct { // ObservedGeneration is the last observed generation. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // ConditionedStatus is the current status v1alpha1.ConditionedStatus `json:",inline"` }
LoaderStatus defines the observed state of loader
func (*LoaderStatus) DeepCopy ¶
func (in *LoaderStatus) DeepCopy() *LoaderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoaderStatus.
func (*LoaderStatus) DeepCopyInto ¶
func (in *LoaderStatus) DeepCopyInto(out *LoaderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.