v1

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: May 11, 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 GenReqDefForAttachEip

func GenReqDefForAttachEip() *def.HttpRequestDef

func GenReqDefForClearGraph

func GenReqDefForClearGraph() *def.HttpRequestDef

func GenReqDefForCreateBackup

func GenReqDefForCreateBackup() *def.HttpRequestDef

func GenReqDefForCreateGraph

func GenReqDefForCreateGraph() *def.HttpRequestDef

func GenReqDefForCreateMetadata

func GenReqDefForCreateMetadata() *def.HttpRequestDef

func GenReqDefForDeleteBackup

func GenReqDefForDeleteBackup() *def.HttpRequestDef

func GenReqDefForDeleteGraph

func GenReqDefForDeleteGraph() *def.HttpRequestDef

func GenReqDefForDeleteMetadata

func GenReqDefForDeleteMetadata() *def.HttpRequestDef

func GenReqDefForDetachEip

func GenReqDefForDetachEip() *def.HttpRequestDef

func GenReqDefForExpandGraph added in v0.0.69

func GenReqDefForExpandGraph() *def.HttpRequestDef

func GenReqDefForExportGraph

func GenReqDefForExportGraph() *def.HttpRequestDef

func GenReqDefForImportGraph

func GenReqDefForImportGraph() *def.HttpRequestDef

func GenReqDefForListBackups

func GenReqDefForListBackups() *def.HttpRequestDef

func GenReqDefForListGraphBackups

func GenReqDefForListGraphBackups() *def.HttpRequestDef

func GenReqDefForListGraphMetadatas

func GenReqDefForListGraphMetadatas() *def.HttpRequestDef

func GenReqDefForListGraphs

func GenReqDefForListGraphs() *def.HttpRequestDef

func GenReqDefForListJobs

func GenReqDefForListJobs() *def.HttpRequestDef

func GenReqDefForListMetadatas

func GenReqDefForListMetadatas() *def.HttpRequestDef

func GenReqDefForListQuotas

func GenReqDefForListQuotas() *def.HttpRequestDef

func GenReqDefForResizeGraph added in v0.0.69

func GenReqDefForResizeGraph() *def.HttpRequestDef

func GenReqDefForRestartGraph

func GenReqDefForRestartGraph() *def.HttpRequestDef

func GenReqDefForShowGraph

func GenReqDefForShowGraph() *def.HttpRequestDef

func GenReqDefForShowJob

func GenReqDefForShowJob() *def.HttpRequestDef

func GenReqDefForStartGraph

func GenReqDefForStartGraph() *def.HttpRequestDef

func GenReqDefForStopGraph

func GenReqDefForStopGraph() *def.HttpRequestDef

func GenReqDefForUpgradeGraph

func GenReqDefForUpgradeGraph() *def.HttpRequestDef

func GenReqDefForUploadFromObs added in v0.0.69

func GenReqDefForUploadFromObs() *def.HttpRequestDef

func GesClientBuilder

func GesClientBuilder() *http_client.HcHttpClientBuilder

Types

type AttachEipInvoker added in v0.0.90

type AttachEipInvoker struct {
	*invoker.BaseInvoker
}

func (*AttachEipInvoker) Invoke added in v0.0.90

type ClearGraphInvoker added in v0.0.90

type ClearGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*ClearGraphInvoker) Invoke added in v0.0.90

type CreateBackupInvoker added in v0.0.90

type CreateBackupInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateBackupInvoker) Invoke added in v0.0.90

type CreateGraphInvoker added in v0.0.90

type CreateGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateGraphInvoker) Invoke added in v0.0.90

type CreateMetadataInvoker added in v0.0.90

type CreateMetadataInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateMetadataInvoker) Invoke added in v0.0.90

type DeleteBackupInvoker added in v0.0.90

type DeleteBackupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBackupInvoker) Invoke added in v0.0.90

type DeleteGraphInvoker added in v0.0.90

type DeleteGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteGraphInvoker) Invoke added in v0.0.90

type DeleteMetadataInvoker added in v0.0.90

type DeleteMetadataInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMetadataInvoker) Invoke added in v0.0.90

type DetachEipInvoker added in v0.0.90

type DetachEipInvoker struct {
	*invoker.BaseInvoker
}

func (*DetachEipInvoker) Invoke added in v0.0.90

type ExpandGraphInvoker added in v0.0.90

type ExpandGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*ExpandGraphInvoker) Invoke added in v0.0.90

type ExportGraphInvoker added in v0.0.90

type ExportGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*ExportGraphInvoker) Invoke added in v0.0.90

type GesClient

type GesClient struct {
	HcClient *http_client.HcHttpClient
}

func NewGesClient

func NewGesClient(hcClient *http_client.HcHttpClient) *GesClient

func (*GesClient) AttachEip

func (c *GesClient) AttachEip(request *model.AttachEipRequest) (*model.AttachEipResponse, error)

AttachEip 绑定EIP(1.0.6)

可以通过绑定弹性公网IP(简称EIP)访问GES服务。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) AttachEipInvoker added in v0.0.90

func (c *GesClient) AttachEipInvoker(request *model.AttachEipRequest) *AttachEipInvoker

AttachEipInvoker 绑定EIP(1.0.6)

func (*GesClient) ClearGraph

func (c *GesClient) ClearGraph(request *model.ClearGraphRequest) (*model.ClearGraphResponse, error)

ClearGraph 清空图(2.1.2)

清空图中所有数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ClearGraphInvoker added in v0.0.90

func (c *GesClient) ClearGraphInvoker(request *model.ClearGraphRequest) *ClearGraphInvoker

ClearGraphInvoker 清空图(2.1.2)

func (*GesClient) CreateBackup

func (c *GesClient) CreateBackup(request *model.CreateBackupRequest) (*model.CreateBackupResponse, error)

CreateBackup 新增备份(1.0.0)

新增备份。当前图数据出现错误或故障时,可以启动备份图进行恢复。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) CreateBackupInvoker added in v0.0.90

func (c *GesClient) CreateBackupInvoker(request *model.CreateBackupRequest) *CreateBackupInvoker

CreateBackupInvoker 新增备份(1.0.0)

func (*GesClient) CreateGraph

func (c *GesClient) CreateGraph(request *model.CreateGraphRequest) (*model.CreateGraphResponse, error)

CreateGraph 创建图(2.2.2)

创建一个图。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) CreateGraphInvoker added in v0.0.90

func (c *GesClient) CreateGraphInvoker(request *model.CreateGraphRequest) *CreateGraphInvoker

CreateGraphInvoker 创建图(2.2.2)

func (*GesClient) CreateMetadata

func (c *GesClient) CreateMetadata(request *model.CreateMetadataRequest) (*model.CreateMetadataResponse, error)

CreateMetadata 新增元数据(2.1.18)

新增元数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) CreateMetadataInvoker added in v0.0.90

func (c *GesClient) CreateMetadataInvoker(request *model.CreateMetadataRequest) *CreateMetadataInvoker

CreateMetadataInvoker 新增元数据(2.1.18)

func (*GesClient) DeleteBackup

func (c *GesClient) DeleteBackup(request *model.DeleteBackupRequest) (*model.DeleteBackupResponse, error)

DeleteBackup 删除备份(1.0.0)

删除备份。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) DeleteBackupInvoker added in v0.0.90

func (c *GesClient) DeleteBackupInvoker(request *model.DeleteBackupRequest) *DeleteBackupInvoker

DeleteBackupInvoker 删除备份(1.0.0)

func (*GesClient) DeleteGraph

func (c *GesClient) DeleteGraph(request *model.DeleteGraphRequest) (*model.DeleteGraphResponse, error)

DeleteGraph 删除图(1.0.0)

删除一个图。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) DeleteGraphInvoker added in v0.0.90

func (c *GesClient) DeleteGraphInvoker(request *model.DeleteGraphRequest) *DeleteGraphInvoker

DeleteGraphInvoker 删除图(1.0.0)

func (*GesClient) DeleteMetadata

func (c *GesClient) DeleteMetadata(request *model.DeleteMetadataRequest) (*model.DeleteMetadataResponse, error)

DeleteMetadata 删除元数据(1.0.2)

删除元数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) DeleteMetadataInvoker added in v0.0.90

func (c *GesClient) DeleteMetadataInvoker(request *model.DeleteMetadataRequest) *DeleteMetadataInvoker

DeleteMetadataInvoker 删除元数据(1.0.2)

func (*GesClient) DetachEip

func (c *GesClient) DetachEip(request *model.DetachEipRequest) (*model.DetachEipResponse, error)

DetachEip 解绑EIP(1.0.6)

当无需继续使用EIP时,您可通过解绑EIP来释放网络资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) DetachEipInvoker added in v0.0.90

func (c *GesClient) DetachEipInvoker(request *model.DetachEipRequest) *DetachEipInvoker

DetachEipInvoker 解绑EIP(1.0.6)

func (*GesClient) ExpandGraph added in v0.0.69

func (c *GesClient) ExpandGraph(request *model.ExpandGraphRequest) (*model.ExpandGraphResponse, error)

ExpandGraph 扩副本(2.2.23)

扩副本能力允许动态扩容多个从节点,扩容的从节点可以处理读请求,从而提高读请求性能。 >一万边和百亿边规格的图暂不支持扩副本。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ExpandGraphInvoker added in v0.0.90

func (c *GesClient) ExpandGraphInvoker(request *model.ExpandGraphRequest) *ExpandGraphInvoker

ExpandGraphInvoker 扩副本(2.2.23)

func (*GesClient) ExportGraph

func (c *GesClient) ExportGraph(request *model.ExportGraphRequest) (*model.ExportGraphResponse, error)

ExportGraph 导出图(1.0.5)

导出图。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ExportGraphInvoker added in v0.0.90

func (c *GesClient) ExportGraphInvoker(request *model.ExportGraphRequest) *ExportGraphInvoker

ExportGraphInvoker 导出图(1.0.5)

func (*GesClient) ImportGraph

func (c *GesClient) ImportGraph(request *model.ImportGraphRequest) (*model.ImportGraphResponse, error)

ImportGraph 增量导入图(2.1.14)

增量导入图数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ImportGraphInvoker added in v0.0.90

func (c *GesClient) ImportGraphInvoker(request *model.ImportGraphRequest) *ImportGraphInvoker

ImportGraphInvoker 增量导入图(2.1.14)

func (*GesClient) ListBackups

func (c *GesClient) ListBackups(request *model.ListBackupsRequest) (*model.ListBackupsResponse, error)

ListBackups 查看所有备份列表(1.0.0)

查询备份列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ListBackupsInvoker added in v0.0.90

func (c *GesClient) ListBackupsInvoker(request *model.ListBackupsRequest) *ListBackupsInvoker

ListBackupsInvoker 查看所有备份列表(1.0.0)

func (*GesClient) ListGraphBackups

func (c *GesClient) ListGraphBackups(request *model.ListGraphBackupsRequest) (*model.ListGraphBackupsResponse, error)

ListGraphBackups 查看某个图的备份列表(1.0.0)

查询某个图下的备份列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ListGraphBackupsInvoker added in v0.0.90

func (c *GesClient) ListGraphBackupsInvoker(request *model.ListGraphBackupsRequest) *ListGraphBackupsInvoker

ListGraphBackupsInvoker 查看某个图的备份列表(1.0.0)

func (*GesClient) ListGraphMetadatas

func (c *GesClient) ListGraphMetadatas(request *model.ListGraphMetadatasRequest) (*model.ListGraphMetadatasResponse, error)

ListGraphMetadatas 查询元数据(1.0.2)

查询某个图下的元数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ListGraphMetadatasInvoker added in v0.0.90

func (c *GesClient) ListGraphMetadatasInvoker(request *model.ListGraphMetadatasRequest) *ListGraphMetadatasInvoker

ListGraphMetadatasInvoker 查询元数据(1.0.2)

func (*GesClient) ListGraphs

func (c *GesClient) ListGraphs(request *model.ListGraphsRequest) (*model.ListGraphsResponse, error)

ListGraphs 查询图列表(2.1.18)

查询当前租户所有的图。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ListGraphsInvoker added in v0.0.90

func (c *GesClient) ListGraphsInvoker(request *model.ListGraphsRequest) *ListGraphsInvoker

ListGraphsInvoker 查询图列表(2.1.18)

func (*GesClient) ListJobs

func (c *GesClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)

ListJobs 查询任务中心(1.1.8)

查询管理面任务中心。当前创建图、关闭图、启动图、删除图、增加备份、导入图、导出图、升级图等操作为异步任务,该API用于查询这些任务的详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ListJobsInvoker added in v0.0.90

func (c *GesClient) ListJobsInvoker(request *model.ListJobsRequest) *ListJobsInvoker

ListJobsInvoker 查询任务中心(1.1.8)

func (*GesClient) ListMetadatas

func (c *GesClient) ListMetadatas(request *model.ListMetadatasRequest) (*model.ListMetadatasResponse, error)

ListMetadatas 查询元数据列表(1.0.2)

查询元数据列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ListMetadatasInvoker added in v0.0.90

func (c *GesClient) ListMetadatasInvoker(request *model.ListMetadatasRequest) *ListMetadatasInvoker

ListMetadatasInvoker 查询元数据列表(1.0.2)

func (*GesClient) ListQuotas

func (c *GesClient) ListQuotas(request *model.ListQuotasRequest) (*model.ListQuotasResponse, error)

ListQuotas 查询配额(1.0.0)

查询租户配额。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ListQuotasInvoker added in v0.0.90

func (c *GesClient) ListQuotasInvoker(request *model.ListQuotasRequest) *ListQuotasInvoker

ListQuotasInvoker 查询配额(1.0.0)

func (*GesClient) ResizeGraph added in v0.0.69

func (c *GesClient) ResizeGraph(request *model.ResizeGraphRequest) (*model.ResizeGraphResponse, error)

ResizeGraph 扩容图(2.2.21)

扩容图规格。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ResizeGraphInvoker added in v0.0.90

func (c *GesClient) ResizeGraphInvoker(request *model.ResizeGraphRequest) *ResizeGraphInvoker

ResizeGraphInvoker 扩容图(2.2.21)

func (*GesClient) RestartGraph

func (c *GesClient) RestartGraph(request *model.RestartGraphRequest) (*model.RestartGraphResponse, error)

RestartGraph 强制重启图(2.2.21)

强制启动一个图。针对导入、导出 、运行中 、清空中的图。强制重启图,会将该图执行中的异步任务变为失败,然后停止图、启动图到运行状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) RestartGraphInvoker added in v0.0.90

func (c *GesClient) RestartGraphInvoker(request *model.RestartGraphRequest) *RestartGraphInvoker

RestartGraphInvoker 强制重启图(2.2.21)

func (*GesClient) ShowGraph

func (c *GesClient) ShowGraph(request *model.ShowGraphRequest) (*model.ShowGraphResponse, error)

ShowGraph 查询图详情(1.0.0)

根据图ID查询某个图详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ShowGraphInvoker added in v0.0.90

func (c *GesClient) ShowGraphInvoker(request *model.ShowGraphRequest) *ShowGraphInvoker

ShowGraphInvoker 查询图详情(1.0.0)

func (*GesClient) ShowJob

func (c *GesClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)

ShowJob 查询Job状态(1.0.0)-管理面

查询Job的执行状态。对创建图、关闭图、启动图、删除图、导入图等异步API命令下发后,会返回jobId,通过jobId查询任务的执行状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) ShowJobInvoker added in v0.0.90

func (c *GesClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker

ShowJobInvoker 查询Job状态(1.0.0)-管理面

func (*GesClient) StartGraph

func (c *GesClient) StartGraph(request *model.StartGraphRequest) (*model.StartGraphResponse, error)

StartGraph 启动图(1.0.0)

启动一个图。暂时不用的图可以先关闭,需要使用时再启动。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) StartGraphInvoker added in v0.0.90

func (c *GesClient) StartGraphInvoker(request *model.StartGraphRequest) *StartGraphInvoker

StartGraphInvoker 启动图(1.0.0)

func (*GesClient) StopGraph

func (c *GesClient) StopGraph(request *model.StopGraphRequest) (*model.StopGraphResponse, error)

StopGraph 关闭图(1.0.0)

关闭一个图。如果图创建好了,暂时不用可以先关闭,需要使用时再启用。 >处于关闭状态的图不计算实例费用。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) StopGraphInvoker added in v0.0.90

func (c *GesClient) StopGraphInvoker(request *model.StopGraphRequest) *StopGraphInvoker

StopGraphInvoker 关闭图(1.0.0)

func (*GesClient) UpgradeGraph

func (c *GesClient) UpgradeGraph(request *model.UpgradeGraphRequest) (*model.UpgradeGraphResponse, error)

UpgradeGraph 升级图(1.0.5)

升级图。图引擎服务会定期升级版本,用户可根据需要升级图。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) UpgradeGraphInvoker added in v0.0.90

func (c *GesClient) UpgradeGraphInvoker(request *model.UpgradeGraphRequest) *UpgradeGraphInvoker

UpgradeGraphInvoker 升级图(1.0.5)

func (*GesClient) UploadFromObs added in v0.0.69

func (c *GesClient) UploadFromObs(request *model.UploadFromObsRequest) (*model.UploadFromObsResponse, error)

UploadFromObs 从OBS导入元数据(1.0.0)

从OBS导入元数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*GesClient) UploadFromObsInvoker added in v0.0.90

func (c *GesClient) UploadFromObsInvoker(request *model.UploadFromObsRequest) *UploadFromObsInvoker

UploadFromObsInvoker 从OBS导入元数据(1.0.0)

type ImportGraphInvoker added in v0.0.90

type ImportGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*ImportGraphInvoker) Invoke added in v0.0.90

type ListBackupsInvoker added in v0.0.90

type ListBackupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBackupsInvoker) Invoke added in v0.0.90

type ListGraphBackupsInvoker added in v0.0.90

type ListGraphBackupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListGraphBackupsInvoker) Invoke added in v0.0.90

type ListGraphMetadatasInvoker added in v0.0.90

type ListGraphMetadatasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListGraphMetadatasInvoker) Invoke added in v0.0.90

type ListGraphsInvoker added in v0.0.90

type ListGraphsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListGraphsInvoker) Invoke added in v0.0.90

type ListJobsInvoker added in v0.0.90

type ListJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListJobsInvoker) Invoke added in v0.0.90

func (i *ListJobsInvoker) Invoke() (*model.ListJobsResponse, error)

type ListMetadatasInvoker added in v0.0.90

type ListMetadatasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMetadatasInvoker) Invoke added in v0.0.90

type ListQuotasInvoker added in v0.0.90

type ListQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotasInvoker) Invoke added in v0.0.90

type ResizeGraphInvoker added in v0.0.90

type ResizeGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeGraphInvoker) Invoke added in v0.0.90

type RestartGraphInvoker added in v0.0.90

type RestartGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartGraphInvoker) Invoke added in v0.0.90

type ShowGraphInvoker added in v0.0.90

type ShowGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowGraphInvoker) Invoke added in v0.0.90

type ShowJobInvoker added in v0.0.90

type ShowJobInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobInvoker) Invoke added in v0.0.90

func (i *ShowJobInvoker) Invoke() (*model.ShowJobResponse, error)

type StartGraphInvoker added in v0.0.90

type StartGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*StartGraphInvoker) Invoke added in v0.0.90

type StopGraphInvoker added in v0.0.90

type StopGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*StopGraphInvoker) Invoke added in v0.0.90

type UpgradeGraphInvoker added in v0.0.90

type UpgradeGraphInvoker struct {
	*invoker.BaseInvoker
}

func (*UpgradeGraphInvoker) Invoke added in v0.0.90

type UploadFromObsInvoker added in v0.0.90

type UploadFromObsInvoker struct {
	*invoker.BaseInvoker
}

func (*UploadFromObsInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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