deploygen

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Generators = map[string]func(app *AppSpec) (string, error){
	KubernetesBasic: kubeBasic,
}
View Source
var KubernetesBasic = "kubernetes-basic"
View Source
var MexDeployGenLabel = "mexDeployGen"

Functions

func RunGen

func RunGen(gen string, app *edgeproto.App) (string, error)

func SendReq

func SendReq(uri string, app *edgeproto.App) (string, error)

Types

type AppSpec

type AppSpec struct {
	Name             string          `json:"name"`
	OrgName          string          `json:"orgname"`
	Version          string          `json:"version"`
	ImagePath        string          `json:"imagepath"`
	ImageType        string          `json:"imagetype"`
	Command          string          `json:"command"`
	Config           string          `json:"config"`
	Annotations      string          `json:"annotations"`
	Args             []string        `json:"args"`
	Ports            []util.PortSpec `json:"ports"`
	ScaleWithCluster bool            `json:"scalewithcluster"`
	ImageHost        string          `json:"imagehost"`
}

func NewAppSpec

func NewAppSpec(app *edgeproto.App) (*AppSpec, error)

Jump to

Keyboard shortcuts

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