Documentation ¶
Index ¶
- func GenReqDefForCreateAccount() *def.HttpRequestDef
- func GenReqDefForDisableControl() *def.HttpRequestDef
- func GenReqDefForEnableControl() *def.HttpRequestDef
- func GenReqDefForListControlsForOrganizationalUnit() *def.HttpRequestDef
- func GenReqDefForListEnabledControls() *def.HttpRequestDef
- func GenReqDefForRegisterOrganizationalUnit() *def.HttpRequestDef
- func GenReqDefForShowControlOperate() *def.HttpRequestDef
- func GenReqDefForShowManagedAccount() *def.HttpRequestDef
- func GenReqDefForShowOperation() *def.HttpRequestDef
- func RgcClientBuilder() *httpclient.HcHttpClientBuilder
- type CreateAccountInvoker
- type DisableControlInvoker
- type EnableControlInvoker
- type ListControlsForOrganizationalUnitInvoker
- type ListEnabledControlsInvoker
- type RegisterOrganizationalUnitInvoker
- type RgcClient
- func (c *RgcClient) CreateAccount(request *model.CreateAccountRequest) (*model.CreateAccountResponse, error)
- func (c *RgcClient) CreateAccountInvoker(request *model.CreateAccountRequest) *CreateAccountInvoker
- func (c *RgcClient) DisableControl(request *model.DisableControlRequest) (*model.DisableControlResponse, error)
- func (c *RgcClient) DisableControlInvoker(request *model.DisableControlRequest) *DisableControlInvoker
- func (c *RgcClient) EnableControl(request *model.EnableControlRequest) (*model.EnableControlResponse, error)
- func (c *RgcClient) EnableControlInvoker(request *model.EnableControlRequest) *EnableControlInvoker
- func (c *RgcClient) ListControlsForOrganizationalUnit(request *model.ListControlsForOrganizationalUnitRequest) (*model.ListControlsForOrganizationalUnitResponse, error)
- func (c *RgcClient) ListControlsForOrganizationalUnitInvoker(request *model.ListControlsForOrganizationalUnitRequest) *ListControlsForOrganizationalUnitInvoker
- func (c *RgcClient) ListEnabledControls(request *model.ListEnabledControlsRequest) (*model.ListEnabledControlsResponse, error)
- func (c *RgcClient) ListEnabledControlsInvoker(request *model.ListEnabledControlsRequest) *ListEnabledControlsInvoker
- func (c *RgcClient) RegisterOrganizationalUnit(request *model.RegisterOrganizationalUnitRequest) (*model.RegisterOrganizationalUnitResponse, error)
- func (c *RgcClient) RegisterOrganizationalUnitInvoker(request *model.RegisterOrganizationalUnitRequest) *RegisterOrganizationalUnitInvoker
- func (c *RgcClient) ShowControlOperate(request *model.ShowControlOperateRequest) (*model.ShowControlOperateResponse, error)
- func (c *RgcClient) ShowControlOperateInvoker(request *model.ShowControlOperateRequest) *ShowControlOperateInvoker
- func (c *RgcClient) ShowManagedAccount(request *model.ShowManagedAccountRequest) (*model.ShowManagedAccountResponse, error)
- func (c *RgcClient) ShowManagedAccountInvoker(request *model.ShowManagedAccountRequest) *ShowManagedAccountInvoker
- func (c *RgcClient) ShowOperation(request *model.ShowOperationRequest) (*model.ShowOperationResponse, error)
- func (c *RgcClient) ShowOperationInvoker(request *model.ShowOperationRequest) *ShowOperationInvoker
- type ShowControlOperateInvoker
- type ShowManagedAccountInvoker
- type ShowOperationInvoker
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 ¶
func (i *CreateAccountInvoker) Invoke() (*model.CreateAccountResponse, error)
type DisableControlInvoker ¶
type DisableControlInvoker struct {
*invoker.BaseInvoker
}
func (*DisableControlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DisableControlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DisableControlInvoker) Invoke ¶
func (i *DisableControlInvoker) Invoke() (*model.DisableControlResponse, error)
type EnableControlInvoker ¶
type EnableControlInvoker struct {
*invoker.BaseInvoker
}
func (*EnableControlInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *EnableControlInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*EnableControlInvoker) Invoke ¶
func (i *EnableControlInvoker) Invoke() (*model.EnableControlResponse, error)
type ListControlsForOrganizationalUnitInvoker ¶ added in v0.1.98
type ListControlsForOrganizationalUnitInvoker struct {
*invoker.BaseInvoker
}
func (*ListControlsForOrganizationalUnitInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListControlsForOrganizationalUnitInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListControlsForOrganizationalUnitInvoker) Invoke ¶ added in v0.1.98
func (i *ListControlsForOrganizationalUnitInvoker) Invoke() (*model.ListControlsForOrganizationalUnitResponse, error)
type ListEnabledControlsInvoker ¶
type ListEnabledControlsInvoker struct {
*invoker.BaseInvoker
}
func (*ListEnabledControlsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListEnabledControlsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListEnabledControlsInvoker) Invoke ¶
func (i *ListEnabledControlsInvoker) Invoke() (*model.ListEnabledControlsResponse, error)
type RegisterOrganizationalUnitInvoker ¶
type RegisterOrganizationalUnitInvoker struct {
*invoker.BaseInvoker
}
func (*RegisterOrganizationalUnitInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *RegisterOrganizationalUnitInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*RegisterOrganizationalUnitInvoker) Invoke ¶
func (i *RegisterOrganizationalUnitInvoker) Invoke() (*model.RegisterOrganizationalUnitResponse, error)
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
func (c *RgcClient) ListControlsForOrganizationalUnit(request *model.ListControlsForOrganizationalUnitRequest) (*model.ListControlsForOrganizationalUnitResponse, error)
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 ¶
func (c *RgcClient) ListEnabledControls(request *model.ListEnabledControlsRequest) (*model.ListEnabledControlsResponse, error)
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 ¶
func (c *RgcClient) RegisterOrganizationalUnit(request *model.RegisterOrganizationalUnitRequest) (*model.RegisterOrganizationalUnitResponse, error)
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 ¶
func (i *ShowControlOperateInvoker) Invoke() (*model.ShowControlOperateResponse, error)
type ShowManagedAccountInvoker ¶
type ShowManagedAccountInvoker struct {
*invoker.BaseInvoker
}
func (*ShowManagedAccountInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowManagedAccountInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowManagedAccountInvoker) Invoke ¶
func (i *ShowManagedAccountInvoker) Invoke() (*model.ShowManagedAccountResponse, error)
type ShowOperationInvoker ¶
type ShowOperationInvoker struct {
*invoker.BaseInvoker
}
func (*ShowOperationInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowOperationInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowOperationInvoker) Invoke ¶
func (i *ShowOperationInvoker) Invoke() (*model.ShowOperationResponse, error)