Documentation
¶
Index ¶
Constants ¶
View Source
const ( NodeUpgradeJobStatusKey = "nodeupgradejob.operations.kubeedge.io/status" NodeUpgradeJobStatusValue = "" NodeUpgradeHistoryKey = "nodeupgradejob.operations.kubeedge.io/history" )
View Source
const (
NodeUpgrade = "upgrade"
)
Variables ¶
This section is empty.
Functions ¶
func GetImageRepo ¶
GetImageRepo gets repo from a container image
func RemoveDuplicateElement ¶
RemoveDuplicateElement deduplicate
func UpdateNodeUpgradeJobStatus ¶
func UpdateNodeUpgradeJobStatus(old *v1alpha1.NodeUpgradeJob, status *v1alpha1.UpgradeStatus) *v1alpha1.NodeUpgradeJob
UpdateNodeUpgradeJobStatus updates the status return the updated result
Types ¶
type DownstreamController ¶
type DownstreamController struct {
// contains filtered or unexported fields
}
func NewDownstreamController ¶
func NewDownstreamController(crdInformerFactory crdinformers.SharedInformerFactory) (*DownstreamController, error)
func (*DownstreamController) Start ¶
func (dc *DownstreamController) Start() error
Start DownstreamController
type UpstreamController ¶
type UpstreamController struct {
// contains filtered or unexported fields
}
UpstreamController subscribe messages from edge and sync to k8s api server
func NewUpstreamController ¶
func NewUpstreamController(dc *DownstreamController) (*UpstreamController, error)
NewUpstreamController create UpstreamController from config
func (*UpstreamController) Start ¶
func (uc *UpstreamController) Start() error
Start UpstreamController
Click to show internal directories.
Click to hide internal directories.