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: 0

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