awsintentsholder

package
v0.0.0-...-dc3c0fb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSIntent

type AWSIntent struct {
	Client  model.OtterizeServiceIdentity `json:"client"`
	Actions []string
	ARN     string
}

type AWSIntentCallbackFunc

type AWSIntentCallbackFunc func(context.Context, []AWSIntent)

type AWSIntentKey

type AWSIntentKey struct {
	ClientName      string
	ClientNamespace string
	ARN             string
}

type AWSIntentsHolder

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

func New

func New() *AWSIntentsHolder

func (*AWSIntentsHolder) AddIntent

func (h *AWSIntentsHolder) AddIntent(intent AWSIntent)

func (*AWSIntentsHolder) PeriodicIntentsUpload

func (h *AWSIntentsHolder) PeriodicIntentsUpload(ctx context.Context, interval time.Duration)

func (*AWSIntentsHolder) RegisterNotifyIntents

func (h *AWSIntentsHolder) RegisterNotifyIntents(callback AWSIntentCallbackFunc)

type TimestampedAWSIntent

type TimestampedAWSIntent struct {
	Timestamp time.Time
	AWSIntent
}

Jump to

Keyboard shortcuts

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