processor

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 23 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, meter sreCommon.Meter) *AlertmanagerProcessor

func (*AlertmanagerProcessor) HandleHttpRequest

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

func (*AlertmanagerProcessor) Type added in v0.1.0

func (p *AlertmanagerProcessor) Type() string

type AlertmanagerResponse

type AlertmanagerResponse struct {
	Message string
}

type CustomJsonProcessor added in v0.1.0

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

func NewCustomJsonProcessor added in v0.1.0

func NewCustomJsonProcessor(outputs *common.Outputs, logger sreCommon.Logger, tracer sreCommon.Tracer, meter sreCommon.Meter) *CustomJsonProcessor

func (*CustomJsonProcessor) HandleHttpRequest added in v0.1.0

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

func (*CustomJsonProcessor) Type added in v0.1.0

func (p *CustomJsonProcessor) Type() string

type CustomJsonResponse added in v0.1.0

type CustomJsonResponse struct {
	Message string
}

type GitlabProcessor added in v0.1.0

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

func NewGitlabProcessor added in v0.1.0

func NewGitlabProcessor(outputs *common.Outputs, logger sreCommon.Logger, tracer sreCommon.Tracer, meter sreCommon.Meter) *GitlabProcessor

func (*GitlabProcessor) HandleHttpRequest added in v0.1.0

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

func (*GitlabProcessor) Type added in v0.1.0

func (p *GitlabProcessor) Type() string

type GitlabResponse added in v0.1.0

type GitlabResponse 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, meter sreCommon.Meter) *K8sProcessor

func (*K8sProcessor) HandleHttpRequest

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

func (*K8sProcessor) Type added in v0.1.0

func (p *K8sProcessor) Type() string

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)

func (*RancherProcessor) Type added in v0.1.0

func (p *RancherProcessor) Type() string

Jump to

Keyboard shortcuts

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