input

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardInputConfig

type ForwardInputConfig struct {
	Port                string `json:"port,omitempty" plugin:"default:24240"`
	Bind                string `json:"bind,omitempty" plugin:"default:0.0.0.0"`
	Tag                 string `json:"tag,omitempty"`
	AddTagPrefix        string `json:"add_tag_prefix,omitempty"`
	LingerTimeout       int    `json:"linger_timeout,omitempty"`
	ResolveHostname     *bool  `json:"resolve_hostname,omitempty"`
	DenyKeepalive       *bool  `json:"deny_keepalive,omitempty"`
	SendKeepalivePacket *bool  `json:"send_keepalive_packet,omitempty"`
	ChunkSizeLimit      string `json:"chunk_size_limit,omitempty"`
	ChunkSizeWarnLimit  string `json:"chunk_size_warn_limit,omitempty"`
	SkipInvalidEvent    *bool  `json:"skip_invalid_event,omitempty"`
	SourceAddressKey    string `json:"source_address_key,omitempty"`
	SourceHostnameKey   string `json:"sourceHostnameKey,omitempty"`

	Transport *common.Transport `json:"transport,omitempty"`
	Security  *common.Security  `json:"security,omitempty"`
}

func NewForwardInputConfig

func NewForwardInputConfig() *ForwardInputConfig

func (*ForwardInputConfig) DeepCopy

func (in *ForwardInputConfig) DeepCopy() *ForwardInputConfig

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

func (*ForwardInputConfig) DeepCopyInto

func (in *ForwardInputConfig) DeepCopyInto(out *ForwardInputConfig)

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

func (*ForwardInputConfig) ToDirective

func (f *ForwardInputConfig) ToDirective(secretLoader secret.SecretLoader, id string) (types.Directive, error)

type TailInputConfig

type TailInputConfig struct {
	Path string `json:"path"`
}

func NewTailInputConfig

func NewTailInputConfig(path string) *TailInputConfig

func (*TailInputConfig) DeepCopy

func (in *TailInputConfig) DeepCopy() *TailInputConfig

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

func (*TailInputConfig) DeepCopyInto

func (in *TailInputConfig) DeepCopyInto(out *TailInputConfig)

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

func (*TailInputConfig) ToDirective

func (c *TailInputConfig) ToDirective(secretLoader secret.SecretLoader, id string) (types.Directive, error)

Jump to

Keyboard shortcuts

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