servicecontext

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSRequestContext

type AWSRequestContext struct {
	// AWSRequestContext has all the fields from ARMRequestContext.
	*v1.ARMRequestContext
}

AWSRequestContext is the context for AWS request.

func AWSRequestContextFromContext

func AWSRequestContextFromContext(ctx context.Context) *AWSRequestContext

ARMRequestContextFromContext extracts AWS Request Context from http context.

func (*AWSRequestContext) ResourceTypeInAWSFormat

func (c *AWSRequestContext) ResourceTypeInAWSFormat() string

ResourceTypeInAWSFormat returns the AWS resource type.

Jump to

Keyboard shortcuts

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