Documentation ¶
Index ¶
Constants ¶
View Source
const ( StaticPod = "Node" DaemonPod = "DaemonSet" )
Variables ¶
This section is empty.
Functions ¶
func HealthyCheck ¶
func HealthyCheck(rest *rest.RestConfigManager, nodeName string, handler OTAHandler) http.Handler
HealthyCheck checks if cloud-edge is disconnected before ota update handle, ota update is not allowed when disconnected
Types ¶
type OTAHandler ¶
type OTAHandler func(kubernetes.Interface, string) http.Handler
type OTAUpgrader ¶ added in v1.3.0
type OTAUpgrader interface {
Apply() error
}
Click to show internal directories.
Click to hide internal directories.