Documentation
¶
Index ¶
- func AddInstallCmd(install *cobra.Command, opts *util.GlobalOptions)
- func AddInstallCodesphereDepenciesCmd(codesphere *cobra.Command, opts *InstallCodesphereOpts)
- func AddInstallCodesphereInfraCmd(codesphere *cobra.Command, opts *InstallCodesphereOpts)
- func AddInstallCodespherePlatformCmd(codesphere *cobra.Command, opts *InstallCodesphereOpts)
- func AddSmoketestCmd(parent *cobra.Command, opts *util.GlobalOptions)
- type InstallCodesphereCmd
- type InstallCodesphereDepenciesCmd
- type InstallCodesphereInfraCmd
- type InstallCodesphereOpts
- type InstallCodespherePlatformCmd
- type SmoketestCodesphereCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInstallCmd ¶
func AddInstallCmd(install *cobra.Command, opts *util.GlobalOptions)
func AddInstallCodesphereDepenciesCmd ¶
func AddInstallCodesphereDepenciesCmd(codesphere *cobra.Command, opts *InstallCodesphereOpts)
func AddInstallCodesphereInfraCmd ¶
func AddInstallCodesphereInfraCmd(codesphere *cobra.Command, opts *InstallCodesphereOpts)
func AddInstallCodespherePlatformCmd ¶
func AddInstallCodespherePlatformCmd(codesphere *cobra.Command, opts *InstallCodesphereOpts)
func AddSmoketestCmd ¶
func AddSmoketestCmd(parent *cobra.Command, opts *util.GlobalOptions)
Types ¶
type InstallCodesphereCmd ¶
type InstallCodesphereCmd struct {
Opts *InstallCodesphereOpts
Env env.Env
// contains filtered or unexported fields
}
InstallCodesphereCmd represents the codesphere command
type InstallCodesphereDepenciesCmd ¶
type InstallCodesphereDepenciesCmd struct {
Opts *InstallCodesphereOpts
Env env.Env
// contains filtered or unexported fields
}
InstallCodesphereDepenciesCmd runs the cluster dependency steps (Phase 2).
type InstallCodesphereInfraCmd ¶
type InstallCodesphereInfraCmd struct {
Opts *InstallCodesphereOpts
Env env.Env
// contains filtered or unexported fields
}
InstallCodesphereInfraCmd runs only the infrastructure steps (Phase 1).
type InstallCodesphereOpts ¶
type InstallCodesphereOpts struct {
*util.GlobalOptions
Package string
Force bool
Configs []string
ConfigPath string
Vault string
PrivKey string
SkipSteps []string
CodesphereOnly bool
DirectConnection bool
AutoApprove bool
// ArgoCD deployment (pre-step in Phase 2)
ArgoCDVersion string
ArgoCDRegistryURL string
ArgoCDForceConflicts bool
ArgoCDRepoURL string
ArgoCDValues []string
PCAppsValues []string
}
type InstallCodespherePlatformCmd ¶
type InstallCodespherePlatformCmd struct {
Opts *InstallCodesphereOpts
Env env.Env
// contains filtered or unexported fields
}
InstallCodespherePlatformCmd runs only the Codesphere platform step (Phase 3).
type SmoketestCodesphereCmd ¶
type SmoketestCodesphereCmd struct {
// TODO (Simon)for now I kept the opts in the teststeps package,
// but if we add more tests we should move unified opts here and probably use seperate
// structs for the different test types (base smoke test, ui test etc.)
Opts *teststeps.SmoketestCodesphereOpts
// contains filtered or unexported fields
}
func (*SmoketestCodesphereCmd) RunE ¶
func (c *SmoketestCodesphereCmd) RunE(_ *cobra.Command, args []string) error
func (*SmoketestCodesphereCmd) RunSmoketest ¶
func (c *SmoketestCodesphereCmd) RunSmoketest() (err error)
Click to show internal directories.
Click to hide internal directories.