Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the logstash v1alpha1 API group +kubebuilder:object:generate=true +groupName=logstash.vkiedrowski.de
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "logstash.vkiedrowski.de", Version: "v1alpha1"} // 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 Logstash ¶
type Logstash struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LogstashSpec `json:"spec,omitempty"` Status LogstashStatus `json:"status,omitempty"` }
Logstash is the Schema for the logstashes API
func (*Logstash) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Logstash.
func (*Logstash) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Logstash) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogstashList ¶
type LogstashList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Logstash `json:"items"` }
LogstashList contains a list of Logstash
func (*LogstashList) DeepCopy ¶
func (in *LogstashList) DeepCopy() *LogstashList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogstashList.
func (*LogstashList) DeepCopyInto ¶
func (in *LogstashList) DeepCopyInto(out *LogstashList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogstashList) DeepCopyObject ¶
func (in *LogstashList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogstashSpec ¶
type LogstashSpec struct { // ReplicaCount specifies how many replicas we want. //+kubebuilder:default:=1 ReplicaCount int32 `json:"replicaCount,omitempty"` Storage StorageSpec `json:"storage"` }
LogstashSpec defines the desired state of Logstash
func (*LogstashSpec) DeepCopy ¶
func (in *LogstashSpec) DeepCopy() *LogstashSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogstashSpec.
func (*LogstashSpec) DeepCopyInto ¶
func (in *LogstashSpec) DeepCopyInto(out *LogstashSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogstashStatus ¶
type LogstashStatus struct { // Nodes shows the nodes that are used. Nodes []string `json:"nodes"` }
LogstashStatus defines the observed state of Logstash
func (*LogstashStatus) DeepCopy ¶
func (in *LogstashStatus) DeepCopy() *LogstashStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogstashStatus.
func (*LogstashStatus) DeepCopyInto ¶
func (in *LogstashStatus) DeepCopyInto(out *LogstashStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSpec ¶
type StorageSpec struct { //+kubebuilder:default:=standard StorageClassName string `json:"storageClassName,omitempty"` //+kubebuilder:default:="1Gi" Size resource.Quantity `json:"size,omitempty"` //+kubebuilder:default:={ReadWriteOnce} AccessModes []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"` }
func (*StorageSpec) DeepCopy ¶
func (in *StorageSpec) DeepCopy() *StorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSpec.
func (*StorageSpec) DeepCopyInto ¶
func (in *StorageSpec) DeepCopyInto(out *StorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.