v1

package
v0.1.124 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CbhClientBuilder

func CbhClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForChangeInstanceNetwork added in v0.1.15

func GenReqDefForChangeInstanceNetwork() *def.HttpRequestDef

func GenReqDefForChangeInstanceOrder added in v0.1.17

func GenReqDefForChangeInstanceOrder() *def.HttpRequestDef

func GenReqDefForCreateCbh added in v0.1.73

func GenReqDefForCreateCbh() *def.HttpRequestDef

func GenReqDefForCreateInstanceOrder added in v0.1.15

func GenReqDefForCreateInstanceOrder() *def.HttpRequestDef

func GenReqDefForInstallCbhEip added in v0.1.73

func GenReqDefForInstallCbhEip() *def.HttpRequestDef

func GenReqDefForListCbhInstance

func GenReqDefForListCbhInstance() *def.HttpRequestDef

func GenReqDefForListQuotaStatus added in v0.1.32

func GenReqDefForListQuotaStatus() *def.HttpRequestDef

func GenReqDefForLoginCbh added in v0.1.71

func GenReqDefForLoginCbh() *def.HttpRequestDef

func GenReqDefForResetLoginMethod added in v0.1.15

func GenReqDefForResetLoginMethod() *def.HttpRequestDef

func GenReqDefForResetPassword added in v0.1.15

func GenReqDefForResetPassword() *def.HttpRequestDef

func GenReqDefForRestartCbhInstance added in v0.1.15

func GenReqDefForRestartCbhInstance() *def.HttpRequestDef

func GenReqDefForSearchQuota added in v0.1.15

func GenReqDefForSearchQuota() *def.HttpRequestDef

func GenReqDefForShowAvailableZoneInfo added in v0.1.15

func GenReqDefForShowAvailableZoneInfo() *def.HttpRequestDef

func GenReqDefForShowNetworkConfiguration added in v0.1.15

func GenReqDefForShowNetworkConfiguration() *def.HttpRequestDef

func GenReqDefForStartCbhInstance added in v0.1.15

func GenReqDefForStartCbhInstance() *def.HttpRequestDef

func GenReqDefForStopCbhInstance added in v0.1.15

func GenReqDefForStopCbhInstance() *def.HttpRequestDef

func GenReqDefForUninstallCbhEip added in v0.1.73

func GenReqDefForUninstallCbhEip() *def.HttpRequestDef

func GenReqDefForUpgradeCbhInstance added in v0.1.15

func GenReqDefForUpgradeCbhInstance() *def.HttpRequestDef

Types

type CbhClient

type CbhClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewCbhClient

func NewCbhClient(hcClient *httpclient.HcHttpClient) *CbhClient

func (*CbhClient) ChangeInstanceNetwork added in v0.1.15

ChangeInstanceNetwork 修改实例网络

修改云堡垒机实例网络。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ChangeInstanceNetworkInvoker added in v0.1.15

func (c *CbhClient) ChangeInstanceNetworkInvoker(request *model.ChangeInstanceNetworkRequest) *ChangeInstanceNetworkInvoker

ChangeInstanceNetworkInvoker 修改实例网络

func (*CbhClient) ChangeInstanceOrder added in v0.1.17

ChangeInstanceOrder 创建变更云堡垒机实例订单

创建变更云堡垒机实例订单。(调用此接口前先调用创建变更云堡垒机实例任务接口,当前接口未开放)

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ChangeInstanceOrderInvoker added in v0.1.17

func (c *CbhClient) ChangeInstanceOrderInvoker(request *model.ChangeInstanceOrderRequest) *ChangeInstanceOrderInvoker

ChangeInstanceOrderInvoker 创建变更云堡垒机实例订单

func (*CbhClient) CreateCbh added in v0.1.73

func (c *CbhClient) CreateCbh(request *model.CreateCbhRequest) (*model.CreateCbhResponse, error)

CreateCbh 创建云堡垒机实例

创建云堡垒机实例。(创建云堡垒机实例订单前,先调用此接口)

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) CreateCbhInvoker added in v0.1.73

func (c *CbhClient) CreateCbhInvoker(request *model.CreateCbhRequest) *CreateCbhInvoker

CreateCbhInvoker 创建云堡垒机实例

func (*CbhClient) CreateInstanceOrder added in v0.1.15

CreateInstanceOrder 创建云堡垒机实例订单

创建云堡垒机实例订单。(调用此接口前先调用创建云堡垒机实例接口)

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) CreateInstanceOrderInvoker added in v0.1.15

func (c *CbhClient) CreateInstanceOrderInvoker(request *model.CreateInstanceOrderRequest) *CreateInstanceOrderInvoker

CreateInstanceOrderInvoker 创建云堡垒机实例订单

func (*CbhClient) InstallCbhEip added in v0.1.73

func (c *CbhClient) InstallCbhEip(request *model.InstallCbhEipRequest) (*model.InstallCbhEipResponse, error)

InstallCbhEip 绑定弹性公网IP

云堡垒机实例绑定弹性公网IP

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) InstallCbhEipInvoker added in v0.1.73

func (c *CbhClient) InstallCbhEipInvoker(request *model.InstallCbhEipRequest) *InstallCbhEipInvoker

InstallCbhEipInvoker 绑定弹性公网IP

func (*CbhClient) ListCbhInstance

func (c *CbhClient) ListCbhInstance(request *model.ListCbhInstanceRequest) (*model.ListCbhInstanceResponse, error)

ListCbhInstance 获取CBH实例列表

获取当前租户下的云堡垒机实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListCbhInstanceInvoker added in v0.0.90

func (c *CbhClient) ListCbhInstanceInvoker(request *model.ListCbhInstanceRequest) *ListCbhInstanceInvoker

ListCbhInstanceInvoker 获取CBH实例列表

func (*CbhClient) ListQuotaStatus added in v0.1.32

func (c *CbhClient) ListQuotaStatus(request *model.ListQuotaStatusRequest) (*model.ListQuotaStatusResponse, error)

ListQuotaStatus 获取弹性云服务器配额

获取当前租户所选择的可用分区、性能规格所对应的弹性云服务器是否可用。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListQuotaStatusInvoker added in v0.1.32

func (c *CbhClient) ListQuotaStatusInvoker(request *model.ListQuotaStatusRequest) *ListQuotaStatusInvoker

ListQuotaStatusInvoker 获取弹性云服务器配额

func (*CbhClient) LoginCbh added in v0.1.71

func (c *CbhClient) LoginCbh(request *model.LoginCbhRequest) (*model.LoginCbhResponse, error)

LoginCbh 获取IAM登录实例链接

获取当前IAM用户登录堡垒机的免登录链接

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) LoginCbhInvoker added in v0.1.71

func (c *CbhClient) LoginCbhInvoker(request *model.LoginCbhRequest) *LoginCbhInvoker

LoginCbhInvoker 获取IAM登录实例链接

func (*CbhClient) ResetLoginMethod added in v0.1.15

func (c *CbhClient) ResetLoginMethod(request *model.ResetLoginMethodRequest) (*model.ResetLoginMethodResponse, error)

ResetLoginMethod 重置admin用户多因子认证方式

重置admin用户多因子认证方式。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ResetLoginMethodInvoker added in v0.1.15

func (c *CbhClient) ResetLoginMethodInvoker(request *model.ResetLoginMethodRequest) *ResetLoginMethodInvoker

ResetLoginMethodInvoker 重置admin用户多因子认证方式

func (*CbhClient) ResetPassword added in v0.1.15

func (c *CbhClient) ResetPassword(request *model.ResetPasswordRequest) (*model.ResetPasswordResponse, error)

ResetPassword 修改admin用户密码

修改云堡垒机实例web登录admin用户密码。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ResetPasswordInvoker added in v0.1.15

func (c *CbhClient) ResetPasswordInvoker(request *model.ResetPasswordRequest) *ResetPasswordInvoker

ResetPasswordInvoker 修改admin用户密码

func (*CbhClient) RestartCbhInstance added in v0.1.15

func (c *CbhClient) RestartCbhInstance(request *model.RestartCbhInstanceRequest) (*model.RestartCbhInstanceResponse, error)

RestartCbhInstance 重启云堡垒机实例

重启云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) RestartCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) RestartCbhInstanceInvoker(request *model.RestartCbhInstanceRequest) *RestartCbhInstanceInvoker

RestartCbhInstanceInvoker 重启云堡垒机实例

func (*CbhClient) SearchQuota added in v0.1.15

func (c *CbhClient) SearchQuota(request *model.SearchQuotaRequest) (*model.SearchQuotaResponse, error)

SearchQuota 查询堡垒机配额

查询云堡垒机配额信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) SearchQuotaInvoker added in v0.1.15

func (c *CbhClient) SearchQuotaInvoker(request *model.SearchQuotaRequest) *SearchQuotaInvoker

SearchQuotaInvoker 查询堡垒机配额

func (*CbhClient) ShowAvailableZoneInfo added in v0.1.15

ShowAvailableZoneInfo 获取可用用分区信息

获取云堡垒机服务可用分区信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowAvailableZoneInfoInvoker added in v0.1.15

func (c *CbhClient) ShowAvailableZoneInfoInvoker(request *model.ShowAvailableZoneInfoRequest) *ShowAvailableZoneInfoInvoker

ShowAvailableZoneInfoInvoker 获取可用用分区信息

func (*CbhClient) ShowNetworkConfiguration added in v0.1.15

ShowNetworkConfiguration 检查云堡垒机网络

检查云堡垒机实例网络信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowNetworkConfigurationInvoker added in v0.1.15

func (c *CbhClient) ShowNetworkConfigurationInvoker(request *model.ShowNetworkConfigurationRequest) *ShowNetworkConfigurationInvoker

ShowNetworkConfigurationInvoker 检查云堡垒机网络

func (*CbhClient) StartCbhInstance added in v0.1.15

func (c *CbhClient) StartCbhInstance(request *model.StartCbhInstanceRequest) (*model.StartCbhInstanceResponse, error)

StartCbhInstance 启动云堡垒机实例

启动云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) StartCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) StartCbhInstanceInvoker(request *model.StartCbhInstanceRequest) *StartCbhInstanceInvoker

StartCbhInstanceInvoker 启动云堡垒机实例

func (*CbhClient) StopCbhInstance added in v0.1.15

func (c *CbhClient) StopCbhInstance(request *model.StopCbhInstanceRequest) (*model.StopCbhInstanceResponse, error)

StopCbhInstance 关闭云堡垒机实例

关闭云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) StopCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) StopCbhInstanceInvoker(request *model.StopCbhInstanceRequest) *StopCbhInstanceInvoker

StopCbhInstanceInvoker 关闭云堡垒机实例

func (*CbhClient) UninstallCbhEip added in v0.1.73

func (c *CbhClient) UninstallCbhEip(request *model.UninstallCbhEipRequest) (*model.UninstallCbhEipResponse, error)

UninstallCbhEip 解绑弹性公网IP

云堡垒机实例解绑弹性公网IP。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) UninstallCbhEipInvoker added in v0.1.73

func (c *CbhClient) UninstallCbhEipInvoker(request *model.UninstallCbhEipRequest) *UninstallCbhEipInvoker

UninstallCbhEipInvoker 解绑弹性公网IP

func (*CbhClient) UpgradeCbhInstance added in v0.1.15

func (c *CbhClient) UpgradeCbhInstance(request *model.UpgradeCbhInstanceRequest) (*model.UpgradeCbhInstanceResponse, error)

UpgradeCbhInstance 升级云堡垒机实例

升级云堡垒机实例

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) UpgradeCbhInstanceInvoker added in v0.1.15

func (c *CbhClient) UpgradeCbhInstanceInvoker(request *model.UpgradeCbhInstanceRequest) *UpgradeCbhInstanceInvoker

UpgradeCbhInstanceInvoker 升级云堡垒机实例

type ChangeInstanceNetworkInvoker added in v0.1.15

type ChangeInstanceNetworkInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeInstanceNetworkInvoker) GetBaseInvoker added in v0.1.118

func (i *ChangeInstanceNetworkInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ChangeInstanceNetworkInvoker) Invoke added in v0.1.15

type ChangeInstanceOrderInvoker added in v0.1.17

type ChangeInstanceOrderInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeInstanceOrderInvoker) GetBaseInvoker added in v0.1.118

func (i *ChangeInstanceOrderInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ChangeInstanceOrderInvoker) Invoke added in v0.1.17

type CreateCbhInvoker added in v0.1.73

type CreateCbhInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateCbhInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateCbhInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateCbhInvoker) Invoke added in v0.1.73

type CreateInstanceOrderInvoker added in v0.1.15

type CreateInstanceOrderInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateInstanceOrderInvoker) GetBaseInvoker added in v0.1.118

func (i *CreateInstanceOrderInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*CreateInstanceOrderInvoker) Invoke added in v0.1.15

type InstallCbhEipInvoker added in v0.1.73

type InstallCbhEipInvoker struct {
	*invoker.BaseInvoker
}

func (*InstallCbhEipInvoker) GetBaseInvoker added in v0.1.118

func (i *InstallCbhEipInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*InstallCbhEipInvoker) Invoke added in v0.1.73

type ListCbhInstanceInvoker added in v0.0.90

type ListCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCbhInstanceInvoker) GetBaseInvoker added in v0.1.118

func (i *ListCbhInstanceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListCbhInstanceInvoker) Invoke added in v0.0.90

type ListQuotaStatusInvoker added in v0.1.32

type ListQuotaStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotaStatusInvoker) GetBaseInvoker added in v0.1.118

func (i *ListQuotaStatusInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ListQuotaStatusInvoker) Invoke added in v0.1.32

type LoginCbhInvoker added in v0.1.71

type LoginCbhInvoker struct {
	*invoker.BaseInvoker
}

func (*LoginCbhInvoker) GetBaseInvoker added in v0.1.118

func (i *LoginCbhInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*LoginCbhInvoker) Invoke added in v0.1.71

func (i *LoginCbhInvoker) Invoke() (*model.LoginCbhResponse, error)

type ResetLoginMethodInvoker added in v0.1.15

type ResetLoginMethodInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetLoginMethodInvoker) GetBaseInvoker added in v0.1.118

func (i *ResetLoginMethodInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ResetLoginMethodInvoker) Invoke added in v0.1.15

type ResetPasswordInvoker added in v0.1.15

type ResetPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetPasswordInvoker) GetBaseInvoker added in v0.1.118

func (i *ResetPasswordInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ResetPasswordInvoker) Invoke added in v0.1.15

type RestartCbhInstanceInvoker added in v0.1.15

type RestartCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartCbhInstanceInvoker) GetBaseInvoker added in v0.1.118

func (i *RestartCbhInstanceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*RestartCbhInstanceInvoker) Invoke added in v0.1.15

type SearchQuotaInvoker added in v0.1.15

type SearchQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchQuotaInvoker) GetBaseInvoker added in v0.1.118

func (i *SearchQuotaInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*SearchQuotaInvoker) Invoke added in v0.1.15

type ShowAvailableZoneInfoInvoker added in v0.1.15

type ShowAvailableZoneInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAvailableZoneInfoInvoker) GetBaseInvoker added in v0.1.118

func (i *ShowAvailableZoneInfoInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*ShowAvailableZoneInfoInvoker) Invoke added in v0.1.15

type ShowNetworkConfigurationInvoker added in v0.1.15

type ShowNetworkConfigurationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowNetworkConfigurationInvoker) GetBaseInvoker added in v0.1.118

func (*ShowNetworkConfigurationInvoker) Invoke added in v0.1.15

type StartCbhInstanceInvoker added in v0.1.15

type StartCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*StartCbhInstanceInvoker) GetBaseInvoker added in v0.1.118

func (i *StartCbhInstanceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*StartCbhInstanceInvoker) Invoke added in v0.1.15

type StopCbhInstanceInvoker added in v0.1.15

type StopCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*StopCbhInstanceInvoker) GetBaseInvoker added in v0.1.118

func (i *StopCbhInstanceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*StopCbhInstanceInvoker) Invoke added in v0.1.15

type UninstallCbhEipInvoker added in v0.1.73

type UninstallCbhEipInvoker struct {
	*invoker.BaseInvoker
}

func (*UninstallCbhEipInvoker) GetBaseInvoker added in v0.1.118

func (i *UninstallCbhEipInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UninstallCbhEipInvoker) Invoke added in v0.1.73

type UpgradeCbhInstanceInvoker added in v0.1.15

type UpgradeCbhInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpgradeCbhInstanceInvoker) GetBaseInvoker added in v0.1.118

func (i *UpgradeCbhInstanceInvoker) GetBaseInvoker() *invoker.BaseInvoker

func (*UpgradeCbhInstanceInvoker) Invoke added in v0.1.15

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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