Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigureFileSyncDevObserver(ctx context.Context, cluster runtime.ClusterNamespace, srv planning.Server) (context.Context, integrations.DevObserver, error)
- func NewDevModule(module build.Workspace, observeChanges, digestMode bool, ...) build.Workspace
- type FileSyncDevObserver
Constants ¶
View Source
const ( FileSyncPort = 50000 ControllerCommand = "/filesync-controller" )
Variables ¶
View Source
var (
ControllerPkg = schema.MakePackageSingleRef("namespacelabs.dev/foundation/std/development/filesync/controller")
)
Functions ¶
func ConfigureFileSyncDevObserver ¶
func ConfigureFileSyncDevObserver(ctx context.Context, cluster runtime.ClusterNamespace, srv planning.Server) (context.Context, integrations.DevObserver, error)
func NewDevModule ¶ added in v0.0.109
func NewDevModule(module build.Workspace, observeChanges, digestMode bool, opts integrations.HotReloadOpts, extraInputs ...compute.UntypedComputable) build.Workspace
Types ¶
type FileSyncDevObserver ¶
type FileSyncDevObserver struct {
// contains filtered or unexported fields
}
func (*FileSyncDevObserver) Close ¶
func (do *FileSyncDevObserver) Close() error
func (*FileSyncDevObserver) Deposit ¶
func (do *FileSyncDevObserver) Deposit(ctx context.Context, s *wsremote.Signature, events []*wscontents.FileEvent) (bool, error)
func (*FileSyncDevObserver) OnDeployment ¶
func (do *FileSyncDevObserver) OnDeployment(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.