util

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// MaxEvents represents the maximum events can to retrieve.
	MaxEvents = int64(20)
)

Functions

func EventsFromDescribe

func EventsFromDescribe(
	resp *svcsdk.DescribeEventsOutput,
) []*svcapitypes.Event

EventsFromDescribe returns a slice of Event structs given the Output response shape from a DescribeEventsWithContext call

func NewDescribeEventsInput

func NewDescribeEventsInput(
	sourceName string,
	sourceType string,
	maxResults int64,
) *svcsdk.DescribeEventsInput

Types

This section is empty.

Jump to

Keyboard shortcuts

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