Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // AddToScheme applies all the stored functions to the scheme. A non-nil error // indicates that one function failed and the attempt was abandoned. AddToScheme = schemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: zalando.GroupName, Version: "v1"}
SchemeGroupVersion is the group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type ElasticsearchDataSet ¶
type ElasticsearchDataSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ElasticsearchDataSetSpec `json:"spec"` Status ElasticsearchDataSetStatus `json:"status"` }
ElasticsearchDataSet describes an Elasticsearch dataset which is operated by the es-operator. +k8s:deepcopy-gen=true
func (*ElasticsearchDataSet) DeepCopy ¶
func (in *ElasticsearchDataSet) DeepCopy() *ElasticsearchDataSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDataSet.
func (*ElasticsearchDataSet) DeepCopyInto ¶
func (in *ElasticsearchDataSet) DeepCopyInto(out *ElasticsearchDataSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchDataSet) DeepCopyObject ¶
func (in *ElasticsearchDataSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchDataSetList ¶
type ElasticsearchDataSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElasticsearchDataSet `json:"items"` }
ElasticsearchDataSetList is a list of ElasticsearchDataSets. +k8s:deepcopy-gen=true
func (*ElasticsearchDataSetList) DeepCopy ¶
func (in *ElasticsearchDataSetList) DeepCopy() *ElasticsearchDataSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDataSetList.
func (*ElasticsearchDataSetList) DeepCopyInto ¶
func (in *ElasticsearchDataSetList) DeepCopyInto(out *ElasticsearchDataSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchDataSetList) DeepCopyObject ¶
func (in *ElasticsearchDataSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchDataSetScaling ¶
type ElasticsearchDataSetScaling struct { Enabled bool `json:"enabled"` MinReplicas int32 `json:"minReplicas"` MaxReplicas int32 `json:"maxReplicas"` MinIndexReplicas int32 `json:"minIndexReplicas"` MaxIndexReplicas int32 `json:"maxIndexReplicas"` MinShardsPerNode int32 `json:"minShardsPerNode"` MaxShardsPerNode int32 `json:"maxShardsPerNode"` ScaleUpCPUBoundary int32 `json:"scaleUpCPUBoundary"` ScaleUpThresholdDurationSeconds int64 `json:"scaleUpThresholdDurationSeconds"` ScaleUpCooldownSeconds int64 `json:"scaleUpCooldownSeconds"` ScaleDownCPUBoundary int32 `json:"scaleDownCPUBoundary"` ScaleDownThresholdDurationSeconds int64 `json:"scaleDownThresholdDurationSeconds"` ScaleDownCooldownSeconds int64 `json:"scaleDownCooldownSeconds"` DiskUsagePercentScaledownWatermark float64 `json:"diskUsagePercentScaledownWatermark"` }
ElasticsearchDataSetScaling is the scaling section of the ElasticsearchDataSet resource. +k8s:deepcopy-gen=true
func (*ElasticsearchDataSetScaling) DeepCopy ¶
func (in *ElasticsearchDataSetScaling) DeepCopy() *ElasticsearchDataSetScaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDataSetScaling.
func (*ElasticsearchDataSetScaling) DeepCopyInto ¶
func (in *ElasticsearchDataSetScaling) DeepCopyInto(out *ElasticsearchDataSetScaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchDataSetSpec ¶
type ElasticsearchDataSetSpec struct { // Number of desired pods. This is a pointer to distinguish between explicit // zero and not specified. Defaults to 1. // +optional Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"` // Template describes the pods that will be created. Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,3,opt,name=template"` // Scaling describes the scaling properties Scaling *ElasticsearchDataSetScaling `json:"scaling,omitempty"` // Template describe the volumeClaimTemplates VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"` }
ElasticsearchDataSetSpec is the spec part of the Elasticsearch dataset. +k8s:deepcopy-gen=true
func (*ElasticsearchDataSetSpec) DeepCopy ¶
func (in *ElasticsearchDataSetSpec) DeepCopy() *ElasticsearchDataSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDataSetSpec.
func (*ElasticsearchDataSetSpec) DeepCopyInto ¶
func (in *ElasticsearchDataSetSpec) DeepCopyInto(out *ElasticsearchDataSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchDataSetStatus ¶
type ElasticsearchDataSetStatus struct { // observedGeneration is the most recent generation observed for this // ElasticsearchDataSet. It corresponds to the ElasticsearchDataSets // generation, which is updated on mutation by the API Server. // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` // Replicas is the number of Pods by the underlying StatefulSet. Replicas int32 `json:"replicas" protobuf:"varint,2,opt,name=replicas"` LastScaleUpStarted *metav1.Time `json:"lastScaleUpStarted,omitempty"` LastScaleUpEnded *metav1.Time `json:"lastScaleUpEnded,omitempty"` LastScaleDownStarted *metav1.Time `json:"lastScaleDownStarted,omitempty"` LastScaleDownEnded *metav1.Time `json:"lastScaleDownEnded,omitempty"` }
ElasticsearchDataSetStatus is the status section of the ElasticsearchDataSet resource. +k8s:deepcopy-gen=true
func (*ElasticsearchDataSetStatus) DeepCopy ¶
func (in *ElasticsearchDataSetStatus) DeepCopy() *ElasticsearchDataSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDataSetStatus.
func (*ElasticsearchDataSetStatus) DeepCopyInto ¶
func (in *ElasticsearchDataSetStatus) DeepCopyInto(out *ElasticsearchDataSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchMetric ¶
type ElasticsearchMetric struct { Timestamp metav1.Time `json:"timestamp"` Value int32 `json:"value"` }
ElasticsearchMetric is the single metric sample of the ElasticsearchDataSet resource. +k8s:deepcopy-gen=true
func (*ElasticsearchMetric) DeepCopy ¶
func (in *ElasticsearchMetric) DeepCopy() *ElasticsearchMetric
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchMetric.
func (*ElasticsearchMetric) DeepCopyInto ¶
func (in *ElasticsearchMetric) DeepCopyInto(out *ElasticsearchMetric)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchMetricSet ¶
type ElasticsearchMetricSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Metrics []ElasticsearchMetric `json:"metrics"` }
ElasticsearchMetricSet is the metrics holding section of the ElasticsearchDataSet resource. +k8s:deepcopy-gen=true
func (*ElasticsearchMetricSet) DeepCopy ¶
func (in *ElasticsearchMetricSet) DeepCopy() *ElasticsearchMetricSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchMetricSet.
func (*ElasticsearchMetricSet) DeepCopyInto ¶
func (in *ElasticsearchMetricSet) DeepCopyInto(out *ElasticsearchMetricSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchMetricSet) DeepCopyObject ¶
func (in *ElasticsearchMetricSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchMetricSetList ¶
type ElasticsearchMetricSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ElasticsearchMetricSet `json:"items"` }
ElasticsearchDataSetList is a list of ElasticsearchDataSets. +k8s:deepcopy-gen=true
func (*ElasticsearchMetricSetList) DeepCopy ¶
func (in *ElasticsearchMetricSetList) DeepCopy() *ElasticsearchMetricSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchMetricSetList.
func (*ElasticsearchMetricSetList) DeepCopyInto ¶
func (in *ElasticsearchMetricSetList) DeepCopyInto(out *ElasticsearchMetricSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchMetricSetList) DeepCopyObject ¶
func (in *ElasticsearchMetricSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.