handlers

package
v0.0.0-...-318a3d5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMongoDBConnectionString

func GetMongoDBConnectionString() (string, string, error)

Types

type EventRequestHandler

type EventRequestHandler struct {
	Env envConfig
	// contains filtered or unexported fields
}

func NewEventRequestHandler

func NewEventRequestHandler(eventRepo db.EventRepo) *EventRequestHandler

func (*EventRequestHandler) GetEvents

func (*EventRequestHandler) GetEventsByType

func (EventRequestHandler) OnEvent

func (*EventRequestHandler) ProcessEvent

func (erh *EventRequestHandler) ProcessEvent(event keptnapi.KeptnContextExtendedCE) error

func (EventRequestHandler) RegistrationData

func (erh EventRequestHandler) RegistrationData() controlplane.RegistrationData

type ProjectEventData

type ProjectEventData struct {
	Project *string `json:"project,omitempty"`
}

Jump to

Keyboard shortcuts

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