do

package
v0.0.0-...-a5f8819 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DEFANG       = "defang"
	RFC3339Micro = "2006-01-02T15:04:05.000000Z07:00"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ByocDo

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

func NewByocProvider

func NewByocProvider(ctx context.Context, grpcClient client.GrpcClient, tenantId types.TenantID) (*ByocDo, error)

func (*ByocDo) AccountInfo

func (b *ByocDo) AccountInfo(ctx context.Context) (client.AccountInfo, error)

func (*ByocDo) BootstrapCommand

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

func (*ByocDo) BootstrapList

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

func (*ByocDo) CreateUploadURL

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

func (*ByocDo) Delete

func (*ByocDo) DeleteConfig

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

func (*ByocDo) Deploy

func (*ByocDo) Destroy

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

func (*ByocDo) Follow

func (*ByocDo) GetService

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

func (*ByocDo) GetServices

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

func (*ByocDo) ListConfig

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

func (*ByocDo) Preview

func (*ByocDo) PutConfig

func (b *ByocDo) PutConfig(ctx context.Context, config *defangv1.PutConfigRequest) error

func (*ByocDo) ServiceDNS

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

func (*ByocDo) TearDown

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

type DoAccountInfo

type DoAccountInfo struct {
	// contains filtered or unexported fields
}

func (DoAccountInfo) AccountID

func (i DoAccountInfo) AccountID() string

func (DoAccountInfo) Details

func (i DoAccountInfo) Details() string

func (DoAccountInfo) Region

func (i DoAccountInfo) Region() string

Jump to

Keyboard shortcuts

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