Documentation
¶
Index ¶
- func CopyDirectory(src string, dst string) error
- func Exists(filePath string) bool
- func File(src, dst string) error
- func GetFreePort() (port int, err error)
- type Workerd
- func (w *Workerd) Close() error
- func (w *Workerd) Delete(ctx context.Context, projectId string) error
- func (w *Workerd) Deploy(ctx context.Context, project *types.Project) error
- func (w *Workerd) Query(ctx context.Context, ids []string) ([]*types.Project, error)
- func (w *Workerd) RestartProjects(ctx context.Context)
- func (w *Workerd) Update(ctx context.Context, project *types.Project) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDirectory ¶
CopyDirectory copies a whole directory recursively
func GetFreePort ¶
GetFreePort asks the kernel for a free open port that is ready to use.
Types ¶
type Workerd ¶
type Workerd struct {
// contains filtered or unexported fields
}
func NewWorkerd ¶
func (*Workerd) RestartProjects ¶
RestartProjects reinitialized and synchronizes the worker's projects.
Click to show internal directories.
Click to hide internal directories.