Documentation ¶
Index ¶
- func AsmClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateMesh() *def.HttpRequestDef
- func GenReqDefForDeleteMesh() *def.HttpRequestDef
- func GenReqDefForListMeshes() *def.HttpRequestDef
- func GenReqDefForShowMesh() *def.HttpRequestDef
- type AsmClient
- func (c *AsmClient) CreateMesh(request *model.CreateMeshRequest) (*model.CreateMeshResponse, error)
- func (c *AsmClient) CreateMeshInvoker(request *model.CreateMeshRequest) *CreateMeshInvoker
- func (c *AsmClient) DeleteMesh(request *model.DeleteMeshRequest) (*model.DeleteMeshResponse, error)
- func (c *AsmClient) DeleteMeshInvoker(request *model.DeleteMeshRequest) *DeleteMeshInvoker
- func (c *AsmClient) ListMeshes(request *model.ListMeshesRequest) (*model.ListMeshesResponse, error)
- func (c *AsmClient) ListMeshesInvoker(request *model.ListMeshesRequest) *ListMeshesInvoker
- func (c *AsmClient) ShowMesh(request *model.ShowMeshRequest) (*model.ShowMeshResponse, error)
- func (c *AsmClient) ShowMeshInvoker(request *model.ShowMeshRequest) *ShowMeshInvoker
- type CreateMeshInvoker
- type DeleteMeshInvoker
- type ListMeshesInvoker
- type ShowMeshInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsmClientBuilder ¶
func AsmClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateMesh ¶
func GenReqDefForCreateMesh() *def.HttpRequestDef
func GenReqDefForDeleteMesh ¶
func GenReqDefForDeleteMesh() *def.HttpRequestDef
func GenReqDefForListMeshes ¶
func GenReqDefForListMeshes() *def.HttpRequestDef
func GenReqDefForShowMesh ¶
func GenReqDefForShowMesh() *def.HttpRequestDef
Types ¶
type AsmClient ¶
type AsmClient struct {
HcClient *http_client.HcHttpClient
}
func NewAsmClient ¶
func NewAsmClient(hcClient *http_client.HcHttpClient) *AsmClient
func (*AsmClient) CreateMesh ¶
func (c *AsmClient) CreateMesh(request *model.CreateMeshRequest) (*model.CreateMeshResponse, error)
CreateMesh 新建网格
该API用于创建一个网格
Please refer to HUAWEI cloud API Explorer for details.
func (*AsmClient) CreateMeshInvoker ¶
func (c *AsmClient) CreateMeshInvoker(request *model.CreateMeshRequest) *CreateMeshInvoker
CreateMeshInvoker 新建网格
func (*AsmClient) DeleteMesh ¶
func (c *AsmClient) DeleteMesh(request *model.DeleteMeshRequest) (*model.DeleteMeshResponse, error)
DeleteMesh 删除网格
该API用于删除一个指定的网格
Please refer to HUAWEI cloud API Explorer for details.
func (*AsmClient) DeleteMeshInvoker ¶
func (c *AsmClient) DeleteMeshInvoker(request *model.DeleteMeshRequest) *DeleteMeshInvoker
DeleteMeshInvoker 删除网格
func (*AsmClient) ListMeshes ¶
func (c *AsmClient) ListMeshes(request *model.ListMeshesRequest) (*model.ListMeshesResponse, error)
ListMeshes 查询网格列表
该API用于获取用户所有网格的详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*AsmClient) ListMeshesInvoker ¶
func (c *AsmClient) ListMeshesInvoker(request *model.ListMeshesRequest) *ListMeshesInvoker
ListMeshesInvoker 查询网格列表
func (*AsmClient) ShowMesh ¶
func (c *AsmClient) ShowMesh(request *model.ShowMeshRequest) (*model.ShowMeshResponse, error)
ShowMesh 查询网格
该API用于获取指定网格的详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*AsmClient) ShowMeshInvoker ¶
func (c *AsmClient) ShowMeshInvoker(request *model.ShowMeshRequest) *ShowMeshInvoker
ShowMeshInvoker 查询网格
type CreateMeshInvoker ¶
type CreateMeshInvoker struct {
*invoker.BaseInvoker
}
func (*CreateMeshInvoker) Invoke ¶
func (i *CreateMeshInvoker) Invoke() (*model.CreateMeshResponse, error)
type DeleteMeshInvoker ¶
type DeleteMeshInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteMeshInvoker) Invoke ¶
func (i *DeleteMeshInvoker) Invoke() (*model.DeleteMeshResponse, error)
type ListMeshesInvoker ¶
type ListMeshesInvoker struct {
*invoker.BaseInvoker
}
func (*ListMeshesInvoker) Invoke ¶
func (i *ListMeshesInvoker) Invoke() (*model.ListMeshesResponse, error)
type ShowMeshInvoker ¶
type ShowMeshInvoker struct {
*invoker.BaseInvoker
}
func (*ShowMeshInvoker) Invoke ¶
func (i *ShowMeshInvoker) Invoke() (*model.ShowMeshResponse, error)
Click to show internal directories.
Click to hide internal directories.