Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGetVersion ¶
func DefaultGetVersion(obj interface{}) (string, error)
func GetSystemImageVersion ¶
func GetSystemImageVersion() (string, error)
func RegisterSystemService ¶
func RegisterSystemService(name string, systemService SystemService)
Types ¶
type SystemService ¶
type SystemService interface {
Init(ctx context.Context, cluster *config.UserContext)
Upgrade(currentVersion string) (newVersion string, err error)
Version() (string, error)
}
Click to show internal directories.
Click to hide internal directories.