Documentation ¶
Index ¶
- Constants
- type InstallType
- type UpgradeRequester
- func (r *UpgradeRequester) GetCurrentVersion() string
- func (r *UpgradeRequester) GetExtraInfo() map[string]string
- func (r *UpgradeRequester) ProcessUpgradeResponse(response *upgraderesponder.CheckUpgradeResponse, err error)
- func (r *UpgradeRequester) SetupLogger(logger logr.Logger)
- func (r *UpgradeRequester) SetupLoggerWithManager(mgr ctrl.Manager)
Constants ¶
View Source
const (
VersionTagLatest = "latest"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallType ¶ added in v0.5.4
type InstallType string
const ( InstallTypeManager InstallType = "manager" InstallTypeAgent InstallType = "agent" )
type UpgradeRequester ¶
type UpgradeRequester struct { InstallType Version string // contains filtered or unexported fields }
func (*UpgradeRequester) GetCurrentVersion ¶
func (r *UpgradeRequester) GetCurrentVersion() string
func (*UpgradeRequester) GetExtraInfo ¶
func (r *UpgradeRequester) GetExtraInfo() map[string]string
func (*UpgradeRequester) ProcessUpgradeResponse ¶
func (r *UpgradeRequester) ProcessUpgradeResponse(response *upgraderesponder.CheckUpgradeResponse, err error)
func (*UpgradeRequester) SetupLogger ¶ added in v0.5.4
func (r *UpgradeRequester) SetupLogger(logger logr.Logger)
func (*UpgradeRequester) SetupLoggerWithManager ¶
func (r *UpgradeRequester) SetupLoggerWithManager(mgr ctrl.Manager)
Click to show internal directories.
Click to hide internal directories.