plugins

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapLoader

type ConfigMapLoader struct {
	// contains filtered or unexported fields
}

func NewConfigMapLoader

func NewConfigMapLoader(c client.Client, ns string) ConfigMapLoader

func (ConfigMapLoader) LoadConfigMap

func (cl ConfigMapLoader) LoadConfigMap(selector v1.ConfigMapKeySelector) (string, error)

type Plugin

type Plugin interface {
	Name() string
	Params(SecretLoader) (*params.PluginStore, error)
}

The Plugin interface defines methods for transferring input, filter and output plugins to textual section content.

type Secret

type Secret struct {
	ValueFrom ValueSource `json:"valueFrom,omitempty"`
}

Secret defines the key of a value.

type SecretLoader

type SecretLoader struct {
	// contains filtered or unexported fields
}

func NewSecretLoader

func NewSecretLoader(c client.Client, ns string, l logr.Logger) SecretLoader

func (SecretLoader) LoadSecret

func (sl SecretLoader) LoadSecret(s Secret) (string, error)

type TLS added in v1.5.0

type TLS struct {
	// Force certificate validation
	Verify *bool `json:"verify,omitempty"`
	// Set TLS debug verbosity level.
	// It accept the following values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational) and 4 Verbose
	// +kubebuilder:validation:Enum:=0;1;2;3;4
	Debug *int32 `json:"debug,omitempty"`
	// Absolute path to CA certificate file
	CAFile string `json:"caFile,omitempty"`
	// Absolute path to scan for certificate files
	CAPath string `json:"caPath,omitempty"`
	// Absolute path to Certificate file
	CRTFile string `json:"crtFile,omitempty"`
	// Absolute path to private Key file
	KeyFile string `json:"keyFile,omitempty"`
	// Optional password for tls.key_file file
	KeyPassword *Secret `json:"keyPassword,omitempty"`
	// Hostname to be used for TLS SNI extension
	Vhost string `json:"vhost,omitempty"`
}

Fluentd provides integrated support for Transport Layer Security (TLS) and it predecessor Secure Sockets Layer (SSL) respectively.

type TLSLoader added in v1.5.0

type TLSLoader struct {
	// contains filtered or unexported fields
}

func NewTLSMapLoader added in v1.5.0

func NewTLSMapLoader(c client.Client, ns string) TLSLoader

type ValueSource

type ValueSource struct {
	// Selects a key of a secret in the pod's namespace
	// +optional
	SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
}

ValueSource defines how to find a value's key.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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