v1alpha1

package
v0.8.16 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the logging v1alpha1 API group +kubebuilder:object:generate=true +groupName=logging.banzaicloud.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "logging.banzaicloud.io", 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
)
View Source
var Log = ctrl.Log.WithName("conversion:v1alpha1")

Functions

func APITypes

func APITypes() []amruntime.Object

Types

type ClusterFlow

type ClusterFlow struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Name of the logging cluster to be attached
	Spec   v1beta1.ClusterFlowSpec `json:"spec,omitempty"`
	Status v1beta1.FlowStatus      `json:"status,omitempty"`
}

ClusterFlow is the Schema for the clusterflows API

func (*ClusterFlow) ConvertFrom

func (o *ClusterFlow) ConvertFrom(srcRaw conversion.Hub) error

func (*ClusterFlow) ConvertTo

func (o *ClusterFlow) ConvertTo(dstRaw conversion.Hub) error

func (*ClusterFlow) DeepCopy

func (in *ClusterFlow) DeepCopy() *ClusterFlow

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

func (*ClusterFlow) DeepCopyInto

func (in *ClusterFlow) DeepCopyInto(out *ClusterFlow)

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

func (*ClusterFlow) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterFlowList

type ClusterFlowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterFlow `json:"items"`
}

ClusterFlowList contains a list of ClusterFlow

func (*ClusterFlowList) DeepCopy

func (in *ClusterFlowList) DeepCopy() *ClusterFlowList

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

func (*ClusterFlowList) DeepCopyInto

func (in *ClusterFlowList) DeepCopyInto(out *ClusterFlowList)

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

func (*ClusterFlowList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterOutput

type ClusterOutput struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   v1beta1.ClusterOutputSpec `json:"spec"`
	Status v1beta1.OutputStatus      `json:"status,omitempty"`
}

ClusterOutput is the Schema for the clusteroutputs API

func (*ClusterOutput) ConvertFrom

func (o *ClusterOutput) ConvertFrom(srcRaw conversion.Hub) error

func (*ClusterOutput) ConvertTo

func (o *ClusterOutput) ConvertTo(dstRaw conversion.Hub) error

func (*ClusterOutput) DeepCopy

func (in *ClusterOutput) DeepCopy() *ClusterOutput

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

func (*ClusterOutput) DeepCopyInto

func (in *ClusterOutput) DeepCopyInto(out *ClusterOutput)

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

func (*ClusterOutput) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterOutputList

type ClusterOutputList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterOutput `json:"items"`
}

ClusterOutputList contains a list of ClusterOutput

func (*ClusterOutputList) DeepCopy

func (in *ClusterOutputList) DeepCopy() *ClusterOutputList

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

func (*ClusterOutputList) DeepCopyInto

func (in *ClusterOutputList) DeepCopyInto(out *ClusterOutputList)

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

func (*ClusterOutputList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type Flow

type Flow struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   v1beta1.FlowSpec   `json:"spec,omitempty"`
	Status v1beta1.FlowStatus `json:"status,omitempty"`
}

Flow Kubernetes object

func (*Flow) ConvertFrom

func (o *Flow) ConvertFrom(srcRaw conversion.Hub) error

func (*Flow) ConvertTo

func (o *Flow) ConvertTo(dstRaw conversion.Hub) error

func (*Flow) DeepCopy

func (in *Flow) DeepCopy() *Flow

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

func (*Flow) DeepCopyInto

func (in *Flow) DeepCopyInto(out *Flow)

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

func (*Flow) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FlowList

type FlowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Flow `json:"items"`
}

FlowList contains a list of Flow

func (*FlowList) DeepCopy

func (in *FlowList) DeepCopy() *FlowList

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

func (*FlowList) DeepCopyInto

func (in *FlowList) DeepCopyInto(out *FlowList)

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

func (*FlowList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type Logging

type Logging struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   LoggingSpec   `json:"spec,omitempty"`
	Status LoggingStatus `json:"status,omitempty"`
}

Logging is the Schema for the loggings API

func (*Logging) ConvertFrom

func (o *Logging) ConvertFrom(srcRaw conversion.Hub) error

func (*Logging) ConvertTo

func (o *Logging) ConvertTo(dstRaw conversion.Hub) error

func (*Logging) DeepCopy

func (in *Logging) DeepCopy() *Logging

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

func (*Logging) DeepCopyInto

func (in *Logging) DeepCopyInto(out *Logging)

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

func (*Logging) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LoggingList

type LoggingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Logging `json:"items"`
}

LoggingList contains a list of Logging

func (*LoggingList) DeepCopy

func (in *LoggingList) DeepCopy() *LoggingList

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

func (*LoggingList) DeepCopyInto

func (in *LoggingList) DeepCopyInto(out *LoggingList)

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

func (*LoggingList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type LoggingSpec

type LoggingSpec struct{}

func (*LoggingSpec) DeepCopy

func (in *LoggingSpec) DeepCopy() *LoggingSpec

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

func (*LoggingSpec) DeepCopyInto

func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)

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

type LoggingStatus

type LoggingStatus struct{}

func (*LoggingStatus) DeepCopy

func (in *LoggingStatus) DeepCopy() *LoggingStatus

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

func (*LoggingStatus) DeepCopyInto

func (in *LoggingStatus) DeepCopyInto(out *LoggingStatus)

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

type Output

type Output struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OutputSpec   `json:"spec,omitempty"`
	Status OutputStatus `json:"status,omitempty"`
}

Output is the Schema for the outputs API

func (*Output) ConvertFrom

func (o *Output) ConvertFrom(srcRaw conversion.Hub) error

func (*Output) ConvertTo

func (o *Output) ConvertTo(dstRaw conversion.Hub) error

func (*Output) DeepCopy

func (in *Output) DeepCopy() *Output

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

func (*Output) DeepCopyInto

func (in *Output) DeepCopyInto(out *Output)

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

func (*Output) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OutputList

type OutputList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Output `json:"items"`
}

OutputList contains a list of Output

func (*OutputList) DeepCopy

func (in *OutputList) DeepCopy() *OutputList

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

func (*OutputList) DeepCopyInto

func (in *OutputList) DeepCopyInto(out *OutputList)

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

func (*OutputList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OutputSpec

type OutputSpec struct {
	LoggingRef                   string                               `json:"loggingRef,omitempty"`
	S3OutputConfig               *output.S3OutputConfig               `json:"s3,omitempty"`
	AzureStorage                 *output.AzureStorage                 `json:"azurestorage,omitempty"`
	GCSOutput                    *output.GCSOutput                    `json:"gcs,omitempty"`
	OSSOutput                    *output.OSSOutput                    `json:"oss,omitempty"`
	ElasticsearchOutput          *output.ElasticsearchOutput          `json:"elasticsearch,omitempty"`
	OpenSearchOutput             *output.OpenSearchOutput             `json:"opensearch,omitempty"`
	LogZOutput                   *output.LogZOutput                   `json:"logz,omitempty"`
	LokiOutput                   *output.LokiOutput                   `json:"loki,omitempty"`
	SumologicOutput              *output.SumologicOutput              `json:"sumologic,omitempty"`
	DatadogOutput                *output.DatadogOutput                `json:"datadog,omitempty"`
	ForwardOutput                *output.ForwardOutput                `json:"forward,omitempty"`
	FileOutput                   *output.FileOutputConfig             `json:"file,omitempty"`
	NullOutputConfig             *output.NullOutputConfig             `json:"nullout,omitempty"`
	KafkaOutputConfig            *output.KafkaOutputConfig            `json:"kafka,omitempty"`
	CloudWatchOutput             *output.CloudWatchOutput             `json:"cloudwatch,omitempty"`
	KinesisStreamOutputConfig    *output.KinesisStreamOutputConfig    `json:"kinesisStream,omitempty"`
	LogDNAOutput                 *output.LogDNAOutput                 `json:"logdna,omitempty"`
	NewRelicOutputConfig         *output.NewRelicOutputConfig         `json:"newrelic,omitempty"`
	SplunkHecOutput              *output.SplunkHecOutput              `json:"splunkHec,omitempty"`
	HTTPOutput                   *output.HTTPOutputConfig             `json:"http,omitempty"`
	AwsElasticsearchOutputConfig *output.AwsElasticsearchOutputConfig `json:"awsElasticsearch,omitempty"`
	RedisOutputConfig            *output.RedisOutputConfig            `json:"redis,omitempty"`
	SyslogOutputConfig           *output.SyslogOutputConfig           `json:"syslog,omitempty"`
	GELFOutputConfig             *output.GELFOutputConfig             `json:"gelf,omitempty"`
	SQSOutputConfig              *output.SQSOutputConfig              `json:"sqs,omitempty"`
}

OutputSpec defines the desired state of Output

func (*OutputSpec) DeepCopy

func (in *OutputSpec) DeepCopy() *OutputSpec

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

func (*OutputSpec) DeepCopyInto

func (in *OutputSpec) DeepCopyInto(out *OutputSpec)

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

type OutputStatus

type OutputStatus struct {
	Active        *bool    `json:"active,omitempty"`
	Problems      []string `json:"problems,omitempty"`
	ProblemsCount int      `json:"problemsCount,omitempty"`
}

OutputStatus defines the observed state of Output

func (*OutputStatus) DeepCopy

func (in *OutputStatus) DeepCopy() *OutputStatus

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

func (*OutputStatus) DeepCopyInto

func (in *OutputStatus) DeepCopyInto(out *OutputStatus)

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

Jump to

Keyboard shortcuts

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