clients

package
v0.0.0-...-0a9a495 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDevReleaseClients

func CreateDevReleaseClients(dryRun bool) (*SourceClients, *ReleaseClients, error)

Function to create release clients for dev release.

func CreateProdReleaseClients

func CreateProdReleaseClients() (*SourceClients, *ReleaseClients, error)

Function to create clients for production release.

func CreateStagingReleaseClients

func CreateStagingReleaseClients() (*SourceClients, *ReleaseClients, error)

Function to create clients for staging release.

Types

type ReleaseClients

type ReleaseClients struct {
	S3        *ReleaseS3Clients
	ECRPublic *ReleaseECRPublicClient
}

type ReleaseECRPublicClient

type ReleaseECRPublicClient struct {
	Client     *ecrpublicsdk.ECRPublic
	AuthConfig *docker.AuthConfiguration
}

type ReleaseS3Clients

type ReleaseS3Clients struct {
	Client   *s3.S3
	Uploader *s3manager.Uploader
}

type SourceClients

type SourceClients struct {
	S3  *SourceS3Clients
	ECR *SourceECRClient
}

type SourceECRClient

type SourceECRClient struct {
	EcrClient       *ecrsdk.ECR
	EcrPublicClient *ecrpublicsdk.ECRPublic
	AuthConfig      *docker.AuthConfiguration
}

type SourceS3Clients

type SourceS3Clients struct {
	Client *s3.S3
}

Jump to

Keyboard shortcuts

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