v1

package
v0.1.119 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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 GenReqDefForCreateAccount

func GenReqDefForCreateAccount() *def.HttpRequestDef

func GenReqDefForDisableControl

func GenReqDefForDisableControl() *def.HttpRequestDef

func GenReqDefForEnableControl

func GenReqDefForEnableControl() *def.HttpRequestDef

func GenReqDefForListControlsForOrganizationalUnit added in v0.1.98

func GenReqDefForListControlsForOrganizationalUnit() *def.HttpRequestDef

func GenReqDefForListEnabledControls

func GenReqDefForListEnabledControls() *def.HttpRequestDef

func GenReqDefForRegisterOrganizationalUnit

func GenReqDefForRegisterOrganizationalUnit() *def.HttpRequestDef

func GenReqDefForShowControlOperate

func GenReqDefForShowControlOperate() *def.HttpRequestDef

func GenReqDefForShowManagedAccount

func GenReqDefForShowManagedAccount() *def.HttpRequestDef

func GenReqDefForShowOperation

func GenReqDefForShowOperation() *def.HttpRequestDef

func RgcClientBuilder

func RgcClientBuilder() *httpclient.HcHttpClientBuilder

Types

type CreateAccountInvoker

type CreateAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAccountInvoker) GetBaseInvoker added in v0.1.118

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

func (*CreateAccountInvoker) Invoke

type DisableControlInvoker

type DisableControlInvoker struct {
	*invoker.BaseInvoker
}

func (*DisableControlInvoker) GetBaseInvoker added in v0.1.118

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

func (*DisableControlInvoker) Invoke

type EnableControlInvoker

type EnableControlInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableControlInvoker) GetBaseInvoker added in v0.1.118

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

func (*EnableControlInvoker) Invoke

type ListControlsForOrganizationalUnitInvoker added in v0.1.98

type ListControlsForOrganizationalUnitInvoker struct {
	*invoker.BaseInvoker
}

func (*ListControlsForOrganizationalUnitInvoker) GetBaseInvoker added in v0.1.118

func (*ListControlsForOrganizationalUnitInvoker) Invoke added in v0.1.98

type ListEnabledControlsInvoker

type ListEnabledControlsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEnabledControlsInvoker) GetBaseInvoker added in v0.1.118

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

func (*ListEnabledControlsInvoker) Invoke

type RegisterOrganizationalUnitInvoker

type RegisterOrganizationalUnitInvoker struct {
	*invoker.BaseInvoker
}

func (*RegisterOrganizationalUnitInvoker) GetBaseInvoker added in v0.1.118

func (*RegisterOrganizationalUnitInvoker) Invoke

type RgcClient

type RgcClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewRgcClient

func NewRgcClient(hcClient *httpclient.HcHttpClient) *RgcClient

func (*RgcClient) CreateAccount

func (c *RgcClient) CreateAccount(request *model.CreateAccountRequest) (*model.CreateAccountResponse, error)

CreateAccount 创建账号

在组织里的某个注册OU下创建账号。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) CreateAccountInvoker

func (c *RgcClient) CreateAccountInvoker(request *model.CreateAccountRequest) *CreateAccountInvoker

CreateAccountInvoker 创建账号

func (*RgcClient) DisableControl

func (c *RgcClient) DisableControl(request *model.DisableControlRequest) (*model.DisableControlResponse, error)

DisableControl 关闭控制策略

关闭组织下的某个单元的某个控制策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) DisableControlInvoker

func (c *RgcClient) DisableControlInvoker(request *model.DisableControlRequest) *DisableControlInvoker

DisableControlInvoker 关闭控制策略

func (*RgcClient) EnableControl

func (c *RgcClient) EnableControl(request *model.EnableControlRequest) (*model.EnableControlResponse, error)

EnableControl 开启控制策略

给组织下的某个单元开启某个控制策略。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) EnableControlInvoker

func (c *RgcClient) EnableControlInvoker(request *model.EnableControlRequest) *EnableControlInvoker

EnableControlInvoker 开启控制策略

func (*RgcClient) ListControlsForOrganizationalUnit added in v0.1.98

ListControlsForOrganizationalUnit 列出注册OU下开启的控制策略

列出组织里某个注册OU开启的所有控制策略信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) ListControlsForOrganizationalUnitInvoker added in v0.1.98

func (c *RgcClient) ListControlsForOrganizationalUnitInvoker(request *model.ListControlsForOrganizationalUnitRequest) *ListControlsForOrganizationalUnitInvoker

ListControlsForOrganizationalUnitInvoker 列出注册OU下开启的控制策略

func (*RgcClient) ListEnabledControls

ListEnabledControls 列出开启的控制策略

列出组织里开启的所有控制策略信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) ListEnabledControlsInvoker

func (c *RgcClient) ListEnabledControlsInvoker(request *model.ListEnabledControlsRequest) *ListEnabledControlsInvoker

ListEnabledControlsInvoker 列出开启的控制策略

func (*RgcClient) RegisterOrganizationalUnit

RegisterOrganizationalUnit 注册OU

将组织里的某个OU注册到RGC服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) RegisterOrganizationalUnitInvoker

func (c *RgcClient) RegisterOrganizationalUnitInvoker(request *model.RegisterOrganizationalUnitRequest) *RegisterOrganizationalUnitInvoker

RegisterOrganizationalUnitInvoker 注册OU

func (*RgcClient) ShowControlOperate

func (c *RgcClient) ShowControlOperate(request *model.ShowControlOperateRequest) (*model.ShowControlOperateResponse, error)

ShowControlOperate 查询控制策略操作状态

根据操作ID查询返回指定ID的操作状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) ShowControlOperateInvoker

func (c *RgcClient) ShowControlOperateInvoker(request *model.ShowControlOperateRequest) *ShowControlOperateInvoker

ShowControlOperateInvoker 查询控制策略操作状态

func (*RgcClient) ShowManagedAccount

func (c *RgcClient) ShowManagedAccount(request *model.ShowManagedAccountRequest) (*model.ShowManagedAccountResponse, error)

ShowManagedAccount 查询纳管账号信息

查询组织里某个纳管账号信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) ShowManagedAccountInvoker

func (c *RgcClient) ShowManagedAccountInvoker(request *model.ShowManagedAccountRequest) *ShowManagedAccountInvoker

ShowManagedAccountInvoker 查询纳管账号信息

func (*RgcClient) ShowOperation

func (c *RgcClient) ShowOperation(request *model.ShowOperationRequest) (*model.ShowOperationResponse, error)

ShowOperation 查询注册过程信息

查询在RGC服务里注册/取消注册的过程信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*RgcClient) ShowOperationInvoker

func (c *RgcClient) ShowOperationInvoker(request *model.ShowOperationRequest) *ShowOperationInvoker

ShowOperationInvoker 查询注册过程信息

type ShowControlOperateInvoker

type ShowControlOperateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowControlOperateInvoker) GetBaseInvoker added in v0.1.118

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

func (*ShowControlOperateInvoker) Invoke

type ShowManagedAccountInvoker

type ShowManagedAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowManagedAccountInvoker) GetBaseInvoker added in v0.1.118

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

func (*ShowManagedAccountInvoker) Invoke

type ShowOperationInvoker

type ShowOperationInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOperationInvoker) GetBaseInvoker added in v0.1.118

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

func (*ShowOperationInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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