generate

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Name:  "generate",
	Usage: "Generate deployment templates and commands for Providers",
	Subcommands: []*cli.Command{
		&cloudFormationCreate,
		&cloudformationUpdate,
	},
}

Functions

This section is empty.

Types

type Presigner

type Presigner struct {
	PresignClient *s3.PresignClient
}

func (Presigner) GetObject

func (presigner Presigner) GetObject(
	bucketName string, objectKey string, lifetimeSecs int64) (*v4.PresignedHTTPRequest, error)

GetObject makes a presigned request that can be used to get an object from a bucket. The presigned request is valid for the specified number of seconds.

Jump to

Keyboard shortcuts

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