aws

package
v0.0.0-...-1065642 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CdImageRepo = "public.ecr.aws/defang-io/cd"
)

Variables

View Source
var (
	PulumiVersion = pkg.Getenv("DEFANG_PULUMI_VERSION", "3.136.1")
)

Functions

This section is empty.

Types

type ByocAws

type ByocAws struct {
	*byoc.ByocBaseClient
	// contains filtered or unexported fields
}

func NewByocClient

func NewByocClient(ctx context.Context, grpcClient client.GrpcClient, tenantId types.TenantID) *ByocAws

func (*ByocAws) AddEcsEventHandler

func (b *ByocAws) AddEcsEventHandler(handler ECSEventHandler)

func (*ByocAws) BootstrapCommand

func (b *ByocAws) BootstrapCommand(ctx context.Context, command string) (string, error)

func (*ByocAws) BootstrapList

func (b *ByocAws) BootstrapList(ctx context.Context) ([]string, error)

func (*ByocAws) CreateUploadURL

func (b *ByocAws) CreateUploadURL(ctx context.Context, req *defangv1.UploadURLRequest) (*defangv1.UploadURLResponse, error)

func (*ByocAws) Delete

func (*ByocAws) DeleteConfig

func (b *ByocAws) DeleteConfig(ctx context.Context, secrets *defangv1.Secrets) error

func (*ByocAws) Deploy

func (*ByocAws) Destroy

func (b *ByocAws) Destroy(ctx context.Context) (string, error)

func (*ByocAws) Follow

func (*ByocAws) GetService

func (b *ByocAws) GetService(ctx context.Context, s *defangv1.ServiceID) (*defangv1.ServiceInfo, error)

func (*ByocAws) GetServices

func (b *ByocAws) GetServices(ctx context.Context) (*defangv1.ListServicesResponse, error)

func (*ByocAws) HandleECSEvent

func (b *ByocAws) HandleECSEvent(evt ecs.Event)

func (*ByocAws) ListConfig

func (b *ByocAws) ListConfig(ctx context.Context) (*defangv1.Secrets, error)

func (*ByocAws) Preview

func (*ByocAws) PutConfig

func (b *ByocAws) PutConfig(ctx context.Context, secret *defangv1.PutConfigRequest) error

func (*ByocAws) TearDown

func (b *ByocAws) TearDown(ctx context.Context) error

func (*ByocAws) WhoAmI

func (b *ByocAws) WhoAmI(ctx context.Context) (*defangv1.WhoAmIResponse, error)

type ECSEventHandler

type ECSEventHandler interface {
	HandleECSEvent(evt ecs.Event)
}

Jump to

Keyboard shortcuts

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