v2

package
v0.1.74 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 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() *http_client.HcHttpClientBuilder

func GenReqDefForBatchCreateInstanceTag

func GenReqDefForBatchCreateInstanceTag() *def.HttpRequestDef

func GenReqDefForCountInstancesByTag

func GenReqDefForCountInstancesByTag() *def.HttpRequestDef

func GenReqDefForCreateInstance

func GenReqDefForCreateInstance() *def.HttpRequestDef

func GenReqDefForDeleteInstance

func GenReqDefForDeleteInstance() *def.HttpRequestDef

func GenReqDefForInstallInstanceEip

func GenReqDefForInstallInstanceEip() *def.HttpRequestDef

func GenReqDefForListAvailableZones

func GenReqDefForListAvailableZones() *def.HttpRequestDef

func GenReqDefForListInstances

func GenReqDefForListInstances() *def.HttpRequestDef

func GenReqDefForListInstancesByTag

func GenReqDefForListInstancesByTag() *def.HttpRequestDef

func GenReqDefForListSpecifications

func GenReqDefForListSpecifications() *def.HttpRequestDef

func GenReqDefForListTags

func GenReqDefForListTags() *def.HttpRequestDef

func GenReqDefForLoginInstance

func GenReqDefForLoginInstance() *def.HttpRequestDef

func GenReqDefForRebootInstance

func GenReqDefForRebootInstance() *def.HttpRequestDef

func GenReqDefForRegisterAuthorization

func GenReqDefForRegisterAuthorization() *def.HttpRequestDef

func GenReqDefForResetInstanceLoginMethod

func GenReqDefForResetInstanceLoginMethod() *def.HttpRequestDef

func GenReqDefForResetInstancePassword

func GenReqDefForResetInstancePassword() *def.HttpRequestDef

func GenReqDefForResizeInstance

func GenReqDefForResizeInstance() *def.HttpRequestDef

func GenReqDefForRollbackInstance

func GenReqDefForRollbackInstance() *def.HttpRequestDef

func GenReqDefForShowAuthorization

func GenReqDefForShowAuthorization() *def.HttpRequestDef

func GenReqDefForShowEcsQuota

func GenReqDefForShowEcsQuota() *def.HttpRequestDef

func GenReqDefForShowInstanceStatus

func GenReqDefForShowInstanceStatus() *def.HttpRequestDef

func GenReqDefForShowInstanceTags

func GenReqDefForShowInstanceTags() *def.HttpRequestDef

func GenReqDefForShowOmUrl

func GenReqDefForShowOmUrl() *def.HttpRequestDef

func GenReqDefForShowQuota

func GenReqDefForShowQuota() *def.HttpRequestDef

func GenReqDefForStartInstance

func GenReqDefForStartInstance() *def.HttpRequestDef

func GenReqDefForStopInstance

func GenReqDefForStopInstance() *def.HttpRequestDef

func GenReqDefForUninstallInstanceEip

func GenReqDefForUninstallInstanceEip() *def.HttpRequestDef

func GenReqDefForUpdateInstanceSecurityGroup

func GenReqDefForUpdateInstanceSecurityGroup() *def.HttpRequestDef

func GenReqDefForUpgradeInstance

func GenReqDefForUpgradeInstance() *def.HttpRequestDef

Types

type BatchCreateInstanceTagInvoker

type BatchCreateInstanceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateInstanceTagInvoker) Invoke

type CbhClient

type CbhClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCbhClient

func NewCbhClient(hcClient *http_client.HcHttpClient) *CbhClient

func (*CbhClient) BatchCreateInstanceTag

BatchCreateInstanceTag 操作堡垒机实例资源标签

操作堡垒机实例资源标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) BatchCreateInstanceTagInvoker

func (c *CbhClient) BatchCreateInstanceTagInvoker(request *model.BatchCreateInstanceTagRequest) *BatchCreateInstanceTagInvoker

BatchCreateInstanceTagInvoker 操作堡垒机实例资源标签

func (*CbhClient) CountInstancesByTag

CountInstancesByTag 统计符合标签条件的实例数量

统计符合标签条件的实例数量。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) CountInstancesByTagInvoker

func (c *CbhClient) CountInstancesByTagInvoker(request *model.CountInstancesByTagRequest) *CountInstancesByTagInvoker

CountInstancesByTagInvoker 统计符合标签条件的实例数量

func (*CbhClient) CreateInstance

func (c *CbhClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)

CreateInstance 创建堡垒机实例

创建云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) CreateInstanceInvoker

func (c *CbhClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker

CreateInstanceInvoker 创建堡垒机实例

func (*CbhClient) DeleteInstance

func (c *CbhClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)

DeleteInstance 删除故障和按需云堡垒机实例

删除云堡垒机故障实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) DeleteInstanceInvoker

func (c *CbhClient) DeleteInstanceInvoker(request *model.DeleteInstanceRequest) *DeleteInstanceInvoker

DeleteInstanceInvoker 删除故障和按需云堡垒机实例

func (*CbhClient) InstallInstanceEip

func (c *CbhClient) InstallInstanceEip(request *model.InstallInstanceEipRequest) (*model.InstallInstanceEipResponse, error)

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

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

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) InstallInstanceEipInvoker

func (c *CbhClient) InstallInstanceEipInvoker(request *model.InstallInstanceEipRequest) *InstallInstanceEipInvoker

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

func (*CbhClient) ListAvailableZones

func (c *CbhClient) ListAvailableZones(request *model.ListAvailableZonesRequest) (*model.ListAvailableZonesResponse, error)

ListAvailableZones 获取服务可用区信息

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

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListAvailableZonesInvoker

func (c *CbhClient) ListAvailableZonesInvoker(request *model.ListAvailableZonesRequest) *ListAvailableZonesInvoker

ListAvailableZonesInvoker 获取服务可用区信息

func (*CbhClient) ListInstances

func (c *CbhClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)

ListInstances 获取堡垒机实例列表

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

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListInstancesByTag

func (c *CbhClient) ListInstancesByTag(request *model.ListInstancesByTagRequest) (*model.ListInstancesByTagResponse, error)

ListInstancesByTag 使用标签过滤实例

使用标签过滤实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListInstancesByTagInvoker

func (c *CbhClient) ListInstancesByTagInvoker(request *model.ListInstancesByTagRequest) *ListInstancesByTagInvoker

ListInstancesByTagInvoker 使用标签过滤实例

func (*CbhClient) ListInstancesInvoker

func (c *CbhClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker

ListInstancesInvoker 获取堡垒机实例列表

func (*CbhClient) ListSpecifications

func (c *CbhClient) ListSpecifications(request *model.ListSpecificationsRequest) (*model.ListSpecificationsResponse, error)

ListSpecifications 查询云堡垒机规格信息

查询云堡垒机规格信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListSpecificationsInvoker

func (c *CbhClient) ListSpecificationsInvoker(request *model.ListSpecificationsRequest) *ListSpecificationsInvoker

ListSpecificationsInvoker 查询云堡垒机规格信息

func (*CbhClient) ListTags

func (c *CbhClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)

ListTags 查询租户在项目中的资源标签集合

查询租户在项目中的资源标签集合。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ListTagsInvoker

func (c *CbhClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker

ListTagsInvoker 查询租户在项目中的资源标签集合

func (*CbhClient) LoginInstance

func (c *CbhClient) LoginInstance(request *model.LoginInstanceRequest) (*model.LoginInstanceResponse, error)

LoginInstance IAM用户登录堡垒机实例console

IAM用户登录堡垒机实例console。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) LoginInstanceInvoker

func (c *CbhClient) LoginInstanceInvoker(request *model.LoginInstanceRequest) *LoginInstanceInvoker

LoginInstanceInvoker IAM用户登录堡垒机实例console

func (*CbhClient) RebootInstance

func (c *CbhClient) RebootInstance(request *model.RebootInstanceRequest) (*model.RebootInstanceResponse, error)

RebootInstance 重启堡垒机实例

重启云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) RebootInstanceInvoker

func (c *CbhClient) RebootInstanceInvoker(request *model.RebootInstanceRequest) *RebootInstanceInvoker

RebootInstanceInvoker 重启堡垒机实例

func (*CbhClient) RegisterAuthorization

RegisterAuthorization 租户创建或取消云堡垒机服务的委托授权

租户创建或取消云堡垒机服务的委托授权。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) RegisterAuthorizationInvoker

func (c *CbhClient) RegisterAuthorizationInvoker(request *model.RegisterAuthorizationRequest) *RegisterAuthorizationInvoker

RegisterAuthorizationInvoker 租户创建或取消云堡垒机服务的委托授权

func (*CbhClient) ResetInstanceLoginMethod

ResetInstanceLoginMethod 重置堡垒机实例admin登录方式

重置堡垒机实例admin用户登录方式。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ResetInstanceLoginMethodInvoker

func (c *CbhClient) ResetInstanceLoginMethodInvoker(request *model.ResetInstanceLoginMethodRequest) *ResetInstanceLoginMethodInvoker

ResetInstanceLoginMethodInvoker 重置堡垒机实例admin登录方式

func (*CbhClient) ResetInstancePassword

ResetInstancePassword 重置堡垒机实例admin密码

重置云堡垒机实例web登录admin用户密码。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ResetInstancePasswordInvoker

func (c *CbhClient) ResetInstancePasswordInvoker(request *model.ResetInstancePasswordRequest) *ResetInstancePasswordInvoker

ResetInstancePasswordInvoker 重置堡垒机实例admin密码

func (*CbhClient) ResizeInstance

func (c *CbhClient) ResizeInstance(request *model.ResizeInstanceRequest) (*model.ResizeInstanceResponse, error)

ResizeInstance 变更堡垒机实例

变更云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ResizeInstanceInvoker

func (c *CbhClient) ResizeInstanceInvoker(request *model.ResizeInstanceRequest) *ResizeInstanceInvoker

ResizeInstanceInvoker 变更堡垒机实例

func (*CbhClient) RollbackInstance

func (c *CbhClient) RollbackInstance(request *model.RollbackInstanceRequest) (*model.RollbackInstanceResponse, error)

RollbackInstance 回退升级的堡垒机实例

回退升级的云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) RollbackInstanceInvoker

func (c *CbhClient) RollbackInstanceInvoker(request *model.RollbackInstanceRequest) *RollbackInstanceInvoker

RollbackInstanceInvoker 回退升级的堡垒机实例

func (*CbhClient) ShowAuthorization

func (c *CbhClient) ShowAuthorization(request *model.ShowAuthorizationRequest) (*model.ShowAuthorizationResponse, error)

ShowAuthorization 获取租户给云堡垒机服务委托授权信息

获取租户给云堡垒机服务委托授权信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowAuthorizationInvoker

func (c *CbhClient) ShowAuthorizationInvoker(request *model.ShowAuthorizationRequest) *ShowAuthorizationInvoker

ShowAuthorizationInvoker 获取租户给云堡垒机服务委托授权信息

func (*CbhClient) ShowEcsQuota

func (c *CbhClient) ShowEcsQuota(request *model.ShowEcsQuotaRequest) (*model.ShowEcsQuotaResponse, error)

ShowEcsQuota 获取创建堡垒机实例所需ECS资源配额

获取当前租户所选择的可用分区里的堡垒机ECS规格是否可用。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowEcsQuotaInvoker

func (c *CbhClient) ShowEcsQuotaInvoker(request *model.ShowEcsQuotaRequest) *ShowEcsQuotaInvoker

ShowEcsQuotaInvoker 获取创建堡垒机实例所需ECS资源配额

func (*CbhClient) ShowInstanceStatus

func (c *CbhClient) ShowInstanceStatus(request *model.ShowInstanceStatusRequest) (*model.ShowInstanceStatusResponse, error)

ShowInstanceStatus 获取堡垒机实例状态信息

获取堡垒机实例状态信息(未删除实例)。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowInstanceStatusInvoker

func (c *CbhClient) ShowInstanceStatusInvoker(request *model.ShowInstanceStatusRequest) *ShowInstanceStatusInvoker

ShowInstanceStatusInvoker 获取堡垒机实例状态信息

func (*CbhClient) ShowInstanceTags

func (c *CbhClient) ShowInstanceTags(request *model.ShowInstanceTagsRequest) (*model.ShowInstanceTagsResponse, error)

ShowInstanceTags 查询堡垒机实例资源的标签信息

查询堡垒机实例资源的标签信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowInstanceTagsInvoker

func (c *CbhClient) ShowInstanceTagsInvoker(request *model.ShowInstanceTagsRequest) *ShowInstanceTagsInvoker

ShowInstanceTagsInvoker 查询堡垒机实例资源的标签信息

func (*CbhClient) ShowOmUrl

func (c *CbhClient) ShowOmUrl(request *model.ShowOmUrlRequest) (*model.ShowOmUrlResponse, error)

ShowOmUrl 获取运维链接

获取运维链接

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowOmUrlInvoker

func (c *CbhClient) ShowOmUrlInvoker(request *model.ShowOmUrlRequest) *ShowOmUrlInvoker

ShowOmUrlInvoker 获取运维链接

func (*CbhClient) ShowQuota

func (c *CbhClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)

ShowQuota 获取堡垒机实例配额

获取堡垒机实例配额信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) ShowQuotaInvoker

func (c *CbhClient) ShowQuotaInvoker(request *model.ShowQuotaRequest) *ShowQuotaInvoker

ShowQuotaInvoker 获取堡垒机实例配额

func (*CbhClient) StartInstance

func (c *CbhClient) StartInstance(request *model.StartInstanceRequest) (*model.StartInstanceResponse, error)

StartInstance 启动堡垒机实例

启动云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) StartInstanceInvoker

func (c *CbhClient) StartInstanceInvoker(request *model.StartInstanceRequest) *StartInstanceInvoker

StartInstanceInvoker 启动堡垒机实例

func (*CbhClient) StopInstance

func (c *CbhClient) StopInstance(request *model.StopInstanceRequest) (*model.StopInstanceResponse, error)

StopInstance 关闭堡垒机实例

关闭云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) StopInstanceInvoker

func (c *CbhClient) StopInstanceInvoker(request *model.StopInstanceRequest) *StopInstanceInvoker

StopInstanceInvoker 关闭堡垒机实例

func (*CbhClient) UninstallInstanceEip

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

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

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) UninstallInstanceEipInvoker

func (c *CbhClient) UninstallInstanceEipInvoker(request *model.UninstallInstanceEipRequest) *UninstallInstanceEipInvoker

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

func (*CbhClient) UpdateInstanceSecurityGroup

UpdateInstanceSecurityGroup 修改堡垒机实例安全组

修改堡垒机实例安全组。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) UpdateInstanceSecurityGroupInvoker

func (c *CbhClient) UpdateInstanceSecurityGroupInvoker(request *model.UpdateInstanceSecurityGroupRequest) *UpdateInstanceSecurityGroupInvoker

UpdateInstanceSecurityGroupInvoker 修改堡垒机实例安全组

func (*CbhClient) UpgradeInstance

func (c *CbhClient) UpgradeInstance(request *model.UpgradeInstanceRequest) (*model.UpgradeInstanceResponse, error)

UpgradeInstance 升级堡垒机实例

升级云堡垒机实例。

Please refer to HUAWEI cloud API Explorer for details.

func (*CbhClient) UpgradeInstanceInvoker

func (c *CbhClient) UpgradeInstanceInvoker(request *model.UpgradeInstanceRequest) *UpgradeInstanceInvoker

UpgradeInstanceInvoker 升级堡垒机实例

type CountInstancesByTagInvoker

type CountInstancesByTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CountInstancesByTagInvoker) Invoke

type CreateInstanceInvoker

type CreateInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateInstanceInvoker) Invoke

type DeleteInstanceInvoker

type DeleteInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteInstanceInvoker) Invoke

type InstallInstanceEipInvoker

type InstallInstanceEipInvoker struct {
	*invoker.BaseInvoker
}

func (*InstallInstanceEipInvoker) Invoke

type ListAvailableZonesInvoker

type ListAvailableZonesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAvailableZonesInvoker) Invoke

type ListInstancesByTagInvoker

type ListInstancesByTagInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstancesByTagInvoker) Invoke

type ListInstancesInvoker

type ListInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstancesInvoker) Invoke

type ListSpecificationsInvoker

type ListSpecificationsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSpecificationsInvoker) Invoke

type ListTagsInvoker

type ListTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagsInvoker) Invoke

func (i *ListTagsInvoker) Invoke() (*model.ListTagsResponse, error)

type LoginInstanceInvoker

type LoginInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*LoginInstanceInvoker) Invoke

type RebootInstanceInvoker

type RebootInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*RebootInstanceInvoker) Invoke

type RegisterAuthorizationInvoker

type RegisterAuthorizationInvoker struct {
	*invoker.BaseInvoker
}

func (*RegisterAuthorizationInvoker) Invoke

type ResetInstanceLoginMethodInvoker

type ResetInstanceLoginMethodInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetInstanceLoginMethodInvoker) Invoke

type ResetInstancePasswordInvoker

type ResetInstancePasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetInstancePasswordInvoker) Invoke

type ResizeInstanceInvoker

type ResizeInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeInstanceInvoker) Invoke

type RollbackInstanceInvoker

type RollbackInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*RollbackInstanceInvoker) Invoke

type ShowAuthorizationInvoker

type ShowAuthorizationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAuthorizationInvoker) Invoke

type ShowEcsQuotaInvoker

type ShowEcsQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEcsQuotaInvoker) Invoke

type ShowInstanceStatusInvoker

type ShowInstanceStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowInstanceStatusInvoker) Invoke

type ShowInstanceTagsInvoker

type ShowInstanceTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowInstanceTagsInvoker) Invoke

type ShowOmUrlInvoker

type ShowOmUrlInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOmUrlInvoker) Invoke

type ShowQuotaInvoker

type ShowQuotaInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowQuotaInvoker) Invoke

type StartInstanceInvoker

type StartInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*StartInstanceInvoker) Invoke

type StopInstanceInvoker

type StopInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*StopInstanceInvoker) Invoke

type UninstallInstanceEipInvoker

type UninstallInstanceEipInvoker struct {
	*invoker.BaseInvoker
}

func (*UninstallInstanceEipInvoker) Invoke

type UpdateInstanceSecurityGroupInvoker

type UpdateInstanceSecurityGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateInstanceSecurityGroupInvoker) Invoke

type UpgradeInstanceInvoker

type UpgradeInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpgradeInstanceInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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