Documentation ¶
Index ¶
- func EpsClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForCreateEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForDisableEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForEnableEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForListApiVersions() *def.HttpRequestDef
- func GenReqDefForListEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForListProviders() *def.HttpRequestDef
- func GenReqDefForMigrateResource() *def.HttpRequestDef
- func GenReqDefForShowApiVersion() *def.HttpRequestDef
- func GenReqDefForShowEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForShowEnterpriseProjectQuota() *def.HttpRequestDef
- func GenReqDefForShowResourceBindEnterpriseProject() *def.HttpRequestDef
- func GenReqDefForUpdateEnterpriseProject() *def.HttpRequestDef
- type CreateEnterpriseProjectInvoker
- type DisableEnterpriseProjectInvoker
- type EnableEnterpriseProjectInvoker
- type EpsClient
- func (c *EpsClient) CreateEnterpriseProject(request *model.CreateEnterpriseProjectRequest) (*model.CreateEnterpriseProjectResponse, error)
- func (c *EpsClient) CreateEnterpriseProjectInvoker(request *model.CreateEnterpriseProjectRequest) *CreateEnterpriseProjectInvoker
- func (c *EpsClient) DisableEnterpriseProject(request *model.DisableEnterpriseProjectRequest) (*model.DisableEnterpriseProjectResponse, error)
- func (c *EpsClient) DisableEnterpriseProjectInvoker(request *model.DisableEnterpriseProjectRequest) *DisableEnterpriseProjectInvoker
- func (c *EpsClient) EnableEnterpriseProject(request *model.EnableEnterpriseProjectRequest) (*model.EnableEnterpriseProjectResponse, error)
- func (c *EpsClient) EnableEnterpriseProjectInvoker(request *model.EnableEnterpriseProjectRequest) *EnableEnterpriseProjectInvoker
- func (c *EpsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
- func (c *EpsClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
- func (c *EpsClient) ListEnterpriseProject(request *model.ListEnterpriseProjectRequest) (*model.ListEnterpriseProjectResponse, error)
- func (c *EpsClient) ListEnterpriseProjectInvoker(request *model.ListEnterpriseProjectRequest) *ListEnterpriseProjectInvoker
- func (c *EpsClient) ListProviders(request *model.ListProvidersRequest) (*model.ListProvidersResponse, error)
- func (c *EpsClient) ListProvidersInvoker(request *model.ListProvidersRequest) *ListProvidersInvoker
- func (c *EpsClient) MigrateResource(request *model.MigrateResourceRequest) (*model.MigrateResourceResponse, error)
- func (c *EpsClient) MigrateResourceInvoker(request *model.MigrateResourceRequest) *MigrateResourceInvoker
- func (c *EpsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
- func (c *EpsClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker
- func (c *EpsClient) ShowEnterpriseProject(request *model.ShowEnterpriseProjectRequest) (*model.ShowEnterpriseProjectResponse, error)
- func (c *EpsClient) ShowEnterpriseProjectInvoker(request *model.ShowEnterpriseProjectRequest) *ShowEnterpriseProjectInvoker
- func (c *EpsClient) ShowEnterpriseProjectQuota(request *model.ShowEnterpriseProjectQuotaRequest) (*model.ShowEnterpriseProjectQuotaResponse, error)
- func (c *EpsClient) ShowEnterpriseProjectQuotaInvoker(request *model.ShowEnterpriseProjectQuotaRequest) *ShowEnterpriseProjectQuotaInvoker
- func (c *EpsClient) ShowResourceBindEnterpriseProject(request *model.ShowResourceBindEnterpriseProjectRequest) (*model.ShowResourceBindEnterpriseProjectResponse, error)
- func (c *EpsClient) ShowResourceBindEnterpriseProjectInvoker(request *model.ShowResourceBindEnterpriseProjectRequest) *ShowResourceBindEnterpriseProjectInvoker
- func (c *EpsClient) UpdateEnterpriseProject(request *model.UpdateEnterpriseProjectRequest) (*model.UpdateEnterpriseProjectResponse, error)
- func (c *EpsClient) UpdateEnterpriseProjectInvoker(request *model.UpdateEnterpriseProjectRequest) *UpdateEnterpriseProjectInvoker
- type ListApiVersionsInvoker
- type ListEnterpriseProjectInvoker
- type ListProvidersInvoker
- type MigrateResourceInvoker
- type ShowApiVersionInvoker
- type ShowEnterpriseProjectInvoker
- type ShowEnterpriseProjectQuotaInvoker
- type ShowResourceBindEnterpriseProjectInvoker
- type UpdateEnterpriseProjectInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EpsClientBuilder ¶
func EpsClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForCreateEnterpriseProject ¶
func GenReqDefForCreateEnterpriseProject() *def.HttpRequestDef
func GenReqDefForDisableEnterpriseProject ¶
func GenReqDefForDisableEnterpriseProject() *def.HttpRequestDef
func GenReqDefForEnableEnterpriseProject ¶
func GenReqDefForEnableEnterpriseProject() *def.HttpRequestDef
func GenReqDefForListApiVersions ¶
func GenReqDefForListApiVersions() *def.HttpRequestDef
func GenReqDefForListEnterpriseProject ¶
func GenReqDefForListEnterpriseProject() *def.HttpRequestDef
func GenReqDefForListProviders ¶ added in v0.1.11
func GenReqDefForListProviders() *def.HttpRequestDef
func GenReqDefForMigrateResource ¶
func GenReqDefForMigrateResource() *def.HttpRequestDef
func GenReqDefForShowApiVersion ¶
func GenReqDefForShowApiVersion() *def.HttpRequestDef
func GenReqDefForShowEnterpriseProject ¶
func GenReqDefForShowEnterpriseProject() *def.HttpRequestDef
func GenReqDefForShowEnterpriseProjectQuota ¶
func GenReqDefForShowEnterpriseProjectQuota() *def.HttpRequestDef
func GenReqDefForShowResourceBindEnterpriseProject ¶
func GenReqDefForShowResourceBindEnterpriseProject() *def.HttpRequestDef
func GenReqDefForUpdateEnterpriseProject ¶
func GenReqDefForUpdateEnterpriseProject() *def.HttpRequestDef
Types ¶
type CreateEnterpriseProjectInvoker ¶ added in v0.0.90
type CreateEnterpriseProjectInvoker struct {
*invoker.BaseInvoker
}
func (*CreateEnterpriseProjectInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *CreateEnterpriseProjectInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*CreateEnterpriseProjectInvoker) Invoke ¶ added in v0.0.90
func (i *CreateEnterpriseProjectInvoker) Invoke() (*model.CreateEnterpriseProjectResponse, error)
type DisableEnterpriseProjectInvoker ¶ added in v0.0.90
type DisableEnterpriseProjectInvoker struct {
*invoker.BaseInvoker
}
func (*DisableEnterpriseProjectInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *DisableEnterpriseProjectInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*DisableEnterpriseProjectInvoker) Invoke ¶ added in v0.0.90
func (i *DisableEnterpriseProjectInvoker) Invoke() (*model.DisableEnterpriseProjectResponse, error)
type EnableEnterpriseProjectInvoker ¶ added in v0.0.90
type EnableEnterpriseProjectInvoker struct {
*invoker.BaseInvoker
}
func (*EnableEnterpriseProjectInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *EnableEnterpriseProjectInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*EnableEnterpriseProjectInvoker) Invoke ¶ added in v0.0.90
func (i *EnableEnterpriseProjectInvoker) Invoke() (*model.EnableEnterpriseProjectResponse, error)
type EpsClient ¶
type EpsClient struct {
HcClient *httpclient.HcHttpClient
}
func NewEpsClient ¶
func NewEpsClient(hcClient *httpclient.HcHttpClient) *EpsClient
func (*EpsClient) CreateEnterpriseProject ¶
func (c *EpsClient) CreateEnterpriseProject(request *model.CreateEnterpriseProjectRequest) (*model.CreateEnterpriseProjectResponse, error)
CreateEnterpriseProject 创建企业项目
创建企业项目。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) CreateEnterpriseProjectInvoker ¶ added in v0.0.90
func (c *EpsClient) CreateEnterpriseProjectInvoker(request *model.CreateEnterpriseProjectRequest) *CreateEnterpriseProjectInvoker
CreateEnterpriseProjectInvoker 创建企业项目
func (*EpsClient) DisableEnterpriseProject ¶
func (c *EpsClient) DisableEnterpriseProject(request *model.DisableEnterpriseProjectRequest) (*model.DisableEnterpriseProjectResponse, error)
DisableEnterpriseProject 停用企业项目
停用企业项目。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) DisableEnterpriseProjectInvoker ¶ added in v0.0.90
func (c *EpsClient) DisableEnterpriseProjectInvoker(request *model.DisableEnterpriseProjectRequest) *DisableEnterpriseProjectInvoker
DisableEnterpriseProjectInvoker 停用企业项目
func (*EpsClient) EnableEnterpriseProject ¶
func (c *EpsClient) EnableEnterpriseProject(request *model.EnableEnterpriseProjectRequest) (*model.EnableEnterpriseProjectResponse, error)
EnableEnterpriseProject 启用企业项目
启用企业项目。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) EnableEnterpriseProjectInvoker ¶ added in v0.0.90
func (c *EpsClient) EnableEnterpriseProjectInvoker(request *model.EnableEnterpriseProjectRequest) *EnableEnterpriseProjectInvoker
EnableEnterpriseProjectInvoker 启用企业项目
func (*EpsClient) ListApiVersions ¶
func (c *EpsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error)
ListApiVersions 查询API版本列表
查询企业项目的API版本列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) ListApiVersionsInvoker ¶ added in v0.0.90
func (c *EpsClient) ListApiVersionsInvoker(request *model.ListApiVersionsRequest) *ListApiVersionsInvoker
ListApiVersionsInvoker 查询API版本列表
func (*EpsClient) ListEnterpriseProject ¶
func (c *EpsClient) ListEnterpriseProject(request *model.ListEnterpriseProjectRequest) (*model.ListEnterpriseProjectResponse, error)
ListEnterpriseProject 查询企业项目列表
查询当前用户已授权的企业项目列表,用户可以使用企业项目绑定资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) ListEnterpriseProjectInvoker ¶ added in v0.0.90
func (c *EpsClient) ListEnterpriseProjectInvoker(request *model.ListEnterpriseProjectRequest) *ListEnterpriseProjectInvoker
ListEnterpriseProjectInvoker 查询企业项目列表
func (*EpsClient) ListProviders ¶ added in v0.1.11
func (c *EpsClient) ListProviders(request *model.ListProvidersRequest) (*model.ListProvidersResponse, error)
ListProviders 查询企业项目支持的服务
查询企业项目支持的服务
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) ListProvidersInvoker ¶ added in v0.1.11
func (c *EpsClient) ListProvidersInvoker(request *model.ListProvidersRequest) *ListProvidersInvoker
ListProvidersInvoker 查询企业项目支持的服务
func (*EpsClient) MigrateResource ¶
func (c *EpsClient) MigrateResource(request *model.MigrateResourceRequest) (*model.MigrateResourceResponse, error)
MigrateResource 迁移资源
迁移资源到目标企业项目。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) MigrateResourceInvoker ¶ added in v0.0.90
func (c *EpsClient) MigrateResourceInvoker(request *model.MigrateResourceRequest) *MigrateResourceInvoker
MigrateResourceInvoker 迁移资源
func (*EpsClient) ShowApiVersion ¶
func (c *EpsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error)
ShowApiVersion 查询API版本号详情
查询指定的企业项目API版本号详情
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) ShowApiVersionInvoker ¶ added in v0.0.90
func (c *EpsClient) ShowApiVersionInvoker(request *model.ShowApiVersionRequest) *ShowApiVersionInvoker
ShowApiVersionInvoker 查询API版本号详情
func (*EpsClient) ShowEnterpriseProject ¶
func (c *EpsClient) ShowEnterpriseProject(request *model.ShowEnterpriseProjectRequest) (*model.ShowEnterpriseProjectResponse, error)
ShowEnterpriseProject 查询企业项目详情
查询企业项目详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) ShowEnterpriseProjectInvoker ¶ added in v0.0.90
func (c *EpsClient) ShowEnterpriseProjectInvoker(request *model.ShowEnterpriseProjectRequest) *ShowEnterpriseProjectInvoker
ShowEnterpriseProjectInvoker 查询企业项目详情
func (*EpsClient) ShowEnterpriseProjectQuota ¶
func (c *EpsClient) ShowEnterpriseProjectQuota(request *model.ShowEnterpriseProjectQuotaRequest) (*model.ShowEnterpriseProjectQuotaResponse, error)
ShowEnterpriseProjectQuota 查询企业项目配额
查询企业项目的配额信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) ShowEnterpriseProjectQuotaInvoker ¶ added in v0.0.90
func (c *EpsClient) ShowEnterpriseProjectQuotaInvoker(request *model.ShowEnterpriseProjectQuotaRequest) *ShowEnterpriseProjectQuotaInvoker
ShowEnterpriseProjectQuotaInvoker 查询企业项目配额
func (*EpsClient) ShowResourceBindEnterpriseProject ¶
func (c *EpsClient) ShowResourceBindEnterpriseProject(request *model.ShowResourceBindEnterpriseProjectRequest) (*model.ShowResourceBindEnterpriseProjectResponse, error)
ShowResourceBindEnterpriseProject 查询企业项目绑定的资源列表
查询企业项目下绑定的资源详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) ShowResourceBindEnterpriseProjectInvoker ¶ added in v0.0.90
func (c *EpsClient) ShowResourceBindEnterpriseProjectInvoker(request *model.ShowResourceBindEnterpriseProjectRequest) *ShowResourceBindEnterpriseProjectInvoker
ShowResourceBindEnterpriseProjectInvoker 查询企业项目绑定的资源列表
func (*EpsClient) UpdateEnterpriseProject ¶
func (c *EpsClient) UpdateEnterpriseProject(request *model.UpdateEnterpriseProjectRequest) (*model.UpdateEnterpriseProjectResponse, error)
UpdateEnterpriseProject 修改企业项目
修改企业项目。当前仅支持修改名称和描述。
Please refer to HUAWEI cloud API Explorer for details.
func (*EpsClient) UpdateEnterpriseProjectInvoker ¶ added in v0.0.90
func (c *EpsClient) UpdateEnterpriseProjectInvoker(request *model.UpdateEnterpriseProjectRequest) *UpdateEnterpriseProjectInvoker
UpdateEnterpriseProjectInvoker 修改企业项目
type ListApiVersionsInvoker ¶ added in v0.0.90
type ListApiVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListApiVersionsInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListApiVersionsInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListApiVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListApiVersionsInvoker) Invoke() (*model.ListApiVersionsResponse, error)
type ListEnterpriseProjectInvoker ¶ added in v0.0.90
type ListEnterpriseProjectInvoker struct {
*invoker.BaseInvoker
}
func (*ListEnterpriseProjectInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListEnterpriseProjectInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListEnterpriseProjectInvoker) Invoke ¶ added in v0.0.90
func (i *ListEnterpriseProjectInvoker) Invoke() (*model.ListEnterpriseProjectResponse, error)
type ListProvidersInvoker ¶ added in v0.1.11
type ListProvidersInvoker struct {
*invoker.BaseInvoker
}
func (*ListProvidersInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ListProvidersInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ListProvidersInvoker) Invoke ¶ added in v0.1.11
func (i *ListProvidersInvoker) Invoke() (*model.ListProvidersResponse, error)
type MigrateResourceInvoker ¶ added in v0.0.90
type MigrateResourceInvoker struct {
*invoker.BaseInvoker
}
func (*MigrateResourceInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *MigrateResourceInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*MigrateResourceInvoker) Invoke ¶ added in v0.0.90
func (i *MigrateResourceInvoker) Invoke() (*model.MigrateResourceResponse, error)
type ShowApiVersionInvoker ¶ added in v0.0.90
type ShowApiVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowApiVersionInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowApiVersionInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowApiVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowApiVersionInvoker) Invoke() (*model.ShowApiVersionResponse, error)
type ShowEnterpriseProjectInvoker ¶ added in v0.0.90
type ShowEnterpriseProjectInvoker struct {
*invoker.BaseInvoker
}
func (*ShowEnterpriseProjectInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowEnterpriseProjectInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowEnterpriseProjectInvoker) Invoke ¶ added in v0.0.90
func (i *ShowEnterpriseProjectInvoker) Invoke() (*model.ShowEnterpriseProjectResponse, error)
type ShowEnterpriseProjectQuotaInvoker ¶ added in v0.0.90
type ShowEnterpriseProjectQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowEnterpriseProjectQuotaInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowEnterpriseProjectQuotaInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowEnterpriseProjectQuotaInvoker) Invoke ¶ added in v0.0.90
func (i *ShowEnterpriseProjectQuotaInvoker) Invoke() (*model.ShowEnterpriseProjectQuotaResponse, error)
type ShowResourceBindEnterpriseProjectInvoker ¶ added in v0.0.90
type ShowResourceBindEnterpriseProjectInvoker struct {
*invoker.BaseInvoker
}
func (*ShowResourceBindEnterpriseProjectInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *ShowResourceBindEnterpriseProjectInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowResourceBindEnterpriseProjectInvoker) Invoke ¶ added in v0.0.90
func (i *ShowResourceBindEnterpriseProjectInvoker) Invoke() (*model.ShowResourceBindEnterpriseProjectResponse, error)
type UpdateEnterpriseProjectInvoker ¶ added in v0.0.90
type UpdateEnterpriseProjectInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateEnterpriseProjectInvoker) GetBaseInvoker ¶ added in v0.1.118
func (i *UpdateEnterpriseProjectInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*UpdateEnterpriseProjectInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateEnterpriseProjectInvoker) Invoke() (*model.UpdateEnterpriseProjectResponse, error)