metrics_collection_traffic

package
v0.0.0-...-3bed8a6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnEvict

func OnEvict(key string, _ CacheValue)

Types

type CacheValue

type CacheValue []byte

type EndpointsReconciler

type EndpointsReconciler struct {
	client.Client
	injectablerecorder.InjectableRecorder
	// contains filtered or unexported fields
}

func NewEndpointsReconciler

func NewEndpointsReconciler(metricsCollectionTrafficHandler *MetricsCollectionTrafficHandler) *EndpointsReconciler

func (*EndpointsReconciler) InjectRecorder

func (r *EndpointsReconciler) InjectRecorder(recorder record.EventRecorder)

func (*EndpointsReconciler) Reconcile

func (r *EndpointsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*EndpointsReconciler) SetupWithManager

func (r *EndpointsReconciler) SetupWithManager(mgr ctrl.Manager) error

type MetricsCollectionTrafficCache

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

func NewMetricsCollectionTrafficCache

func NewMetricsCollectionTrafficCache() *MetricsCollectionTrafficCache

func (*MetricsCollectionTrafficCache) GenerateValue

func (*MetricsCollectionTrafficCache) Get

func (*MetricsCollectionTrafficCache) Set

type MetricsCollectionTrafficHandler

type MetricsCollectionTrafficHandler struct {
	client.Client
	// contains filtered or unexported fields
}

func NewMetricsCollectionTrafficHandler

func NewMetricsCollectionTrafficHandler(client client.Client, serviceIdResolver *serviceidresolver.Resolver, otterizeCloud cloudclient.CloudClient) *MetricsCollectionTrafficHandler

func (*MetricsCollectionTrafficHandler) HandleAllPodsInNamespace

func (r *MetricsCollectionTrafficHandler) HandleAllPodsInNamespace(ctx context.Context, req ctrl.Request) error

func (*MetricsCollectionTrafficHandler) HandleAllServicesInNamespace

func (r *MetricsCollectionTrafficHandler) HandleAllServicesInNamespace(ctx context.Context, req ctrl.Request) error

type PodReconciler

type PodReconciler struct {
	client.Client
	injectablerecorder.InjectableRecorder
	// contains filtered or unexported fields
}

func NewPodReconciler

func NewPodReconciler(metricsCollectionTrafficHandler *MetricsCollectionTrafficHandler) *PodReconciler

func (*PodReconciler) InjectRecorder

func (r *PodReconciler) InjectRecorder(recorder record.EventRecorder)

func (*PodReconciler) Reconcile

func (r *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PodReconciler) SetupWithManager

func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error

type ServiceReconciler

type ServiceReconciler struct {
	client.Client
	injectablerecorder.InjectableRecorder
	// contains filtered or unexported fields
}

func NewServiceReconciler

func NewServiceReconciler(metricsCollectionTrafficHandler *MetricsCollectionTrafficHandler) *ServiceReconciler

func (*ServiceReconciler) InjectRecorder

func (r *ServiceReconciler) InjectRecorder(recorder record.EventRecorder)

func (*ServiceReconciler) Reconcile

func (r *ServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ServiceReconciler) SetupWithManager

func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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