Documentation
¶
Index ¶
- Constants
- func GetPods(store cachemanager.StorageWrapper) http.Handler
- func HealthyCheck(healthChecker healthchecker.Interface, clientManager transport.Interface, ...) http.Handler
- func PullPodImage(clientset kubernetes.Interface, nodeName string) http.Handler
- func UpdatePod(clientset kubernetes.Interface, nodeName string) http.Handler
- type OTAHandler
- type OTAUpgrader
Constants ¶
View Source
const ( StaticPod = "Node" DaemonPod = "DaemonSet" )
Variables ¶
This section is empty.
Functions ¶
func HealthyCheck ¶
func HealthyCheck(healthChecker healthchecker.Interface, clientManager transport.Interface, nodeName string, handler OTAHandler) http.Handler
HealthyCheck checks if cloud-edge is disconnected before ota update handle, ota update is not allowed when disconnected
func PullPodImage ¶ added in v1.7.0
func PullPodImage(clientset kubernetes.Interface, nodeName string) http.Handler
PullPodImage handles image pre-pull requests for a specific pod
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.