clouds

package
v0.0.0-...-bdf4119 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CdTaskPrefix = "defang-cd" // WARNING: renaming this practically deletes the Pulumi state
	DefangPrefix = "Defang"    // prefix for all resources created by Defang
)

Variables

View Source
var (
	// Changing this will cause issues if two clients with different versions are using the same account
	CdImage = pkg.Getenv("DEFANG_CD_IMAGE", "public.ecr.aws/defang-io/cd:public-beta")
)

Functions

This section is empty.

Types

type ByocAws

type ByocAws struct {
	*client.GrpcClient
	// contains filtered or unexported fields
}

func NewByocAWS

func NewByocAWS(tenantId types.TenantID, defClient *client.GrpcClient) *ByocAws

func (*ByocAws) BootstrapCommand

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

func (*ByocAws) BootstrapList

func (b *ByocAws) BootstrapList(ctx context.Context) 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) Get

func (ByocAws) GetServices

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

func (ByocAws) GetVersions

func (ByocAws) GetVersions(context.Context) (*defangv1.Version, error)

func (ByocAws) ListConfig

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

func (*ByocAws) LoadProject

func (b *ByocAws) LoadProject() (*compose.Project, error)

func (ByocAws) PutConfig

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

func (*ByocAws) Restart

func (b *ByocAws) Restart(ctx context.Context, names ...string) (client.ETag, error)

func (*ByocAws) ServiceDNS

func (b *ByocAws) ServiceDNS(name string) string

func (*ByocAws) TearDown

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

func (ByocAws) WhoAmI

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

Jump to

Keyboard shortcuts

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