Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the logging v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=logging.banzaicloud.com
Package v1alpha1 contains API Schema definitions for the logging v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=logging.banzaicloud.com
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterDefaults(scheme *runtime.Scheme) error
- type FPlugin
- type Fluentbit
- type FluentbitList
- type FluentbitSpec
- type FluentbitStatus
- type FluentbitTLS
- type Fluentd
- type FluentdList
- type FluentdSpec
- type FluentdStatus
- type FluentdTLS
- type ImageSpec
- type Input
- type KubernetesSecret
- type Parameter
- type Plugin
- type PluginList
- type PluginSpec
- type PluginStatus
- type ValueFrom
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "logging.banzaicloud.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type FPlugin ¶
type FPlugin struct { Type string `json:"type"` Name string `json:"name"` Parameters []Parameter `json:"parameters,omitempty"` }
FPlugin struct for fluentd plugins
func (*FPlugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FPlugin.
func (*FPlugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Fluentbit ¶
type Fluentbit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FluentbitSpec `json:"spec,omitempty"` Status FluentbitStatus `json:"status,omitempty"` }
Fluentbit is the Schema for the fluentbits API +k8s:openapi-gen=true
func (*Fluentbit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fluentbit.
func (*Fluentbit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fluentbit) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FluentbitList ¶
type FluentbitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Fluentbit `json:"items"` }
FluentbitList contains a list of Fluentbit
func (*FluentbitList) DeepCopy ¶
func (in *FluentbitList) DeepCopy() *FluentbitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentbitList.
func (*FluentbitList) DeepCopyInto ¶
func (in *FluentbitList) DeepCopyInto(out *FluentbitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FluentbitList) DeepCopyObject ¶
func (in *FluentbitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FluentbitSpec ¶
type FluentbitSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html Namespace string `json:"namespace"` Annotations map[string]string `json:"annotations"` Image ImageSpec `json:"image"` TLS FluentbitTLS `json:"tls"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` }
FluentbitSpec defines the desired state of Fluentbit +k8s:openapi-gen=true
func (*FluentbitSpec) DeepCopy ¶
func (in *FluentbitSpec) DeepCopy() *FluentbitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentbitSpec.
func (*FluentbitSpec) DeepCopyInto ¶
func (in *FluentbitSpec) DeepCopyInto(out *FluentbitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (FluentbitSpec) GetPrometheusPortFromAnnotation ¶
func (spec FluentbitSpec) GetPrometheusPortFromAnnotation() int32
GetPrometheusPortFromAnnotation gets the port value from annotation
type FluentbitStatus ¶
type FluentbitStatus struct { }
FluentbitStatus defines the observed state of Fluentbit +k8s:openapi-gen=true
func (*FluentbitStatus) DeepCopy ¶
func (in *FluentbitStatus) DeepCopy() *FluentbitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentbitStatus.
func (*FluentbitStatus) DeepCopyInto ¶
func (in *FluentbitStatus) DeepCopyInto(out *FluentbitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FluentbitTLS ¶
FluentbitTLS defines the TLS configs
func (*FluentbitTLS) DeepCopy ¶
func (in *FluentbitTLS) DeepCopy() *FluentbitTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentbitTLS.
func (*FluentbitTLS) DeepCopyInto ¶
func (in *FluentbitTLS) DeepCopyInto(out *FluentbitTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Fluentd ¶
type Fluentd struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FluentdSpec `json:"spec,omitempty"` Status FluentdStatus `json:"status,omitempty"` }
Fluentd is the Schema for the fluentds API +k8s:openapi-gen=true
func (*Fluentd) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fluentd.
func (*Fluentd) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fluentd) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FluentdList ¶
type FluentdList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Fluentd `json:"items"` }
FluentdList contains a list of Fluentd
func (*FluentdList) DeepCopy ¶
func (in *FluentdList) DeepCopy() *FluentdList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentdList.
func (*FluentdList) DeepCopyInto ¶
func (in *FluentdList) DeepCopyInto(out *FluentdList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FluentdList) DeepCopyObject ¶
func (in *FluentdList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FluentdSpec ¶
type FluentdSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html Namespace string `json:"namespace"` Annotations map[string]string `json:"annotations"` TLS FluentdTLS `json:"tls"` Image ImageSpec `json:"image"` FluentdPvcSpec corev1.PersistentVolumeClaimSpec `json:"fluentdPvcSpec"` VolumeModImage ImageSpec `json:"volumeModImage"` ConfigReloaderImage ImageSpec `json:"configReloaderImage"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` }
FluentdSpec defines the desired state of Fluentd +k8s:openapi-gen=true
func (*FluentdSpec) DeepCopy ¶
func (in *FluentdSpec) DeepCopy() *FluentdSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentdSpec.
func (*FluentdSpec) DeepCopyInto ¶
func (in *FluentdSpec) DeepCopyInto(out *FluentdSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (FluentdSpec) GetPrometheusPortFromAnnotation ¶
func (spec FluentdSpec) GetPrometheusPortFromAnnotation() int32
GetPrometheusPortFromAnnotation gets the port value from annotation
type FluentdStatus ¶
type FluentdStatus struct { }
FluentdStatus defines the observed state of Fluentd +k8s:openapi-gen=true
func (*FluentdStatus) DeepCopy ¶
func (in *FluentdStatus) DeepCopy() *FluentdStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentdStatus.
func (*FluentdStatus) DeepCopyInto ¶
func (in *FluentdStatus) DeepCopyInto(out *FluentdStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FluentdTLS ¶
FluentdTLS defines the TLS configs
func (*FluentdTLS) DeepCopy ¶
func (in *FluentdTLS) DeepCopy() *FluentdTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentdTLS.
func (*FluentdTLS) DeepCopyInto ¶
func (in *FluentdTLS) DeepCopyInto(out *FluentdTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct { Repository string `json:"repository"` Tag string `json:"tag"` PullPolicy string `json:"pullPolicy"` }
ImageSpec struct hold information about image specification
func (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Input ¶
Input this determines the log origin
func (*Input) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Input.
func (*Input) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesSecret ¶
type KubernetesSecret struct { Name string `json:"name"` Key string `json:"key"` Namespace string `json:"namespace"` }
KubernetesSecret is a ValueFrom type
func (*KubernetesSecret) DeepCopy ¶
func (in *KubernetesSecret) DeepCopy() *KubernetesSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesSecret.
func (*KubernetesSecret) DeepCopyInto ¶
func (in *KubernetesSecret) DeepCopyInto(out *KubernetesSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Parameter ¶
type Parameter struct { Name string `json:"name"` ValueFrom *ValueFrom `json:"valueFrom,omitempty"` Value string `json:"value"` }
Parameter generic parameter type to handle values from different sources
func (*Parameter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameter.
func (*Parameter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Plugin ¶
type Plugin struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PluginSpec `json:"spec,omitempty"` Status PluginStatus `json:"status,omitempty"` }
Plugin is the Schema for the Plugin API +k8s:openapi-gen=true
func (*Plugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Plugin) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PluginList ¶
type PluginList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Plugin `json:"items"` }
PluginList contains a list of Plugin
func (*PluginList) DeepCopy ¶
func (in *PluginList) DeepCopy() *PluginList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginList.
func (*PluginList) DeepCopyInto ¶
func (in *PluginList) DeepCopyInto(out *PluginList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PluginList) DeepCopyObject ¶
func (in *PluginList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PluginSpec ¶
type PluginSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html Input Input `json:"input,omitempty"` Filter []FPlugin `json:"filter,omitempty"` Output []FPlugin `json:"output,omitempty"` }
PluginSpec defines the desired state of Plugin +k8s:openapi-gen=true
func (*PluginSpec) DeepCopy ¶
func (in *PluginSpec) DeepCopy() *PluginSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSpec.
func (*PluginSpec) DeepCopyInto ¶
func (in *PluginSpec) DeepCopyInto(out *PluginSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PluginStatus ¶
type PluginStatus struct { }
PluginStatus defines the observed state of Plugin +k8s:openapi-gen=true
func (*PluginStatus) DeepCopy ¶
func (in *PluginStatus) DeepCopy() *PluginStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginStatus.
func (*PluginStatus) DeepCopyInto ¶
func (in *PluginStatus) DeepCopyInto(out *PluginStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValueFrom ¶
type ValueFrom struct {
SecretKeyRef KubernetesSecret `json:"secretKeyRef"`
}
ValueFrom generic type to determine value origin
func (*ValueFrom) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.
func (*ValueFrom) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.