s3

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package s3 provides a client to retrieve Copilot S3 information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client retrieves Copilot S3 service information from AWS.

func New

func New(sess *session.Session) *Client

New inits a new Client.

func (Client) BucketName

func (c Client) BucketName(app, env, svc string) (string, error)

BucketName returns the bucket name given the Copilot app, env, and Static Site service name.

type ErrNotFound

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

ErrNotFound is returned when no bucket is found matching the given tags.

func (*ErrNotFound) Error

func (e *ErrNotFound) Error() string

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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