Documentation ¶
Overview ¶
Package edgeworkers contains code for exporting edge workers and edge kv configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFetchingEdgeKV is returned when fetching edgekv fails ErrFetchingEdgeKV = errors.New("unable to fetch edgekv with given namespace_name and network") )
View Source
var ( // ErrFetchingEdgeWorker is returned when fetching edgeworker fails ErrFetchingEdgeWorker = errors.New("unable to fetch edgeworker with given edgeworker_id") )
Functions ¶
func CmdCreateEdgeKV ¶
func CmdCreateEdgeKV(c *cli.Context) error
CmdCreateEdgeKV is an entrypoint to create-edgekv command
func CmdCreateEdgeWorker ¶
func CmdCreateEdgeWorker(c *cli.Context) error
CmdCreateEdgeWorker is an entrypoint to create-edgeworker command
Types ¶
type TFEdgeKVData ¶
type TFEdgeKVData struct { Name string Network edgeworkers.NamespaceNetwork GroupID int Retention int GeoLocation string Section string }
TFEdgeKVData represents the data used in EdgeKV templates
Click to show internal directories.
Click to hide internal directories.