Documentation ¶
Index ¶
- type MissingControlPlaneUpgradeError
- type NodeVersionInfoUpdate
- func (nviu NodeVersionInfoUpdate) HasMajorOrMinorUpdate() bool
- func (nviu NodeVersionInfoUpdate) IsFirstControlPlaneNodeToBeUpgraded(client clientset.Interface) (bool, error)
- func (nviu NodeVersionInfoUpdate) IsUpdated() bool
- func (nviu NodeVersionInfoUpdate) NodeUpgradeableCheck(client clientset.Interface, currentClusterVersion *version.Version) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MissingControlPlaneUpgradeError ¶ added in v1.0.0
type MissingControlPlaneUpgradeError struct {
NodeName string
}
func (*MissingControlPlaneUpgradeError) Error ¶ added in v1.0.0
func (e *MissingControlPlaneUpgradeError) Error() string
type NodeVersionInfoUpdate ¶
type NodeVersionInfoUpdate struct { Current kubernetes.NodeVersionInfo Update kubernetes.NodeVersionInfo }
func UpdateStatus ¶
func UpdateStatus(client clientset.Interface, nodeName string) (NodeVersionInfoUpdate, error)
func (NodeVersionInfoUpdate) HasMajorOrMinorUpdate ¶ added in v0.9.4
func (nviu NodeVersionInfoUpdate) HasMajorOrMinorUpdate() bool
func (NodeVersionInfoUpdate) IsFirstControlPlaneNodeToBeUpgraded ¶
func (nviu NodeVersionInfoUpdate) IsFirstControlPlaneNodeToBeUpgraded(client clientset.Interface) (bool, error)
func (NodeVersionInfoUpdate) IsUpdated ¶
func (nviu NodeVersionInfoUpdate) IsUpdated() bool
func (NodeVersionInfoUpdate) NodeUpgradeableCheck ¶ added in v1.2.1
func (nviu NodeVersionInfoUpdate) NodeUpgradeableCheck(client clientset.Interface, currentClusterVersion *version.Version) error
NodeUpgradeableCheck returns whether a given node is upgradeable or not, taking global cluster restrictions into account. If all preconditions are met for the given node, no error will be returned.
Click to show internal directories.
Click to hide internal directories.