Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + var TestChartDir = flag.String("testchartdir", "./test-kyma", "Test chart directory") + type DeprovisionConfig struct + BindingDeleteMaxReps int + BindingDeleteSleepTime int + InstanceDeleteMaxReps int + InstanceDeleteSleepTime int + func DefaultDeprovisionConfig() *DeprovisionConfig + type InstallationSteps struct + func New(helmClient kymahelm.ClientInterface, kubeClientset *kubernetes.Clientset, ...) *InstallationSteps + func (steps *InstallationSteps) DeprovisionAzureResources(config *DeprovisionConfig, installation installationConfig.InstallationContext) error + func (steps *InstallationSteps) InstallClusterEssentials(installationData *config.InstallationData) error + func (steps *InstallationSteps) InstallClusterPrerequisites(installationData *config.InstallationData) error + func (steps *InstallationSteps) InstallDex(installationData *config.InstallationData) error + func (steps *InstallationSteps) InstallEcDefaultRemoteEnvironments(installationData *config.InstallationData) error + func (steps *InstallationSteps) InstallHmcDefaultRemoteEnvironments(installationData *config.InstallationData) error + func (steps *InstallationSteps) InstallIstio(installationData *config.InstallationData) error + func (steps *InstallationSteps) InstallKyma(installationData *config.InstallationData) error + func (steps *InstallationSteps) InstallPrometheus(installationData *config.InstallationData) error + func (steps *InstallationSteps) PrintInstallationStep(stepName string) + func (steps *InstallationSteps) RemoveKymaSources(installationData *config.InstallationData) error + func (steps *InstallationSteps) UninstallKyma(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdateClusterEssentials(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdateClusterPrerequisites(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdateDex(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdateEcDefaultRemoteEnvironments(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdateHmcDefaultRemoteEnvironments(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdateIstio(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdateKyma(installationData *config.InstallationData) error + func (steps *InstallationSteps) UpdatePrometheus(installationData *config.InstallationData) error + func (steps InstallationSteps) DownloadKyma(installationData *config.InstallationData) error + func (steps InstallationSteps) InstallCore(installationData *config.InstallationData) error + func (steps InstallationSteps) ProvisionBundles(installationData *config.InstallationData) error + func (steps InstallationSteps) RemoveKymaComponents() + func (steps InstallationSteps) UpdateBundles(installationData *config.InstallationData) error + func (steps InstallationSteps) UpgradeCore(installationData *config.InstallationData) error + type KymaPackageClient struct + func (kymaPackageClient *KymaPackageClient) CreateDir(kymaPath string) error + func (kymaPackageClient *KymaPackageClient) NeedDownload(kymaPath string) bool + func (kymaPackageClient *KymaPackageClient) RemoveDir(kymaPath string) error + type KymaPackageInterface interface + CreateDir func(kymaPath string) error + NeedDownload func(kymaPath string) bool + RemoveDir func(kymaPath string) error + type MockCommandExecutor struct + TimesMockBashCommandExecutorCalled int + TimesMockCommandExecutorCalled int + func (kymaCommandExecutor *MockCommandExecutor) RunBashCommand(scriptPath string, execArgs ...string) error + func (kymaCommandExecutor *MockCommandExecutor) RunCommand(execPath string, execArgs ...string) error + type MockErrorHelmClient struct + InstallReleaseCalled bool + InstallReleaseWithoutWaitCalled bool + ReleaseStatusCalled bool + UpgradeReleaseCalled bool + func (mehc *MockErrorHelmClient) DeleteRelease(releaseName string) (*rls.UninstallReleaseResponse, error) + func (mehc *MockErrorHelmClient) InstallRelease(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error) + func (mehc *MockErrorHelmClient) InstallReleaseFromChart(chartdir, ns, releaseName, overrides string) (*rls.InstallReleaseResponse, error) + func (mehc *MockErrorHelmClient) InstallReleaseWithoutWait(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error) + func (mehc *MockErrorHelmClient) ListReleases() (*rls.ListReleasesResponse, error) + func (mehc *MockErrorHelmClient) PrintRelease(release *release.Release) + func (mehc *MockErrorHelmClient) ReleaseStatus(rname string) (string, error) + func (mehc *MockErrorHelmClient) UpgradeRelease(chartDir, releaseName, overrides string) (*rls.UpdateReleaseResponse, error) + type MockFailingCommandExecutor struct + MockFailingBashCommandExecutorCalled bool + MockFailingCommandExecutorCalled bool + func (kymaFailingCommandExecutor *MockFailingCommandExecutor) RunBashCommand(scriptPath string, execArgs ...string) error + func (kymaFailingCommandExecutor *MockFailingCommandExecutor) RunCommand(execPath string, execArgs ...string) error + type MockHelmClient struct + InstallReleaseCalled bool + InstallReleaseWithoutWaitCalled bool + UpgradeReleaseCalled bool + func (mhc *MockHelmClient) DeleteRelease(releaseName string) (*rls.UninstallReleaseResponse, error) + func (mhc *MockHelmClient) InstallRelease(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error) + func (mhc *MockHelmClient) InstallReleaseFromChart(chartdir, ns, releaseName, overrides string) (*rls.InstallReleaseResponse, error) + func (mhc *MockHelmClient) InstallReleaseWithoutWait(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error) + func (mhc *MockHelmClient) ListReleases() (*rls.ListReleasesResponse, error) + func (mhc *MockHelmClient) PrintRelease(release *release.Release) + func (mhc *MockHelmClient) ReleaseStatus(rname string) (string, error) + func (mhc *MockHelmClient) UpgradeRelease(chartDir, releaseName, overrides string) (*rls.UpdateReleaseResponse, error)