mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 12:25:22 +02:00
feat(edgestacks): support kubernetes edge stacks (#5276) [EE-393]
This commit is contained in:
parent
79ca51c92e
commit
5c8450c4c0
56 changed files with 1466 additions and 521 deletions
|
@ -194,17 +194,23 @@ type (
|
|||
//EdgeStack represents an edge stack
|
||||
EdgeStack struct {
|
||||
// EdgeStack Identifier
|
||||
ID EdgeStackID `json:"Id" example:"1"`
|
||||
Name string `json:"Name"`
|
||||
Status map[EndpointID]EdgeStackStatus `json:"Status"`
|
||||
CreationDate int64 `json:"CreationDate"`
|
||||
EdgeGroups []EdgeGroupID `json:"EdgeGroups"`
|
||||
ProjectPath string `json:"ProjectPath"`
|
||||
EntryPoint string `json:"EntryPoint"`
|
||||
Version int `json:"Version"`
|
||||
Prune bool `json:"Prune"`
|
||||
ID EdgeStackID `json:"Id" example:"1"`
|
||||
Name string `json:"Name"`
|
||||
Status map[EndpointID]EdgeStackStatus `json:"Status"`
|
||||
CreationDate int64 `json:"CreationDate"`
|
||||
EdgeGroups []EdgeGroupID `json:"EdgeGroups"`
|
||||
ProjectPath string `json:"ProjectPath"`
|
||||
EntryPoint string `json:"EntryPoint"`
|
||||
Version int `json:"Version"`
|
||||
ManifestPath string
|
||||
DeploymentType EdgeStackDeploymentType
|
||||
|
||||
// Deprecated
|
||||
Prune bool `json:"Prune"`
|
||||
}
|
||||
|
||||
EdgeStackDeploymentType int
|
||||
|
||||
//EdgeStackID represents an edge stack id
|
||||
EdgeStackID int
|
||||
|
||||
|
@ -1502,6 +1508,13 @@ const (
|
|||
CustomTemplatePlatformWindows
|
||||
)
|
||||
|
||||
const (
|
||||
// EdgeStackDeploymentCompose represent an edge stack deployed using a compose file
|
||||
EdgeStackDeploymentCompose EdgeStackDeploymentType = iota
|
||||
// EdgeStackDeploymentKubernetes represent an edge stack deployed using a kubernetes manifest file
|
||||
EdgeStackDeploymentKubernetes
|
||||
)
|
||||
|
||||
const (
|
||||
_ EdgeStackStatusType = iota
|
||||
//StatusOk represents a successfully deployed edge stack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue