integration

package
v0.0.0-...-2dbac4b Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomEventDataFetcher

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

func NewCustomEventDataFetcher

func NewCustomEventDataFetcher(k8sClient client.Client, namespace string, configmapName string, logger logr.Logger) (*CustomEventDataFetcher, error)

func (*CustomEventDataFetcher) GetDesiredEvents

func (ce *CustomEventDataFetcher) GetDesiredEvents(startTime time.Time, endTime time.Time) ([]EventDetails, error)

type CustomEventMetadata

type CustomEventMetadata struct {
	EventId   string `json:"eventId"`
	EventName string `json:"eventName"`
	StartTime string `json:"startTime"`
	EndTime   string `json:"endTime"`
}

type EventDetails

type EventDetails struct {
	EventName string
	EventId   string
	StartTime time.Time
	EndTime   time.Time
}

type EventIntegration

type EventIntegration interface {
	GetDesiredEvents(startTime time.Time,
		endTime time.Time) ([]EventDetails, error)
}

Jump to

Keyboard shortcuts

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