caller

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller interface {
	GetCallerIdentity(ctx context.Context, presignedMethod string,
		presignedUrl string) (arn.ARN, error)
}

func New

func New(params Params) (Caller, error)

New will create a caller for AWS STS presigned request URLs.

type Params

type Params struct {
	// Optional parameters.
	HttpClient *http.Client
	Logger     log.DebugLogger
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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