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") // ErrFetchingEdgeKVItems is returned when fetching edgekv items fails ErrFetchingEdgeKVItems = errors.New("unable to fetch edgekv items with given group id") // ErrFetchingEdgeKVItem is returned when fetching edgekv item fails ErrFetchingEdgeKVItem = errors.New("unable to fetch edgekv item with given group and item id") // ErrFetchingEdgeKVGroups is returned when fetching edgekv groups fails ErrFetchingEdgeKVGroups = errors.New("unable to fetch edgekv groups 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 GroupItems map[string]map[string]edgeworkers.Item }
TFEdgeKVData represents the data used in EdgeKV templates
Click to show internal directories.
Click to hide internal directories.