Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the search v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/search +k8s:defaulter-gen=TypeMeta +groupName=search.skpr.io
Package v1beta1 contains API Schema definitions for the search v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/search +k8s:defaulter-gen=TypeMeta +groupName=search.skpr.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "search.skpr.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type Solr ¶
type Solr struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SolrSpec `json:"spec,omitempty"` Status SolrStatus `json:"status,omitempty"` }
Solr is the Schema for the solrs API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Solr) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Solr.
func (*Solr) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Solr) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SolrList ¶
type SolrList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Solr `json:"items"` }
SolrList contains a list of Solr
func (*SolrList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrList.
func (*SolrList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SolrList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SolrSpec ¶
type SolrSpec struct { // Name of the core which will be provisioned. Core string `json:"coreName"` // Version refers to the version/tag to use on the solr image repository. Version string `json:"version"` // Resources given to the Solr instance. Resources SolrSpecResources `json:"resources"` }
SolrSpec defines the desired state of Solr
func (*SolrSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrSpec.
func (*SolrSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolrSpecResources ¶ added in v0.4.1
type SolrSpecResources struct { // CPU to use when provisioning Solr. CPU SolrSpecResourcesCPU `json:"cpu"` // Memory for the Solr instance. We don't set requests and limits because memory is important with Java applications. Memory resource.Quantity `json:"memory"` // Storage which is mounted for Solr. Storage resource.Quantity `json:"storage"` }
SolrSpecResources for provisioning Solr.
func (*SolrSpecResources) DeepCopy ¶ added in v0.4.1
func (in *SolrSpecResources) DeepCopy() *SolrSpecResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrSpecResources.
func (*SolrSpecResources) DeepCopyInto ¶ added in v0.4.1
func (in *SolrSpecResources) DeepCopyInto(out *SolrSpecResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolrSpecResourcesCPU ¶ added in v0.4.1
type SolrSpecResourcesCPU struct { // CPU requests given to the Solr process. Request resource.Quantity `json:"request"` // CPU limits given to the Solr process. Limit resource.Quantity `json:"limit"` }
SolrSpecResourcesCPU for provisioning Solr.
func (*SolrSpecResourcesCPU) DeepCopy ¶ added in v0.4.1
func (in *SolrSpecResourcesCPU) DeepCopy() *SolrSpecResourcesCPU
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrSpecResourcesCPU.
func (*SolrSpecResourcesCPU) DeepCopyInto ¶ added in v0.4.1
func (in *SolrSpecResourcesCPU) DeepCopyInto(out *SolrSpecResourcesCPU)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SolrStatus ¶
type SolrStatus struct { // Host which applications will use to interact with Solr. Host string `json:"host"` // Port which applications will use to interact with Solr. Port int `json:"port"` // Core which applications will use for indexing. Core string `json:"core"` }
SolrStatus defines the observed state of Solr
func (*SolrStatus) DeepCopy ¶
func (in *SolrStatus) DeepCopy() *SolrStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrStatus.
func (*SolrStatus) DeepCopyInto ¶
func (in *SolrStatus) DeepCopyInto(out *SolrStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.