Documentation ¶
Index ¶
- Constants
- Variables
- func NewClient(ctx context.Context) (*godo.Client, error)
- type DoApp
- func (d DoApp) CreateS3Client() (*s3.Client, error)
- func (d DoApp) CreateS3DownloadUrl(ctx context.Context, name string) (string, error)
- func (d DoApp) CreateUploadURL(ctx context.Context, name string) (string, error)
- func (d *DoApp) GetBucketName(ctx context.Context, s3Client *s3.Client) (string, error)
- func (d DoApp) Run(ctx context.Context, env []*godo.AppVariableDefinition, cmd ...string) (*godo.App, error)
- func (d *DoApp) SetUp(ctx context.Context) error
- type Image
Constants ¶
View Source
const ( CdImageBase = "defangio/cd" CdName = "defang-cd" )
Variables ¶
View Source
var IMG_RE = regexp.MustCompile(`^((?:(.+?)\/)?(.+?)(?:@(sha256:[0-9a-f]{64})|:(\w[\w.-]{0,127}))?)$`) // FIXME: avoid unbounded "+" in the regex
Copied from defang-mvp/pulumi/shared/utils.ts
Functions ¶
Types ¶
type DoApp ¶
func (DoApp) CreateS3DownloadUrl ¶
func (DoApp) CreateUploadURL ¶
func (*DoApp) GetBucketName ¶
Click to show internal directories.
Click to hide internal directories.