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

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