custom

package
v3.0.0-...-cc23366 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCustomConfigNamespaced

func MakeCustomConfigNamespaced(customConfig string, namespace string) string

Types

type CustomPlugin

type CustomPlugin struct {
	// Config holds any unsupported plugins classic configurations,
	// if ConfigFileFormat is set to yaml, this filed will be ignored
	Config string `json:"config,omitempty"`
	// YamlConfig holds the unsupported plugins yaml configurations, it only works when the ConfigFileFormat is yaml
	// +kubebuilder:pruning:PreserveUnknownFields
	YamlConfig *plugins.Config `json:"yamlConfig,omitempty"`
}

CustomPlugin is used to support filter plugins that are not implemented yet. <br /> **For example usage, refer to https://github.com/fluent/fluent-operator/blob/master/docs/best-practice/custom-plugin.md**

func (*CustomPlugin) DeepCopy

func (in *CustomPlugin) DeepCopy() *CustomPlugin

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

func (*CustomPlugin) DeepCopyInto

func (in *CustomPlugin) DeepCopyInto(out *CustomPlugin)

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

func (*CustomPlugin) MakeNamespaced

func (c *CustomPlugin) MakeNamespaced(ns string)

func (*CustomPlugin) Name

func (c *CustomPlugin) Name() string

func (*CustomPlugin) Params

func (c *CustomPlugin) Params(_ plugins.SecretLoader) (*params.KVs, error)

Jump to

Keyboard shortcuts

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