Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the ibmcloud v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/ibm/es-index/pkg/apis/ibmcloud +k8s:defaulter-gen=TypeMeta +groupName=ibmcloud.ibm.com
Package v1alpha1 contains API Schema definitions for the ibmcloud v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/ibm/esindex-operator/pkg/apis/ibmcloud +k8s:defaulter-gen=TypeMeta +groupName=ibmcloud.ibm.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "ibmcloud.ibm.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type BindingSource ¶
type BindingSource struct { // The Secret to select from. v1.LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` }
BindingSource specifies a Binding source
func (*BindingSource) DeepCopy ¶
func (in *BindingSource) DeepCopy() *BindingSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingSource.
func (*BindingSource) DeepCopyInto ¶
func (in *BindingSource) DeepCopyInto(out *BindingSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredSource ¶
type CredSource struct { // Selects a key of a ConfigMap in the local namespace. // +optional ConfigMapKeyRef *v1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty" protobuf:"bytes,3,opt,name=configMapKeyRef"` // Selects a key of a secret in the local namespace // +optional SecretKeyRef *v1.SecretKeySelector `json:"secretKeyRef,omitempty" protobuf:"bytes,4,opt,name=secretKeyRef"` }
CredSource specifies a credential source either a Secret or a ConfigMap
func (*CredSource) DeepCopy ¶
func (in *CredSource) DeepCopy() *CredSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredSource.
func (*CredSource) DeepCopyInto ¶
func (in *CredSource) DeepCopyInto(out *CredSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EsIndex ¶
type EsIndex struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EsIndexSpec `json:"spec,omitempty"` Status EsIndexStatus `json:"status,omitempty"` }
EsIndex is the Schema for the esindices API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*EsIndex) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EsIndex.
func (*EsIndex) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EsIndex) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EsIndex) GetStatus ¶
func (r *EsIndex) GetStatus() *EsIndexStatus
GetStatus returns the function status
type EsIndexList ¶
type EsIndexList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EsIndex `json:"items"` }
EsIndexList contains a list of EsIndex
func (*EsIndexList) DeepCopy ¶
func (in *EsIndexList) DeepCopy() *EsIndexList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EsIndexList.
func (*EsIndexList) DeepCopyInto ¶
func (in *EsIndexList) DeepCopyInto(out *EsIndexList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EsIndexList) DeepCopyObject ¶
func (in *EsIndexList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EsIndexSpec ¶
type EsIndexSpec struct { // Name of Index to be created on elastic search IndexName string `json:"indexName"` // Binding resource name that holds the secret for elastic search credentials // +optional BindingFrom BindingSource `json:"bindingFrom,omitempty"` // EsURIComposed is the URI of elasticesearch resource in the format https://<user>:<passwd>@hostname:port. Cannot be used if BindingFrom is not empty. // +optional EsURIComposed CredSource `json:"esURIComposed,omitempty"` // Bind to an existing index if true, default value false // +optional BindOnly bool `json:"bindOnly,omitempty"` // Number of shards, default value 1 // +optional NumberOfShards int64 `json:"numberOfShards,omitempty"` // Number of replicas, default value 1 // +optional NumberOfReplicas int64 `json:"numberOfReplicas,omitempty"` }
EsIndexSpec defines the desired state of EsIndex
func (*EsIndexSpec) DeepCopy ¶
func (in *EsIndexSpec) DeepCopy() *EsIndexSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EsIndexSpec.
func (*EsIndexSpec) DeepCopyInto ¶
func (in *EsIndexSpec) DeepCopyInto(out *EsIndexSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EsIndexStatus ¶
type EsIndexStatus struct { // State of the resource instance State string `json:"state,omitempty"` // Message Message string `json:"message,omitempty"` // Generation of the implemented spec Generation int64 `json:"generation"` }
EsIndexStatus defines the observed state of EsIndex
func (*EsIndexStatus) DeepCopy ¶
func (in *EsIndexStatus) DeepCopy() *EsIndexStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EsIndexStatus.
func (*EsIndexStatus) DeepCopyInto ¶
func (in *EsIndexStatus) DeepCopyInto(out *EsIndexStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.