vps

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//go:embed parameter-samples/reinstall.json
	VpsReinstallExample string

	VpsSpec struct {
		DisplayName   string `json:"displayName,omitempty"`
		Keymap        string `json:"keymap,omitempty"`
		NetbootMode   string `json:"netbootMode,omitempty"`
		SlaMonitoring bool   `json:"slaMonitoring,omitempty"`
	}

	VpsSnapshotSpec struct {
		Description string `json:"description,omitempty"`
	}

	VpsSnapshotRestoreSpec struct {
		ChangePassword bool   `json:"changePassword"`
		RestorePoint   string `json:"restorePoint,omitempty"`
		Type           string `json:"type,omitempty"`
	}

	VpsBackupRestorePointsState string

	VpsContacts struct {
		ContactAdmin   string `json:"contactAdmin,omitempty"`
		ContactBilling string `json:"contactBilling,omitempty"`
		ContactTech    string `json:"contactTech,omitempty"`
	}

	VpsDiskSpec struct {
		LowFreeSpaceThreshold int  `json:"lowFreeSpaceThreshold,omitempty"`
		Monitoring            bool `json:"monitoring,omitempty"`
	}

	VpsReinstallSpec struct {
		DoNotSendPassword bool   `json:"doNotSendPassword,omitempty"`
		ImageId           string `json:"imageId,omitempty"`
		InstallRTM        bool   `json:"installRTM,omitempty"`
		PublicSshKey      string `json:"publicSshKey,omitempty"`
		SshKey            string `json:"sshKey,omitempty"`
	}

	VpsImageViaInteractiveSelector  bool
	VpsSSHKeyViaInteractiveSelector bool

	VpsSecondaryDNSDomainSpec struct {
		// Creation parameters
		Domain string `json:"domain,omitempty"`
		IP     string `json:"ip,omitempty"`
	}
)

Functions

func AbortVpsSnapshot

func AbortVpsSnapshot(_ *cobra.Command, args []string)

func AddVpsSecondaryDNSDomain

func AddVpsSecondaryDNSDomain(cmd *cobra.Command, args []string)

func ChangeVpsContacts

func ChangeVpsContacts(_ *cobra.Command, args []string)

func ChangeVpsPassword

func ChangeVpsPassword(_ *cobra.Command, args []string)

func ConfirmVpsTermination

func ConfirmVpsTermination(_ *cobra.Command, args []string)

func CreateVpsSnapshot

func CreateVpsSnapshot(_ *cobra.Command, args []string)

func DeleteVpsSecondaryDNSDomain

func DeleteVpsSecondaryDNSDomain(_ *cobra.Command, args []string)

func DeleteVpsSnapshot

func DeleteVpsSnapshot(_ *cobra.Command, args []string)

func DetachVpsAutomatedBackup

func DetachVpsAutomatedBackup(_ *cobra.Command, args []string)

func DownloadVpsSnapshot

func DownloadVpsSnapshot(_ *cobra.Command, args []string)

func EditVps

func EditVps(cmd *cobra.Command, args []string)

func EditVpsDisk

func EditVpsDisk(cmd *cobra.Command, args []string)

func EditVpsServiceInfo

func EditVpsServiceInfo(cmd *cobra.Command, args []string)

func EditVpsSnapshot

func EditVpsSnapshot(cmd *cobra.Command, args []string)

func GetVps

func GetVps(_ *cobra.Command, args []string)

func GetVpsAutomatedBackup

func GetVpsAutomatedBackup(_ *cobra.Command, args []string)

func GetVpsDisk

func GetVpsDisk(_ *cobra.Command, args []string)

func GetVpsImages

func GetVpsImages(_ *cobra.Command, args []string)

func GetVpsServiceInfo

func GetVpsServiceInfo(_ *cobra.Command, args []string)

func GetVpsSnapshot

func GetVpsSnapshot(_ *cobra.Command, args []string)

func ListVPSOptions

func ListVPSOptions(_ *cobra.Command, args []string)

func ListVps

func ListVps(_ *cobra.Command, _ []string)

func ListVpsAutomatedBackupRestorePoints

func ListVpsAutomatedBackupRestorePoints(_ *cobra.Command, args []string)

func ListVpsAutomatedBackups

func ListVpsAutomatedBackups(_ *cobra.Command, args []string)

func ListVpsAvailableUpgrades

func ListVpsAvailableUpgrades(_ *cobra.Command, args []string)

func ListVpsDisks

func ListVpsDisks(_ *cobra.Command, args []string)

func ListVpsIPs

func ListVpsIPs(_ *cobra.Command, args []string)

func ListVpsSecondaryDNSDomains

func ListVpsSecondaryDNSDomains(_ *cobra.Command, args []string)

func ListVpsTasks

func ListVpsTasks(_ *cobra.Command, args []string)

func RebootVps

func RebootVps(_ *cobra.Command, args []string)

func ReinstallVps

func ReinstallVps(cmd *cobra.Command, args []string)

func ReleaseVpsIP

func ReleaseVpsIP(_ *cobra.Command, args []string)

func RescheduleVpsAutomatedBackup

func RescheduleVpsAutomatedBackup(_ *cobra.Command, args []string)

func RestoreVpsAutomatedBackup

func RestoreVpsAutomatedBackup(_ *cobra.Command, args []string)

func RestoreVpsSnapshot

func RestoreVpsSnapshot(_ *cobra.Command, args []string)

func SetVpsIPReverse

func SetVpsIPReverse(_ *cobra.Command, args []string)

func StartVps

func StartVps(_ *cobra.Command, args []string)

func StopVps

func StopVps(_ *cobra.Command, args []string)

func TerminateVps

func TerminateVps(_ *cobra.Command, args []string)

func VpsGetConsoleURL

func VpsGetConsoleURL(_ *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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