Documentation ¶
Index ¶
- Constants
- type ByocDo
- func (b *ByocDo) AccountInfo(ctx context.Context) (client.AccountInfo, error)
- func (b *ByocDo) BootstrapCommand(ctx context.Context, command string) (string, error)
- func (b *ByocDo) BootstrapList(ctx context.Context) ([]string, error)
- func (b *ByocDo) CreateUploadURL(ctx context.Context, req *defangv1.UploadURLRequest) (*defangv1.UploadURLResponse, error)
- func (b *ByocDo) Delete(ctx context.Context, req *defangv1.DeleteRequest) (*defangv1.DeleteResponse, error)
- func (b *ByocDo) DeleteConfig(ctx context.Context, secrets *defangv1.Secrets) error
- func (b *ByocDo) Deploy(ctx context.Context, req *defangv1.DeployRequest) (*defangv1.DeployResponse, error)
- func (b *ByocDo) Destroy(ctx context.Context) (string, error)
- func (b *ByocDo) Follow(ctx context.Context, req *defangv1.TailRequest) (client.ServerStream[defangv1.TailResponse], error)
- func (b *ByocDo) GetService(ctx context.Context, s *defangv1.ServiceID) (*defangv1.ServiceInfo, error)
- func (b *ByocDo) GetServices(ctx context.Context) (*defangv1.ListServicesResponse, error)
- func (b *ByocDo) ListConfig(ctx context.Context) (*defangv1.Secrets, error)
- func (b *ByocDo) Preview(ctx context.Context, req *defangv1.DeployRequest) (*defangv1.DeployResponse, error)
- func (b *ByocDo) PutConfig(ctx context.Context, config *defangv1.PutConfigRequest) error
- func (b *ByocDo) ServiceDNS(name string) string
- func (b *ByocDo) Subscribe(context.Context, *defangv1.SubscribeRequest) (client.ServerStream[defangv1.SubscribeResponse], error)
- func (b *ByocDo) TearDown(ctx context.Context) error
- type DoAccountInfo
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 (*ByocDo) AccountInfo ¶
func (*ByocDo) BootstrapCommand ¶
func (*ByocDo) BootstrapList ¶
func (*ByocDo) CreateUploadURL ¶
func (b *ByocDo) CreateUploadURL(ctx context.Context, req *defangv1.UploadURLRequest) (*defangv1.UploadURLResponse, error)
func (*ByocDo) Delete ¶
func (b *ByocDo) Delete(ctx context.Context, req *defangv1.DeleteRequest) (*defangv1.DeleteResponse, error)
func (*ByocDo) DeleteConfig ¶
func (*ByocDo) Deploy ¶
func (b *ByocDo) Deploy(ctx context.Context, req *defangv1.DeployRequest) (*defangv1.DeployResponse, error)
func (*ByocDo) Follow ¶
func (b *ByocDo) Follow(ctx context.Context, req *defangv1.TailRequest) (client.ServerStream[defangv1.TailResponse], error)
func (*ByocDo) GetService ¶
func (*ByocDo) GetServices ¶
func (*ByocDo) ListConfig ¶
func (*ByocDo) Preview ¶
func (b *ByocDo) Preview(ctx context.Context, req *defangv1.DeployRequest) (*defangv1.DeployResponse, error)
func (*ByocDo) ServiceDNS ¶
func (*ByocDo) Subscribe ¶
func (b *ByocDo) Subscribe(context.Context, *defangv1.SubscribeRequest) (client.ServerStream[defangv1.SubscribeResponse], 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
Click to show internal directories.
Click to hide internal directories.