1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(edge/update): remote update structure [EE-4040] (#7553)

This commit is contained in:
Chaim Lev-Ari 2022-09-13 16:56:38 +03:00 committed by GitHub
parent dd1662c8b8
commit 6c4c958bf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 1952 additions and 96 deletions

View file

@ -254,7 +254,8 @@ type (
EdgeJobLogsStatus int
// EdgeSchedule represents a scheduled job that can run on Edge environments(endpoints).
// Deprecated in favor of EdgeJob
//
// Deprecated: in favor of EdgeJob
EdgeSchedule struct {
// EdgeSchedule Identifier
ID ScheduleID `json:"Id" example:"1"`
@ -1449,8 +1450,12 @@ const (
WebSocketKeepAlive = 1 * time.Hour
)
const FeatureFlagEdgeRemoteUpdate Feature = "edgeRemoteUpdate"
// List of supported features
var SupportedFeatureFlags = []Feature{}
var SupportedFeatureFlags = []Feature{
FeatureFlagEdgeRemoteUpdate,
}
const (
_ AuthenticationMethod = iota