generate

package
v0.15.14 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 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