v1alpha1

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
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 RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

func (in *FPlugin) DeepCopy() *FPlugin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FPlugin.

func (*FPlugin) DeepCopyInto

func (in *FPlugin) DeepCopyInto(out *FPlugin)

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

func (in *Fluentbit) DeepCopy() *Fluentbit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fluentbit.

func (*Fluentbit) DeepCopyInto

func (in *Fluentbit) DeepCopyInto(out *Fluentbit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Fluentbit) DeepCopyObject

func (in *Fluentbit) DeepCopyObject() runtime.Object

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

type FluentbitTLS struct {
	Enabled    bool   `json:"enabled"`
	SecretName string `json:"secretName"`
	SharedKey  string `json:"sharedKey"`
}

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

func (in *Fluentd) DeepCopy() *Fluentd

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fluentd.

func (*Fluentd) DeepCopyInto

func (in *Fluentd) DeepCopyInto(out *Fluentd)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Fluentd) DeepCopyObject

func (in *Fluentd) DeepCopyObject() runtime.Object

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

type FluentdTLS struct {
	Enabled    bool   `json:"enabled"`
	SecretName string `json:"secretName"`
	SharedKey  string `json:"sharedKey"`
}

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

func (in *ImageSpec) DeepCopy() *ImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Input

type Input struct {
	Label map[string]string `json:"label"`
}

Input this determines the log origin

func (*Input) DeepCopy

func (in *Input) DeepCopy() *Input

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Input.

func (*Input) DeepCopyInto

func (in *Input) DeepCopyInto(out *Input)

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.

func (KubernetesSecret) GetValue

func (ks KubernetesSecret) GetValue(namespace string, client client.Client) (string, error)

GetValue implement GetValue interface

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

func (in *Parameter) DeepCopy() *Parameter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameter.

func (*Parameter) DeepCopyInto

func (in *Parameter) DeepCopyInto(out *Parameter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Parameter) GetValue

func (p Parameter) GetValue(namespace string, client client.Client) (string, string)

GetValue for a Parameter

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

func (in *Plugin) DeepCopy() *Plugin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.

func (*Plugin) DeepCopyInto

func (in *Plugin) DeepCopyInto(out *Plugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Plugin) DeepCopyObject

func (in *Plugin) DeepCopyObject() runtime.Object

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

func (in *ValueFrom) DeepCopy() *ValueFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueFrom.

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ValueFrom) GetValue

func (vf *ValueFrom) GetValue(namespace string, client client.Client) (string, error)

GetValue handles the different origin of ValueFrom

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL