v1

package
v0.1.109 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 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 GenReqDefForDisableControl

func GenReqDefForDisableControl() *def.HttpRequestDef

func GenReqDefForEnableControl

func GenReqDefForEnableControl() *def.HttpRequestDef

func GenReqDefForListControlsForOrganizationalUnit added in v0.1.98

func GenReqDefForListControlsForOrganizationalUnit() *def.HttpRequestDef

func GenReqDefForShowControlOperate

func GenReqDefForShowControlOperate() *def.HttpRequestDef

func RgcClientBuilder

func RgcClientBuilder() *httpclient.HcHttpClientBuilder

Types

type DisableControlInvoker

type DisableControlInvoker struct {
	*invoker.BaseInvoker
}

func (*DisableControlInvoker) Invoke

type EnableControlInvoker

type EnableControlInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableControlInvoker) Invoke

type ListControlsForOrganizationalUnitInvoker added in v0.1.98

type ListControlsForOrganizationalUnitInvoker struct {
	*invoker.BaseInvoker
}

func (*ListControlsForOrganizationalUnitInvoker) Invoke added in v0.1.98

type RgcClient

type RgcClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewRgcClient

func NewRgcClient(hcClient *httpclient.HcHttpClient) *RgcClient

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) 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 查询控制策略操作状态

type ShowControlOperateInvoker

type ShowControlOperateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowControlOperateInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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