kubeipresolver

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package kubeipresolver provides an operator that enriches events by looking up IP addresses in Kubernetes resources such as pods and services.

Index

Constants

View Source
const (
	OperatorName = "KubeIPResolver"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeIPResolver

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

func (*KubeIPResolver) CanOperateOn

func (k *KubeIPResolver) CanOperateOn(gadget gadgets.GadgetDesc) bool

func (*KubeIPResolver) Close

func (k *KubeIPResolver) Close() error

func (*KubeIPResolver) Dependencies

func (k *KubeIPResolver) Dependencies() []string

func (*KubeIPResolver) Description

func (k *KubeIPResolver) Description() string

func (*KubeIPResolver) GlobalParamDescs

func (k *KubeIPResolver) GlobalParamDescs() params.ParamDescs

func (*KubeIPResolver) Init

func (k *KubeIPResolver) Init(params *params.Params) error

func (*KubeIPResolver) Instantiate

func (k *KubeIPResolver) Instantiate(gadgetCtx operators.GadgetContext, gadgetInstance any, params *params.Params) (operators.OperatorInstance, error)

func (*KubeIPResolver) Name

func (k *KubeIPResolver) Name() string

func (*KubeIPResolver) ParamDescs

func (k *KubeIPResolver) ParamDescs() params.ParamDescs

type KubeIPResolverInstance

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

func (*KubeIPResolverInstance) EnrichEvent

func (m *KubeIPResolverInstance) EnrichEvent(ev any) error

func (*KubeIPResolverInstance) Name

func (m *KubeIPResolverInstance) Name() string

func (*KubeIPResolverInstance) PostGadgetRun

func (m *KubeIPResolverInstance) PostGadgetRun() error

func (*KubeIPResolverInstance) PreGadgetRun

func (m *KubeIPResolverInstance) PreGadgetRun() error

type KubeIPResolverInterface added in v0.18.0

type KubeIPResolverInterface interface {
	GetEndpoints() []*types.L3Endpoint
}

Jump to

Keyboard shortcuts

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