Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultVersionServiceEndpoint ¶ added in v0.5.0
func GetDefaultVersionServiceEndpoint() string
Types ¶
type DepVersion ¶
type DepVersion struct { PSImage string `json:"psImage,omitempty"` PSVersion string `json:"psVersion,omitempty"` BackupImage string `json:"backupImage,omitempty"` BackupVersion string `json:"backupVersion,omitempty"` OrchestratorImage string `json:"orchestratorImage,omitempty"` OrchestratorVersion string `json:"orchestratorVersion,omitempty"` RouterImage string `json:"routerImage,omitempty"` RouterVersion string `json:"routerVersion,omitempty"` PMMImage string `json:"pmmImage,omitempty"` PMMVersion string `json:"pmmVersion,omitempty"` HAProxyImage string `json:"haproxyImage,omitempty"` HAProxyVersion string `json:"haproxyVersion,omitempty"` ToolkitImage string `json:"toolkitImage,omitempty"` ToolkitVersion string `json:"toolkitVersion,omitempty"` }
func GetVersion ¶
func GetVersion(ctx context.Context, cr *apiv1alpha1.PerconaServerMySQL, endpoint string, serverVersion *platform.ServerVersion) (DepVersion, error)
Click to show internal directories.
Click to hide internal directories.