awsu

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateACMWebURL added in v1.3.1

func GenerateACMWebURL(region, certId string) string

func GenerateS3WebURL added in v1.5.0

func GenerateS3WebURL(bucket, region, prefix string) string

func NewACM added in v1.3.1

func NewACM(in *AuthInput) (*acm.ACM, error)

func NewR53Input

func NewR53Input(recordInput, awsProfile string, debug, muteLogs bool, skipNSVerification, recursiveSearch bool, recursiveMaxDepth int) (sdk.Input, error)

func NewS3 added in v1.5.0

func NewS3(in *AuthInput) (*s3.Client, error)

Types

type ACMFilter added in v1.3.1

type ACMFilter = func(c *acm.CertificateDetail) bool

type ACMResult added in v1.3.1

type ACMResult struct {
	Certificates []*acm.CertificateDetail
}

type AcmAPI added in v1.3.1

type AcmAPI interface {
	ListAndFilter(parallel int, describe bool, filter ACMFilter) (*ACMResult, error)
}

func NewAcmClient added in v1.3.1

func NewAcmClient(c *acm.ACM) AcmAPI

type AcmClient added in v1.3.1

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

func (*AcmClient) GetAll added in v1.3.1

func (a *AcmClient) GetAll() ([]*acm.CertificateSummary, error)

func (*AcmClient) ListAndFilter added in v1.3.1

func (a *AcmClient) ListAndFilter(parallel int, describe bool, filter ACMFilter) (*ACMResult, error)

type AuthInput added in v1.3.1

type AuthInput struct {
	Provider        client.ConfigProvider
	Configs         []*aws.Config
	EffectiveRegion string
}

func NewSessionInput added in v1.3.1

func NewSessionInput(profile, region string) (*AuthInput, error)

type S3API added in v1.5.0

type S3API interface {
	ListAllBuckets() ([]types.Bucket, error)
	ListAllObjects(bucket, prefix string) ([]types.Object, error)
}

func NewS3Client added in v1.5.0

func NewS3Client(c *s3.Client) S3API

type S3Client added in v1.5.0

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

func (*S3Client) ListAllBuckets added in v1.5.0

func (s *S3Client) ListAllBuckets() ([]types.Bucket, error)

func (*S3Client) ListAllObjects added in v1.5.0

func (s *S3Client) ListAllObjects(bucket, prefix string) ([]types.Object, error)

Jump to

Keyboard shortcuts

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