v1

package
v0.0.82 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 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 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)

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

func (*GesClient) ClearGraph

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

清空图中所有数据。

func (*GesClient) CreateBackup

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

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

func (*GesClient) CreateGraph

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

创建一个图。

func (*GesClient) CreateMetadata

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

新增元数据。

func (*GesClient) DeleteBackup

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

删除备份。

func (*GesClient) DeleteGraph

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

删除一个图。

func (*GesClient) DeleteMetadata

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

删除元数据。

func (*GesClient) DetachEip

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

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

func (*GesClient) ExpandGraph added in v0.0.69

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

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

func (*GesClient) ExportGraph

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

导出图。

func (*GesClient) ImportGraph

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

增量导入图数据。

func (*GesClient) ListBackups

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

查询备份列表。

func (*GesClient) ListGraphBackups

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

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

func (*GesClient) ListGraphMetadatas

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

查询某个图下的元数据。

func (*GesClient) ListGraphs

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

查询当前租户所有的图。

func (*GesClient) ListJobs

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

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

func (*GesClient) ListMetadatas

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

查询元数据列表。

func (*GesClient) ListQuotas

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

查询租户配额。

func (*GesClient) ResizeGraph added in v0.0.69

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

扩容图规格。

func (*GesClient) RestartGraph

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

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

func (*GesClient) ShowGraph

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

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

func (*GesClient) ShowJob

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

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

func (*GesClient) StartGraph

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

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

func (*GesClient) StopGraph

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

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

func (*GesClient) UpgradeGraph

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

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

func (*GesClient) UploadFromObs added in v0.0.69

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

从OBS导入元数据。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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