kubearmor_receiver

package module
v0.0.0-...-7cb0806 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() receiver.Factory

NewFactory creates a factory for kubearmor receiver

Types

type KubearmorConfig

type KubearmorConfig struct {
	adapter.BaseConfig `mapstructure:",squash"`
	InputConfig        input_operator.Config `mapstructure:",squash"`
}

KubearmorConfig defines configuration for the journald receiver

type ReceiverType

type ReceiverType struct{}

ReceiverType implements adapter.LogReceiverType to create a kubearmor receiver

func (ReceiverType) BaseConfig

func (f ReceiverType) BaseConfig(cfg component.Config) adapter.BaseConfig

BaseConfig gets the base config from config, for now

func (ReceiverType) CreateDefaultConfig

func (f ReceiverType) CreateDefaultConfig() component.Config

CreateDefaultConfig creates a config with type and version

func (ReceiverType) InputConfig

func (f ReceiverType) InputConfig(cfg component.Config) operator.Config

InputConfig unmarshals the input operator

func (ReceiverType) Type

func (f ReceiverType) Type() component.Type

Type is the receiver type

Jump to

Keyboard shortcuts

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