processor

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertmanagerProcessor

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

func NewAlertmanagerProcessor

func NewAlertmanagerProcessor(outputs *common.Outputs, logger sreCommon.Logger, tracer sreCommon.Tracer, metricer sreCommon.Metricer) *AlertmanagerProcessor

func (*AlertmanagerProcessor) HandleHttpRequest

func (p *AlertmanagerProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)

type AlertmanagerResponse

type AlertmanagerResponse struct {
	Message string
}

type K8sData

type K8sData struct {
	Kind      string      `json:"kind"`
	Location  string      `json:"location"`
	Operation string      `json:"operation"`
	Object    interface{} `json:"object,omitempty"`
	User      *K8sUser    `json:"user"`
}

type K8sProcessor

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

func NewK8sProcessor

func NewK8sProcessor(outputs *common.Outputs, logger sreCommon.Logger, tracer sreCommon.Tracer, metricer sreCommon.Metricer) *K8sProcessor

func (*K8sProcessor) HandleHttpRequest

func (p *K8sProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)

type K8sUser

type K8sUser struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type RancherProcessor

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

func NewRancherProcessor

func NewRancherProcessor(outputs *common.Outputs, logger sreCommon.Logger, tracer sreCommon.Tracer) *RancherProcessor

func (*RancherProcessor) HandleHttpRequest

func (p *RancherProcessor) HandleHttpRequest(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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