codesphere

package
v1.266.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

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

func (*InstallCodesphereCmd) RunE

func (c *InstallCodesphereCmd) RunE(cmd *cobra.Command, _ []string) error

type InstallCodesphereDepenciesCmd

type InstallCodesphereDepenciesCmd struct {
	Opts *InstallCodesphereOpts
	Env  env.Env
	// contains filtered or unexported fields
}

InstallCodesphereDepenciesCmd runs the cluster dependency steps (Phase 2).

func (*InstallCodesphereDepenciesCmd) RunE

type InstallCodesphereInfraCmd

type InstallCodesphereInfraCmd struct {
	Opts *InstallCodesphereOpts
	Env  env.Env
	// contains filtered or unexported fields
}

InstallCodesphereInfraCmd runs only the infrastructure steps (Phase 1).

func (*InstallCodesphereInfraCmd) RunE

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).

func (*InstallCodespherePlatformCmd) RunE

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL