webhosting

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WebHostingSpec struct {
		DisplayName *string `json:"displayName,omitempty"`
	}

	WebHostingDisplayName      string
	WebHostingClearDisplayName bool

	// Attached domains
	AttachedDomainDomain     string
	AttachedDomainPath       string
	AttachedDomainRuntimeID  int
	AttachedDomainEnableSSL  bool
	AttachedDomainDisableSSL bool
	AttachedDomainCDN        string
	AttachedDomainFirewall   string
	AttachedDomainIPLocation string
	AttachedDomainOwnLog     string
	AttachedDomainBypassDNS  bool

	// Cron
	CronCommand   string
	CronFrequency string
	CronLanguage  string
	CronEmail     string
	CronDesc      string
	CronStatus    string

	// Database
	DatabaseType             string
	DatabaseCapability       string
	DatabaseUser             string
	DatabasePassword         string
	DatabaseVersion          string
	DatabaseQuota            string
	DatabaseAction           string
	DatabaseDumpDate         string
	DatabaseSendEmail        bool
	DatabaseFlush            bool
	DatabaseDocumentID       string
	DatabaseCopyID           string
	DatabaseStatsPeriod      string
	DatabaseStatsType        string
	DatabaseVersionQueryType string

	// Env vars
	EnvVarKey   string
	EnvVarType  string
	EnvVarValue string

	// Email
	EmailContactAddress string
	EmailBounceLimit    int
	EmailRequestAction  string

	// Modules
	ModuleID                  int
	ModuleName                string
	ModuleDomain              string
	ModulePath                string
	ModuleLanguage            string
	ModuleAdmin               string
	ModulePassword            string
	ModuleCatalogBranch       string
	ModuleCatalogActiveFilter string
	ModuleCatalogLatestFilter string
	OfferName                 string

	// Runtime
	RuntimeName         string
	RuntimeType         string
	RuntimePublicDir    string
	RuntimeAppEnv       string
	RuntimeAppBootstrap string
	RuntimeIsDefault    bool
	RuntimeDomains      []string
	RuntimeLanguage     string

	// Websites
	WebsitePath        string
	WebsiteVcsURL      string
	WebsiteBranch      string
	WebsiteDeleteFiles bool
	WebsiteDeployReset bool

	// Users
	UserLogin          string
	UserPassword       string
	UserHome           string
	UserSSHState       string
	VcsWebhookPath     string
	VcsWebhookPlatform string

	// Local SEO
	LocalSEOCountry            string
	LocalSEOOffer              string
	LocalSEOEmail              string
	LocalSEOName               string
	LocalSEOStreet             string
	LocalSEOZip                string
	LocalSEODirectory          string
	LocalSEOToken              string
	LocalSEOAccountEmailFilter string

	// Misc
	BoostOffer       string
	RestoreBackup    string
	StatisticsPeriod string

	// SSL service-level
	SSLCertificate string
	SSLChain       string
	SSLKey         string
	StatisticsType string

	// OVH Config
	OvhConfigPathFilter     string
	OvhConfigHistoricalOnly bool
	OvhConfigEngineName     string
	OvhConfigEngineVersion  string
	OvhConfigEnvironment    string
	OvhConfigHTTPFirewall   string
	OvhConfigContainer      string
	OvhConfigRollbackID     int

	// Own Logs
	OwnLogUserLogin       string
	OwnLogUserPassword    string
	OwnLogUserDescription string
	OwnLogUserNewPassword string
	RequestAction         string

	SupportedBoostOffers = []string{
		"KS",
		"PERFORMANCE_1",
		"PERFORMANCE_2",
		"PERFORMANCE_3",
		"PERFORMANCE_4",
		"PERSO",
		"PRO",
		"START",
	}

	CdnOptionName                 string
	CdnOptionType                 string
	CdnOptionEnabled              bool
	CdnOptionPattern              string
	CdnOptionConfigDestination    string
	CdnOptionConfigFollowURI      bool
	CdnOptionConfigOrigins        string
	CdnOptionConfigPatternType    string
	CdnOptionConfigPriority       int
	CdnOptionConfigQueryParameter string
	CdnOptionConfigResources      []string
	CdnOptionConfigStatusCode     int
	CdnOptionConfigTTL            int

	CdnStatisticPeriod string
)

Functions

func AddAttachedDomain added in v0.11.0

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

func AddCdnDomainOption added in v0.11.0

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

func CallWebHostingAPI added in v0.11.0

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

Generic API call for advanced cases

func ChangeDatabasePassword added in v0.11.0

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

func ChangeOvhConfig added in v0.11.0

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

func ChangeOwnLogUserPassword added in v0.11.0

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

func ChangeUserPassword added in v0.11.0

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

func CheckLocalSeoEmailAvailability added in v0.11.0

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

func ConfirmTermination added in v0.11.0

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

func CreateCron added in v0.11.0

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

func CreateDatabase added in v0.11.0

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

func CreateDatabaseCopy added in v0.11.0

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

func CreateEnvVar added in v0.11.0

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

func CreateOwnLogUser added in v0.11.0

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

func CreateRuntime added in v0.11.0

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

func CreateSSHKey added in v0.11.0

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

func CreateSSL added in v0.11.0

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

func CreateServiceSSL added in v0.11.0

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

func CreateUser added in v0.11.0

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

func CreateWebsite added in v0.11.0

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

func DeleteAttachedDomain added in v0.11.0

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

func DeleteCdnDomainOption added in v0.11.0

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

func DeleteCron added in v0.11.0

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

func DeleteDatabase added in v0.11.0

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

func DeleteDatabaseCopy added in v0.11.0

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

func DeleteDatabaseDump added in v0.11.0

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

func DeleteEnvVar added in v0.11.0

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

func DeleteModule added in v0.11.0

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

func DeleteOwnLogUser added in v0.11.0

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

func DeleteRuntime added in v0.11.0

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

func DeleteSSL added in v0.11.0

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

func DeleteServiceSSL added in v0.11.0

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

func DeleteUser added in v0.11.0

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

func DeleteWebsite added in v0.11.0

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

func DeployWebsite added in v0.11.0

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

func EditWebHosting

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

func FindHostingByDomain added in v0.11.0

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

func GetAbuseState added in v0.11.0

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

func GetAttachedDomain added in v0.11.0

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

func GetAttachedDomainDigStatus added in v0.11.0

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

func GetCdn added in v0.11.0

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

CDN

func GetCdnDomain added in v0.11.0

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

func GetCdnDomainOption added in v0.11.0

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

func GetCdnDomainStatistics added in v0.11.0

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

func GetCdnOperation added in v0.11.0

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

func GetCdnServiceInfo added in v0.11.0

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

func GetCron added in v0.11.0

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

func GetDatabase added in v0.11.0

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

func GetDatabaseCapabilities added in v0.11.0

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

func GetDatabaseCopy added in v0.11.0

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

func GetDatabaseDump added in v0.11.0

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

func GetDatabaseStatistics added in v0.11.0

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

func GetEmailInfo added in v0.11.0

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

Email management

func GetEmailOption added in v0.11.0

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

func GetEmailOptionServiceInfo added in v0.11.0

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

func GetEnvVar added in v0.11.0

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

func GetExtraSqlOption added in v0.11.0

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

func GetExtraSqlServiceInfo added in v0.11.0

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

func GetLocalSeoAccount added in v0.11.0

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

func GetLocalSeoLocation added in v0.11.0

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

func GetLocalSeoLocationServiceInfo added in v0.11.0

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

func GetLocalSeoVisibilityResult added in v0.11.0

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

func GetModule added in v0.11.0

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

func GetModuleCatalog added in v0.11.0

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

func GetOfferCapabilities added in v0.11.0

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

func GetOvhConfig added in v0.11.0

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

func GetOvhConfigCapabilities added in v0.11.0

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

func GetOvhConfigRecommendedValues added in v0.11.0

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

func GetOwnLog added in v0.11.0

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

func GetOwnLogUser added in v0.11.0

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

func GetRuntime added in v0.11.0

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

func GetSSHKey added in v0.11.0

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

SSH keys

func GetSSL added in v0.11.0

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

SSL

func GetSSLReport added in v0.11.0

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

func GetServiceInfo added in v0.11.0

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

func GetServiceSSL added in v0.11.0

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

func GetTask added in v0.11.0

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

func GetToken added in v0.11.0

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

func GetUser added in v0.11.0

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

func GetVcsWebhooks added in v0.11.0

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

VCS

func GetWebHosting

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

func GetWebsite added in v0.11.0

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

func GetWebsiteCreationCapabilities added in v0.11.0

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

func GetWebsiteDeployment added in v0.11.0

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

func GetWebsiteDeploymentLogs added in v0.11.0

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

func ImportDatabaseDump added in v0.11.0

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

func InstallModule added in v0.11.0

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

func ListAttachedDomains added in v0.11.0

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

Attached domains

func ListAvailableHostingOffers added in v0.11.0

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

func ListBoostHistory added in v0.11.0

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

func ListCdnAvailableOptions added in v0.11.0

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

func ListCdnDomainOptions added in v0.11.0

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

func ListCdnDomains added in v0.11.0

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

func ListCdnOperations added in v0.11.0

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

func ListCronAvailableLanguages added in v0.11.0

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

func ListCrons added in v0.11.0

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

Cron

func ListDatabaseAvailableTypes added in v0.11.0

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

func ListDatabaseAvailableVersions added in v0.11.0

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

func ListDatabaseCopies added in v0.11.0

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

func ListDatabaseCreationCapabilities added in v0.11.0

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

func ListDatabaseDumps added in v0.11.0

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

func ListDatabases added in v0.11.0

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

Databases

func ListEmailBounces added in v0.11.0

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

func ListEmailOptions added in v0.11.0

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

func ListEmailVolumes added in v0.11.0

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

func ListEnvVars added in v0.11.0

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

Environment variables

func ListExtraSqlDatabases added in v0.11.0

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

func ListExtraSqlOptions added in v0.11.0

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

func ListHostingIncidents added in v0.11.0

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

func ListLocalSeoAccounts added in v0.11.0

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

func ListLocalSeoDirectories added in v0.11.0

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

Local SEO

func ListLocalSeoLocations added in v0.11.0

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

func ListModuleCatalog added in v0.11.0

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

func ListModules added in v0.11.0

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

Modules

func ListOvhConfigs added in v0.11.0

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

func ListOwnLogUsers added in v0.11.0

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

func ListOwnLogsEntries added in v0.11.0

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

Own logs

func ListRuntimeAvailableTypes added in v0.11.0

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

func ListRuntimeDomains added in v0.11.0

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

func ListRuntimes added in v0.11.0

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

Runtime

func ListSSLAttachedDomains added in v0.11.0

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

func ListSupportedVcs added in v0.11.0

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

func ListTasks added in v0.11.0

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

func ListUsers added in v0.11.0

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

Users

func ListWebHosting

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

func ListWebsiteDeployments added in v0.11.0

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

func ListWebsites added in v0.11.0

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

Websites

func LoginLocalSeoAccount added in v0.11.0

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

func PurgeAttachedDomainCache added in v0.11.0

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

func PurgeCdnDomain added in v0.11.0

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

func RefreshCdnDomain added in v0.11.0

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

func RefreshOvhConfig added in v0.11.0

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

func RegenerateServiceSSL added in v0.11.0

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

func RequestBoost added in v0.11.0

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

func RequestDatabaseAction added in v0.11.0

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

func RequestDatabaseDump added in v0.11.0

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

func RequestEmailAction added in v0.11.0

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

func RequestHostingAction added in v0.11.0

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

func RestartAttachedDomain added in v0.11.0

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

func RestoreDatabaseCopy added in v0.11.0

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

func RestoreDatabaseDump added in v0.11.0

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

func RestoreDatabaseFromDate added in v0.11.0

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

func RestoreSnapshot added in v0.11.0

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

func RollbackOvhConfig added in v0.11.0

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

func RunLocalSeoVisibilityCheck added in v0.11.0

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

func TerminateEmailOption added in v0.11.0

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

func TerminateExtraSqlOption added in v0.11.0

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

func TerminateLocalSeoLocation added in v0.11.0

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

func TerminateService added in v0.11.0

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

func UnblockTCPOut added in v0.11.0

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

func UpdateAttachedDomain added in v0.11.0

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

func UpdateCdnDomainOption added in v0.11.0

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

func UpdateCdnServiceInfo added in v0.11.0

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

func UpdateCron added in v0.11.0

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

func UpdateEmail added in v0.11.0

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

func UpdateEnvVar added in v0.11.0

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

func UpdateExtraSqlServiceInfo added in v0.11.0

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

func UpdateLocalSeoLocationServiceInfo added in v0.11.0

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

func UpdateOwnLogUser added in v0.11.0

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

func UpdateRuntime added in v0.11.0

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

func UpdateServiceInfo added in v0.11.0

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

func UpdateUser added in v0.11.0

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

func UpdateWebsite added in v0.11.0

func UpdateWebsite(cmd *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