otaupdate

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StaticPod = "Node"
	DaemonPod = "DaemonSet"
)

Variables

This section is empty.

Functions

func GetPods

func GetPods(store cachemanager.StorageWrapper) http.Handler

GetPods return pod list

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

func UpdatePod

func UpdatePod(clientset kubernetes.Interface, nodeName string) http.Handler

UpdatePod update a specific pod(namespace/podname) to the latest version

Types

type OTAHandler

type OTAHandler func(kubernetes.Interface, string) http.Handler

type OTAUpgrader added in v1.3.0

type OTAUpgrader interface {
	Apply() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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