aws

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSConfig

type AWSConfig struct {
	Region          string `json:"region" yaml:"region"`
	AccessKeyID     string `json:"access_key_id" yaml:"access_key_id"`
	SecretAccessKey string `json:"secret_access_key" yaml:"secret_access_key"`
	RoleARN         string `json:"role_arn" yaml:"role_arn"`
	ECSCluster      string `json:"ecs_cluster" yaml:"ecs_cluster"`
	Service         string `json:"service" yaml:"service"`
}

AWSConfig holds configuration for the AWS cloud provider.

type AWSProvider

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

AWSProvider implements CloudProvider for Amazon Web Services.

func NewAWSProvider

func NewAWSProvider(config AWSConfig) *AWSProvider

NewAWSProvider creates a new AWSProvider with the given configuration.

func (*AWSProvider) Dependencies

func (p *AWSProvider) Dependencies() []plugin.PluginDependency

func (*AWSProvider) Deploy

func (*AWSProvider) Description

func (p *AWSProvider) Description() string

func (*AWSProvider) GetDeploymentStatus

func (p *AWSProvider) GetDeploymentStatus(ctx context.Context, deployID string) (*provider.DeployStatus, error)

func (*AWSProvider) GetMetrics

func (p *AWSProvider) GetMetrics(ctx context.Context, deployID string, window time.Duration) (*provider.Metrics, error)

func (*AWSProvider) ListImages

func (p *AWSProvider) ListImages(ctx context.Context, repo string) ([]provider.ImageTag, error)

ListImages lists container images in an Amazon ECR repository.

func (*AWSProvider) Name

func (p *AWSProvider) Name() string

func (*AWSProvider) OnDisable

func (p *AWSProvider) OnDisable(_ plugin.PluginContext) error

func (*AWSProvider) OnEnable

func (p *AWSProvider) OnEnable(_ plugin.PluginContext) error

func (*AWSProvider) PullImage

func (p *AWSProvider) PullImage(ctx context.Context, image string, auth provider.RegistryAuth) error

PullImage pulls a container image from Amazon ECR.

func (*AWSProvider) PushImage

func (p *AWSProvider) PushImage(ctx context.Context, image string, auth provider.RegistryAuth) error

PushImage pushes a container image to Amazon ECR.

func (*AWSProvider) RegisterRoutes

func (p *AWSProvider) RegisterRoutes(mux *http.ServeMux)

func (*AWSProvider) Rollback

func (p *AWSProvider) Rollback(ctx context.Context, deployID string) error

func (*AWSProvider) TestConnection

func (p *AWSProvider) TestConnection(ctx context.Context, config map[string]any) (*provider.ConnectionResult, error)

func (*AWSProvider) UIPages

func (p *AWSProvider) UIPages() []plugin.UIPageDef

func (*AWSProvider) Version

func (p *AWSProvider) Version() string

Jump to

Keyboard shortcuts

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