Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the hbase v1 API group +kubebuilder:object:generate=true +groupName=hbase.shimerhe.co
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hbase.shimerhe.co", 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 ConfigMap ¶
type ConfigMap struct { // Data where key is name of file, value is data Data map[string]string `json:"data,omitempty"` }
ConfigMap holds configuration data for HBase
func (*ConfigMap) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.
func (*ConfigMap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HBase ¶
type HBase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HBaseSpec `json:"spec,omitempty"` Status HBaseStatus `json:"status,omitempty"` }
HBase is the Schema for the hbases API
func (*HBase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HBase.
func (*HBase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HBase) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HBaseList ¶
type HBaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HBase `json:"items"` }
HBaseList contains a list of HBase
func (*HBaseList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HBaseList.
func (*HBaseList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HBaseList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HBaseSpec ¶
type HBaseSpec struct { // MasterSpec is definition of HBase Master server MasterSpec ServerSpec `json:"masterSpec,omitempty"` // RegionServerSpec is definition of HBase RegionServer RegionServerSpec ServerSpec `json:"regionServerSpec,omitempty"` // Config is config map for HBase and Hadoop. // The config map will be automatically added to each pod as "config" volume. // Typical files are: // hbase-site.xml - main configuration file // hbase-env.sh - script to set up the working environment, including the location of Java, Java options, // and other environment variables. // log4j.properties - configuration file for logging via log4j. // core-site.xml - global Hadoop configuration file // hdfs-site.xml - HDFS specific configuration file // hadoop-env.sh - script to set up the working environment for hadoop, including the location of Java, // Java options, and other environment variables. Config ConfigMap `json:"config,omitempty"` }
HBaseSpec defines the desired state of HBase
func (*HBaseSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HBaseSpec.
func (*HBaseSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HBaseStatus ¶
type HBaseStatus struct { }
HBaseStatus defines the observed state of HBase
func (*HBaseStatus) DeepCopy ¶
func (in *HBaseStatus) DeepCopy() *HBaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HBaseStatus.
func (*HBaseStatus) DeepCopyInto ¶
func (in *HBaseStatus) DeepCopyInto(out *HBaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerMetadata ¶
type ServerMetadata struct { // Labels. Labels map[string]string `json:"labels,omitempty"` // Annotations. Annotations map[string]string `json:"annotations,omitempty"` }
ServerMetadata allows to specify labels and annotations to resulting statefulsets and pods
func (*ServerMetadata) DeepCopy ¶
func (in *ServerMetadata) DeepCopy() *ServerMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerMetadata.
func (*ServerMetadata) DeepCopyInto ¶
func (in *ServerMetadata) DeepCopyInto(out *ServerMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerSpec ¶
type ServerSpec struct { // PodSpec aprovides customisation options (affinity rules, resource requests, and so on). // +kubebuilder:validation:Optional PodSpec corev1.PodSpec `json:"podSpec,omitempty"` // Metadata provides customisation options (labels, annotations) Metadata ServerMetadata `json:"metadata,omitempty"` // Count of replicas to deploy. // +kubebuilder:validation:Optional Count int32 `json:"count,omitempty"` }
ServerSpec is a specification for an HBase server (Master or Regionserver)
func (*ServerSpec) DeepCopy ¶
func (in *ServerSpec) DeepCopy() *ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
func (*ServerSpec) DeepCopyInto ¶
func (in *ServerSpec) DeepCopyInto(out *ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.