edge

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	fx.In

	*common.CommonAPI
	*device.Device
	*asset.Asset
	*validate.Validation
	*datasync.DataSync
	*workerd.Workerd
	Transport    *quic.Transport
	SchedulerAPI api.Scheduler

	RestartChan     dtypes.RestartChan
	RestartDoneChan dtypes.RestartDoneChan
}

Edge edge node

func (*Edge) GetEdgeOnlineStateFromScheduler added in v0.1.13

func (edge *Edge) GetEdgeOnlineStateFromScheduler(ctx context.Context) (bool, error)

func (*Edge) Restart added in v0.1.19

func (edge *Edge) Restart(ctx context.Context) error

func (*Edge) UserNATPunch

func (edge *Edge) UserNATPunch(ctx context.Context, sourceURL string, req *types.NatPunchReq) error

UserNATPunch checks network connectivity from the edge device to the specified URL.

func (*Edge) WaitQuiet

func (edge *Edge) WaitQuiet(ctx context.Context) error

WaitQuiet waits for the edge device to become idle.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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