terminus

package
v0.0.0-...-ef46f91 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: AGPL-3.0 Imports: 59 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuiltInApps = []string{"portfolio", "vault", "desktop", "message", "wise", "search", "appstore", "notification", "dashboard", "settings", "profile", "agent", "files", "studio"}

Functions

func GenerateTerminusComponentsModules

func GenerateTerminusComponentsModules(runtime connector.Runtime, manifestMap manifest.InstallationManifest) []module.Module

Types

type AddNodePrecheck

type AddNodePrecheck struct {
	common.KubeAction
}

func (*AddNodePrecheck) Execute

func (a *AddNodePrecheck) Execute(runtime connector.Runtime) error

type ApplySystemEnv

type ApplySystemEnv struct {
	common.KubeAction
}

func (*ApplySystemEnv) Execute

func (a *ApplySystemEnv) Execute(runtime connector.Runtime) error

type ChangeHostIPModule

type ChangeHostIPModule struct {
	common.KubeModule
}

func (*ChangeHostIPModule) Init

func (m *ChangeHostIPModule) Init()

type ChangeIPModule

type ChangeIPModule struct {
	common.KubeModule
}

func (*ChangeIPModule) Init

func (m *ChangeIPModule) Init()

type CheckInstalled

type CheckInstalled struct {
	common.KubeAction
	Force bool
}

func (*CheckInstalled) Execute

func (t *CheckInstalled) Execute(runtime connector.Runtime) error

type CheckInstalledModule

type CheckInstalledModule struct {
	common.KubeModule
	Force bool
}

func (*CheckInstalledModule) Init

func (m *CheckInstalledModule) Init()

type CheckKeyPodsRunning

type CheckKeyPodsRunning struct {
	common.KubeAction
	Node string
}

func (*CheckKeyPodsRunning) Execute

func (t *CheckKeyPodsRunning) Execute(runtime connector.Runtime) error

type CheckPodsRunning

type CheckPodsRunning struct {
	common.KubeAction
	// contains filtered or unexported fields
}

func (*CheckPodsRunning) Execute

func (c *CheckPodsRunning) Execute(_ connector.Runtime) error

type CheckPrepared

type CheckPrepared struct {
	common.KubeAction
	Force bool
}

func (*CheckPrepared) Execute

func (t *CheckPrepared) Execute(runtime connector.Runtime) error

type CheckPreparedModule

type CheckPreparedModule struct {
	common.KubeModule
	Force bool
}

func (*CheckPreparedModule) Init

func (m *CheckPreparedModule) Init()

type CheckTerminusStateInHost

type CheckTerminusStateInHost struct {
	common.KubeAction
}

func (*CheckTerminusStateInHost) Execute

func (a *CheckTerminusStateInHost) Execute(runtime connector.Runtime) error

type ClearAppValues

type ClearAppValues struct {
	common.KubeAction
}

func (*ClearAppValues) Execute

func (c *ClearAppValues) Execute(runtime connector.Runtime) error

type ClearBFLValues

type ClearBFLValues struct {
	common.KubeAction
}

func (*ClearBFLValues) Execute

func (c *ClearBFLValues) Execute(runtime connector.Runtime) error

type CopyAppServiceHelmFiles

type CopyAppServiceHelmFiles struct {
	common.KubeAction
}

func (*CopyAppServiceHelmFiles) Execute

func (c *CopyAppServiceHelmFiles) Execute(runtime connector.Runtime) error

type CreateBackupConfigMap

type CreateBackupConfigMap struct {
	common.KubeAction
}

func (*CreateBackupConfigMap) Execute

func (t *CreateBackupConfigMap) Execute(runtime connector.Runtime) error

type CreateBackupLocation

type CreateBackupLocation struct {
	common.KubeAction
}

func (*CreateBackupLocation) Execute

func (c *CreateBackupLocation) Execute(runtime connector.Runtime) error

backup-location

type CreateUserEnvConfigMap

type CreateUserEnvConfigMap struct {
	common.KubeAction
}

func (*CreateUserEnvConfigMap) Execute

func (t *CreateUserEnvConfigMap) Execute(runtime connector.Runtime) error

type DeleteAllPods

type DeleteAllPods struct {
	common.KubeAction
	Node string
}

func (*DeleteAllPods) Execute

func (a *DeleteAllPods) Execute(runtime connector.Runtime) error

type DeletePodsUsingHostIP

type DeletePodsUsingHostIP struct {
	common.KubeAction
}

func (*DeletePodsUsingHostIP) Execute

func (a *DeletePodsUsingHostIP) Execute(runtime connector.Runtime) error

type DeleteUpgradeFiles

type DeleteUpgradeFiles struct {
	common.KubeAction
}

func (*DeleteUpgradeFiles) Execute

func (d *DeleteUpgradeFiles) Execute(runtime connector.Runtime) error

type DeleteUpgradeFilesModule

type DeleteUpgradeFilesModule struct {
	common.KubeModule
}

func (*DeleteUpgradeFilesModule) Init

func (d *DeleteUpgradeFilesModule) Init()

type DeleteWizardFiles

type DeleteWizardFiles struct {
	common.KubeAction
}

func (*DeleteWizardFiles) Execute

func (d *DeleteWizardFiles) Execute(runtime connector.Runtime) error

type DeleteWizardFilesModule

type DeleteWizardFilesModule struct {
	common.KubeModule
}

func (*DeleteWizardFilesModule) Init

func (d *DeleteWizardFilesModule) Init()

type DetectPublicIPAddress

type DetectPublicIPAddress struct {
	common.KubeAction
}

func (*DetectPublicIPAddress) Execute

func (p *DetectPublicIPAddress) Execute(runtime connector.Runtime) error

type Download

type Download struct {
	common.KubeAction
	Version     string
	BaseDir     string
	CDNService  string
	UrlOverride string
	ReleaseID   string
}

func (*Download) Execute

func (t *Download) Execute(runtime connector.Runtime) error

type GetMasterInfo

type GetMasterInfo struct {
	common.KubeAction
	Print bool
}

func (*GetMasterInfo) Execute

func (t *GetMasterInfo) Execute(runtime connector.Runtime) (err error)

type GetMasterInfoModule

type GetMasterInfoModule struct {
	common.KubeModule
	Print bool
}

func (*GetMasterInfoModule) Init

func (m *GetMasterInfoModule) Init()

type GetNATGatewayIP

type GetNATGatewayIP struct {
	common.KubeAction
}

func (*GetNATGatewayIP) Execute

func (s *GetNATGatewayIP) Execute(runtime connector.Runtime) error

type GetNATGatewayIPModule

type GetNATGatewayIPModule struct {
	common.KubeModule
}

func (*GetNATGatewayIPModule) Init

func (m *GetNATGatewayIPModule) Init()

type GetOlaresVersion

type GetOlaresVersion struct {
}

func (*GetOlaresVersion) Execute

func (t *GetOlaresVersion) Execute() (string, error)

type GetUserInfo

type GetUserInfo struct {
	common.KubeAction
}

func (*GetUserInfo) Execute

func (s *GetUserInfo) Execute(runtime connector.Runtime) error

type InstallAccount

type InstallAccount struct {
	common.KubeAction
}

func (*InstallAccount) Execute

func (t *InstallAccount) Execute(runtime connector.Runtime) error

type InstallAccountModule

type InstallAccountModule struct {
	common.KubeModule
}

func (*InstallAccountModule) Init

func (m *InstallAccountModule) Init()

type InstallApps

type InstallApps struct {
	common.KubeAction
}

func (*InstallApps) Execute

func (i *InstallApps) Execute(runtime connector.Runtime) error

type InstallAppsModule

type InstallAppsModule struct {
	common.KubeModule
}

func (*InstallAppsModule) Init

func (i *InstallAppsModule) Init()

type InstallBFL

type InstallBFL struct {
	common.KubeAction
}

func (*InstallBFL) Execute

func (t *InstallBFL) Execute(runtime connector.Runtime) error

type InstallFinished

type InstallFinished struct {
	common.KubeAction
}

func (*InstallFinished) Execute

func (t *InstallFinished) Execute(runtime connector.Runtime) error

type InstallLauncherModule

type InstallLauncherModule struct {
	common.KubeModule
}

func (*InstallLauncherModule) Init

func (m *InstallLauncherModule) Init()

type InstallOsSystem

type InstallOsSystem struct {
	common.KubeAction
}

func (*InstallOsSystem) Execute

func (t *InstallOsSystem) Execute(runtime connector.Runtime) error

type InstallOsSystemModule

type InstallOsSystemModule struct {
	common.KubeModule
}

func (*InstallOsSystemModule) Init

func (m *InstallOsSystemModule) Init()

type InstallSettings

type InstallSettings struct {
	common.KubeAction
}

func (*InstallSettings) Execute

func (t *InstallSettings) Execute(runtime connector.Runtime) error

type InstallSettingsModule

type InstallSettingsModule struct {
	common.KubeModule
}

func (*InstallSettingsModule) Init

func (m *InstallSettingsModule) Init()

type InstallVeleroBinary

type InstallVeleroBinary struct {
	common.KubeAction
	manifest.ManifestAction
}

func (*InstallVeleroBinary) Execute

func (t *InstallVeleroBinary) Execute(runtime connector.Runtime) error

type InstallVeleroCRDs

type InstallVeleroCRDs struct {
	common.KubeAction
}

func (*InstallVeleroCRDs) Execute

func (i *InstallVeleroCRDs) Execute(runtime connector.Runtime) error

type InstallVeleroModule

type InstallVeleroModule struct {
	common.KubeModule
	manifest.ManifestModule
}

func (*InstallVeleroModule) Init

func (m *InstallVeleroModule) Init()

type InstallVeleroPlugin

type InstallVeleroPlugin struct {
	common.KubeAction
}

func (*InstallVeleroPlugin) Execute

func (i *InstallVeleroPlugin) Execute(runtime connector.Runtime) error

type InstallWizardDownloadModule

type InstallWizardDownloadModule struct {
	common.KubeModule
	Version     string
	CDNService  string
	UrlOverride string
	ReleaseID   string
}

func (*InstallWizardDownloadModule) Init

func (m *InstallWizardDownloadModule) Init()

type InstalledModule

type InstalledModule struct {
	common.KubeModule
}

func (*InstalledModule) Init

func (m *InstalledModule) Init()

type MasterInfo

type MasterInfo struct {
	JuiceFSEnabled      bool
	KubernetesInstalled bool
	OlaresInstalled     bool
	KubernetesType      string
	OlaresVersion       string
	MasterNodeName      string
	AllNodes            []string
}

type Patch

type Patch struct {
	common.KubeAction
}

func (*Patch) Execute

func (p *Patch) Execute(runtime connector.Runtime) error

type PatchVelero

type PatchVelero struct {
	common.KubeAction
}

func (*PatchVelero) Execute

func (v *PatchVelero) Execute(runtime connector.Runtime) error

type PrepareAppValues

type PrepareAppValues struct {
	common.KubeAction
}

func (*PrepareAppValues) Execute

func (u *PrepareAppValues) Execute(runtime connector.Runtime) error

type PrepareFilesForETCDIPChange

type PrepareFilesForETCDIPChange struct {
	common.KubeAction
}

PrepareFilesForETCDIPChange simply copies the current CA cert and key to the work directory of Installer, so that after the regeneration is done, all other certs and keys is replaced with a new one but issued by the same CA

func (*PrepareFilesForETCDIPChange) Execute

func (a *PrepareFilesForETCDIPChange) Execute(runtime connector.Runtime) error

type PrepareFilesForK8sIPChange

type PrepareFilesForK8sIPChange struct {
	common.KubeAction
}

func (*PrepareFilesForK8sIPChange) Execute

func (a *PrepareFilesForK8sIPChange) Execute(runtime connector.Runtime) error

type PrepareFinished

type PrepareFinished struct {
	common.KubeAction
}

func (*PrepareFinished) Execute

func (t *PrepareFinished) Execute(runtime connector.Runtime) error

type PreparedModule

type PreparedModule struct {
	common.KubeModule
}

func (*PreparedModule) Init

func (m *PreparedModule) Init()

type RegenerateFilesForK8s

type RegenerateFilesForK8s struct {
	common.KubeAction
}

func (*RegenerateFilesForK8s) Execute

func (a *RegenerateFilesForK8s) Execute(runtime connector.Runtime) error

type RemoveReleaseFile

type RemoveReleaseFile struct {
	common.KubeAction
}

func (*RemoveReleaseFile) Execute

func (t *RemoveReleaseFile) Execute(runtime connector.Runtime) error

type RemoveReleaseFileModule

type RemoveReleaseFileModule struct {
	common.KubeModule
}

func (*RemoveReleaseFileModule) Init

func (m *RemoveReleaseFileModule) Init()

type SaveMasterHostConfig

type SaveMasterHostConfig struct {
	common.KubeAction
}

func (*SaveMasterHostConfig) Execute

func (a *SaveMasterHostConfig) Execute(runtime connector.Runtime) error

type SaveMasterHostConfigModule

type SaveMasterHostConfigModule struct {
	common.KubeModule
}

func (*SaveMasterHostConfigModule) Init

func (m *SaveMasterHostConfigModule) Init()

type SetAccountValues

type SetAccountValues struct {
	common.KubeAction
}

func (*SetAccountValues) Execute

func (p *SetAccountValues) Execute(runtime connector.Runtime) error

type SetSettingsValues

type SetSettingsValues struct {
	common.KubeAction
}

func (*SetSettingsValues) Execute

func (p *SetSettingsValues) Execute(runtime connector.Runtime) error

type StartOlaresModule

type StartOlaresModule struct {
	common.KubeModule
}

func (*StartOlaresModule) Init

func (m *StartOlaresModule) Init()

type StopOlaresModule

type StopOlaresModule struct {
	common.KubeModule
	Timeout       time.Duration
	CheckInterval time.Duration
}

func (*StopOlaresModule) Init

func (m *StopOlaresModule) Init()

type SystemEnvConfig

type SystemEnvConfig struct {
	APIVersion string                `yaml:"apiVersion"`
	SystemEnvs []v1alpha1.EnvVarSpec `yaml:"systemEnvs"`
}

SystemEnvConfig represents the structure of the config.yaml file

type SystemctlCommand

type SystemctlCommand struct {
	common.KubeAction
	UnitNames           []string
	Command             string
	DaemonReloadPreExec bool
}

func (*SystemctlCommand) Execute

func (a *SystemctlCommand) Execute(runtime connector.Runtime) error

type UpdateKubeKeyHosts

type UpdateKubeKeyHosts struct {
	common.KubeAction
}

func (*UpdateKubeKeyHosts) Execute

func (a *UpdateKubeKeyHosts) Execute(runtime connector.Runtime) error

type UpdateNATGatewayForUser

type UpdateNATGatewayForUser struct {
	common.KubeAction
}

func (*UpdateNATGatewayForUser) Execute

func (a *UpdateNATGatewayForUser) Execute(runtime connector.Runtime) error

type UserEnvConfig

type UserEnvConfig struct {
	APIVersion string                `yaml:"apiVersion"`
	UserEnvs   []v1alpha1.EnvVarSpec `yaml:"userEnvs"`
}

type WaitForPodsUsingHostIPRecreate

type WaitForPodsUsingHostIPRecreate struct {
	common.KubeAction
}

func (*WaitForPodsUsingHostIPRecreate) Execute

type WelcomeMessage

type WelcomeMessage struct {
	common.KubeAction
}

func (*WelcomeMessage) Execute

func (t *WelcomeMessage) Execute(runtime connector.Runtime) error

type WelcomeModule

type WelcomeModule struct {
	common.KubeModule
}

func (*WelcomeModule) Init

func (m *WelcomeModule) Init()

type WriteReleaseFile

type WriteReleaseFile struct {
	common.KubeAction
	WithoutName bool
}

func (*WriteReleaseFile) Execute

func (t *WriteReleaseFile) Execute(runtime connector.Runtime) error

type WriteReleaseFileModule

type WriteReleaseFileModule struct {
	common.KubeModule
	WithoutName bool
}

func (*WriteReleaseFileModule) Init

func (m *WriteReleaseFileModule) Init()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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