Documentation ¶
Index ¶
- Constants
- Variables
- type ByocAws
- func (b *ByocAws) BootstrapCommand(ctx context.Context, command string) (string, error)
- func (b *ByocAws) BootstrapList(ctx context.Context) error
- func (b *ByocAws) CreateUploadURL(ctx context.Context, req *defangv1.UploadURLRequest) (*defangv1.UploadURLResponse, error)
- func (b *ByocAws) Delete(ctx context.Context, req *defangv1.DeleteRequest) (*defangv1.DeleteResponse, error)
- func (b *ByocAws) DeleteConfig(ctx context.Context, secrets *defangv1.Secrets) error
- func (b *ByocAws) Deploy(ctx context.Context, req *defangv1.DeployRequest) (*defangv1.DeployResponse, error)
- func (b *ByocAws) Destroy(ctx context.Context) (string, error)
- func (b ByocAws) Get(ctx context.Context, s *defangv1.ServiceID) (*defangv1.ServiceInfo, error)
- func (b ByocAws) GetServices(ctx context.Context) (*defangv1.ListServicesResponse, error)
- func (ByocAws) GetVersions(context.Context) (*defangv1.Version, error)
- func (b ByocAws) ListConfig(ctx context.Context) (*defangv1.Secrets, error)
- func (b *ByocAws) LoadProject() (*compose.Project, error)
- func (b ByocAws) PutConfig(ctx context.Context, secret *defangv1.SecretValue) error
- func (b *ByocAws) Restart(ctx context.Context, names ...string) (client.ETag, error)
- func (b *ByocAws) ServiceDNS(name string) string
- func (b *ByocAws) Tail(ctx context.Context, req *defangv1.TailRequest) (client.ServerStream[defangv1.TailResponse], error)
- func (b *ByocAws) TearDown(ctx context.Context) error
- func (b ByocAws) WhoAmI(ctx context.Context) (*defangv1.WhoAmIResponse, error)
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 (*ByocAws) CreateUploadURL ¶
func (b *ByocAws) CreateUploadURL(ctx context.Context, req *defangv1.UploadURLRequest) (*defangv1.UploadURLResponse, error)
func (*ByocAws) Delete ¶
func (b *ByocAws) Delete(ctx context.Context, req *defangv1.DeleteRequest) (*defangv1.DeleteResponse, error)
func (*ByocAws) DeleteConfig ¶
func (*ByocAws) Deploy ¶
func (b *ByocAws) Deploy(ctx context.Context, req *defangv1.DeployRequest) (*defangv1.DeployResponse, error)
func (ByocAws) GetServices ¶
func (ByocAws) ListConfig ¶
func (*ByocAws) ServiceDNS ¶
func (*ByocAws) Tail ¶
func (b *ByocAws) Tail(ctx context.Context, req *defangv1.TailRequest) (client.ServerStream[defangv1.TailResponse], error)
Click to show internal directories.
Click to hide internal directories.