Documentation ¶
Index ¶
- type Edge
- func (edge *Edge) ExternalServiceAddress(ctx context.Context, candidateURL string) (string, error)
- func (edge *Edge) GetEdgeOnlineStateFromScheduler(ctx context.Context) (bool, error)
- func (edge *Edge) UserNATPunch(ctx context.Context, sourceURL string, req *types.NatPunchReq) error
- func (edge *Edge) WaitQuiet(ctx context.Context) error
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 Transport *quic.Transport SchedulerAPI api.Scheduler }
Edge edge node
func (*Edge) ExternalServiceAddress ¶
ExternalServiceAddress returns the external service address of the scheduler.
func (*Edge) GetEdgeOnlineStateFromScheduler ¶ added in v0.1.13
func (*Edge) UserNATPunch ¶
UserNATPunch checks network connectivity from the edge device to the specified URL.
Click to show internal directories.
Click to hide internal directories.