os

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

View Source
const (
	Release = "release"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddLocalRepository

type AddLocalRepository struct {
	common.KubeAction
}

func (*AddLocalRepository) Execute

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

type BackupOriginalRepository

type BackupOriginalRepository struct {
	common.KubeAction
}

func (*BackupOriginalRepository) Execute

func (b *BackupOriginalRepository) Execute(runtime connector.Runtime) error

type ClearNodeOSModule

type ClearNodeOSModule struct {
	common.KubeModule
}

func (*ClearNodeOSModule) Init

func (c *ClearNodeOSModule) Init()

type ClearOSEnvironmentModule

type ClearOSEnvironmentModule struct {
	common.KubeModule
}

func (*ClearOSEnvironmentModule) Init

func (c *ClearOSEnvironmentModule) Init()

type ConfigureOSModule

type ConfigureOSModule struct {
	common.KubeModule
	Skip bool
}

func (*ConfigureOSModule) Init

func (c *ConfigureOSModule) Init()

func (*ConfigureOSModule) IsSkip added in v3.0.7

func (c *ConfigureOSModule) IsSkip() bool

type DaemonReload

type DaemonReload struct {
	common.KubeAction
}

func (*DaemonReload) Execute

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

type DeleteNode

type DeleteNode struct {
	common.KubePrepare
}

func (*DeleteNode) PreCheck

func (d *DeleteNode) PreCheck(runtime connector.Runtime) (bool, error)

type EtcdTypeIsKubeKey

type EtcdTypeIsKubeKey struct {
	common.KubePrepare
}

func (*EtcdTypeIsKubeKey) PreCheck

func (e *EtcdTypeIsKubeKey) PreCheck(_ connector.Runtime) (bool, error)

type GetOSData

type GetOSData struct {
	common.KubeAction
}

func (*GetOSData) Execute

func (g *GetOSData) Execute(runtime connector.Runtime) error

type InstallPackage

type InstallPackage struct {
	common.KubeAction
}

func (*InstallPackage) Execute

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

type MountISO

type MountISO struct {
	common.KubeAction
}

func (*MountISO) Execute

func (m *MountISO) Execute(runtime connector.Runtime) error

type NewRepoClient

type NewRepoClient struct {
	common.KubeAction
}

func (*NewRepoClient) Execute

func (n *NewRepoClient) Execute(runtime connector.Runtime) error

type NodeConfigureNtpCheck

type NodeConfigureNtpCheck struct {
	common.KubePrepare
}

func (*NodeConfigureNtpCheck) PreCheck

func (n *NodeConfigureNtpCheck) PreCheck(_ connector.Runtime) (bool, error)

type NodeConfigureNtpServer

type NodeConfigureNtpServer struct {
	common.KubeAction
}

func (*NodeConfigureNtpServer) Execute

func (n *NodeConfigureNtpServer) Execute(runtime connector.Runtime) error

type NodeConfigureOS

type NodeConfigureOS struct {
	common.KubeAction
}

func (*NodeConfigureOS) Execute

func (n *NodeConfigureOS) Execute(runtime connector.Runtime) error

type NodeExecScript

type NodeExecScript struct {
	common.KubeAction
}

func (*NodeExecScript) Execute

func (n *NodeExecScript) Execute(runtime connector.Runtime) error

type RecoverBackupSuccessNode

type RecoverBackupSuccessNode struct {
	common.KubeRollback
}

func (*RecoverBackupSuccessNode) Execute

func (r *RecoverBackupSuccessNode) Execute(runtime connector.Runtime, result *ending.ActionResult) error

type RecoverRepository

type RecoverRepository struct {
	common.KubeRollback
}

func (*RecoverRepository) Execute

func (r *RecoverRepository) Execute(runtime connector.Runtime, result *ending.ActionResult) error

type RemoveFiles

type RemoveFiles struct {
	common.KubeAction
}

func (*RemoveFiles) Execute

func (r *RemoveFiles) Execute(runtime connector.Runtime) error

type RemoveNodeFiles

type RemoveNodeFiles struct {
	common.KubeAction
}

func (*RemoveNodeFiles) Execute

func (r *RemoveNodeFiles) Execute(runtime connector.Runtime) error

type RepositoryModule

type RepositoryModule struct {
	common.KubeModule
	Skip bool
}

func (*RepositoryModule) Init

func (r *RepositoryModule) Init()

func (*RepositoryModule) IsSkip

func (r *RepositoryModule) IsSkip() bool

type RepositoryOnlineModule

type RepositoryOnlineModule struct {
	common.KubeModule
	Skip bool
}

func (*RepositoryOnlineModule) Init

func (r *RepositoryOnlineModule) Init()

func (*RepositoryOnlineModule) IsSkip

func (r *RepositoryOnlineModule) IsSkip() bool

type ResetNetworkConfig

type ResetNetworkConfig struct {
	common.KubeAction
}

func (*ResetNetworkConfig) Execute

func (r *ResetNetworkConfig) Execute(runtime connector.Runtime) error

type ResetRepository

type ResetRepository struct {
	common.KubeAction
}

func (*ResetRepository) Execute

func (r *ResetRepository) Execute(runtime connector.Runtime) error

type RollbackUmount

type RollbackUmount struct {
	common.KubeRollback
}

func (*RollbackUmount) Execute

func (r *RollbackUmount) Execute(runtime connector.Runtime, result *ending.ActionResult) error

type StopKubelet added in v3.0.8

type StopKubelet struct {
	common.KubeAction
}

func (*StopKubelet) Execute added in v3.0.8

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

type SyncRepositoryFile

type SyncRepositoryFile struct {
	common.KubeAction
}

func (*SyncRepositoryFile) Execute

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

type UmountISO

type UmountISO struct {
	common.KubeAction
}

func (*UmountISO) Execute

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

type UninstallETCD

type UninstallETCD struct {
	common.KubeAction
}

func (*UninstallETCD) Execute

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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