edgeworkers

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

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")
	// ErrSavingFiles is returned when an issue with processing templates occurs
	ErrSavingFiles = errors.New("saving terraform project files")
)
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

type TFEdgeWorkerData

type TFEdgeWorkerData struct {
	EdgeWorkerID   int
	Name           string
	GroupID        int64
	ResourceTierID int
	LocalBundle    string
	Section        string
}

TFEdgeWorkerData represents the data used in EdgeWorker templates

Jump to

Keyboard shortcuts

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