rsysloguserconfig

package
v0.23.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RsyslogUserConfig

type RsyslogUserConfig struct {
	// +kubebuilder:validation:MaxLength=16384
	// PEM encoded CA certificate
	Ca *string `groups:"create,update" json:"ca,omitempty"`

	// +kubebuilder:validation:MaxLength=16384
	// PEM encoded client certificate
	Cert *string `groups:"create,update" json:"cert,omitempty"`

	// +kubebuilder:validation:Enum="rfc5424";"rfc3164";"custom"
	// Message format
	Format string `groups:"create,update" json:"format"`

	// +kubebuilder:validation:MaxLength=16384
	// PEM encoded client key
	Key *string `groups:"create,update" json:"key,omitempty"`

	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=512
	// +kubebuilder:validation:Pattern=`^[ -~\t]+$`
	// Custom syslog message format
	Logline *string `groups:"create,update" json:"logline,omitempty"`

	// +kubebuilder:validation:Minimum=2048
	// +kubebuilder:validation:Maximum=2147483647
	// Rsyslog max message size
	MaxMessageSize *int `groups:"create,update" json:"max_message_size,omitempty"`

	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=65535
	// Rsyslog server port
	Port int `groups:"create,update" json:"port"`

	// +kubebuilder:validation:MaxLength=1024
	// Structured data block for log message
	Sd *string `groups:"create,update" json:"sd,omitempty"`

	// +kubebuilder:validation:MinLength=4
	// +kubebuilder:validation:MaxLength=255
	// Rsyslog server IP address or hostname
	Server string `groups:"create,update" json:"server"`

	// Require TLS
	Tls bool `groups:"create,update" json:"tls"`
}

func (*RsyslogUserConfig) DeepCopy

func (in *RsyslogUserConfig) DeepCopy() *RsyslogUserConfig

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

func (*RsyslogUserConfig) DeepCopyInto

func (in *RsyslogUserConfig) DeepCopyInto(out *RsyslogUserConfig)

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