Documentation ¶
Index ¶
- func GenReqDefForAddImageTag() *def.HttpRequestDef
- func GenReqDefForBatchAddMembers() *def.HttpRequestDef
- func GenReqDefForBatchAddOrDeleteTags() *def.HttpRequestDef
- func GenReqDefForBatchDeleteMembers() *def.HttpRequestDef
- func GenReqDefForBatchUpdateMembers() *def.HttpRequestDef
- func GenReqDefForCopyImageCrossRegion() *def.HttpRequestDef
- func GenReqDefForCopyImageInRegion() *def.HttpRequestDef
- func GenReqDefForCreateDataImage() *def.HttpRequestDef
- func GenReqDefForCreateImage() *def.HttpRequestDef
- func GenReqDefForCreateOrUpdateTags() *def.HttpRequestDef
- func GenReqDefForCreateWholeImage() *def.HttpRequestDef
- func GenReqDefForDeleteImageTag() *def.HttpRequestDef
- func GenReqDefForExportImage() *def.HttpRequestDef
- func GenReqDefForGlanceAddImageMember() *def.HttpRequestDef
- func GenReqDefForGlanceCreateImageMetadata() *def.HttpRequestDef
- func GenReqDefForGlanceCreateTag() *def.HttpRequestDef
- func GenReqDefForGlanceDeleteImage() *def.HttpRequestDef
- func GenReqDefForGlanceDeleteImageMember() *def.HttpRequestDef
- func GenReqDefForGlanceDeleteTag() *def.HttpRequestDef
- func GenReqDefForGlanceListImageMemberSchemas() *def.HttpRequestDef
- func GenReqDefForGlanceListImageMembers() *def.HttpRequestDef
- func GenReqDefForGlanceListImageSchemas() *def.HttpRequestDef
- func GenReqDefForGlanceListImages() *def.HttpRequestDef
- func GenReqDefForGlanceShowImage() *def.HttpRequestDef
- func GenReqDefForGlanceShowImageMember() *def.HttpRequestDef
- func GenReqDefForGlanceShowImageMemberSchemas() *def.HttpRequestDef
- func GenReqDefForGlanceShowImageSchemas() *def.HttpRequestDef
- func GenReqDefForGlanceUpdateImage() *def.HttpRequestDef
- func GenReqDefForGlanceUpdateImageMember() *def.HttpRequestDef
- func GenReqDefForImportImageQuick() *def.HttpRequestDef
- func GenReqDefForListImageByTags() *def.HttpRequestDef
- func GenReqDefForListImageTags() *def.HttpRequestDef
- func GenReqDefForListImages() *def.HttpRequestDef
- func GenReqDefForListImagesTags() *def.HttpRequestDef
- func GenReqDefForListOsVersions() *def.HttpRequestDef
- func GenReqDefForListTags() *def.HttpRequestDef
- func GenReqDefForListVersions() *def.HttpRequestDef
- func GenReqDefForRegisterImage() *def.HttpRequestDef
- func GenReqDefForShowImageQuota() *def.HttpRequestDef
- func GenReqDefForShowJob() *def.HttpRequestDef
- func GenReqDefForShowJobProgress() *def.HttpRequestDef
- func GenReqDefForShowVersion() *def.HttpRequestDef
- func GenReqDefForUpdateImage() *def.HttpRequestDef
- func ImsClientBuilder() *http_client.HcHttpClientBuilder
- type AddImageTagInvoker
- type BatchAddMembersInvoker
- type BatchAddOrDeleteTagsInvoker
- type BatchDeleteMembersInvoker
- type BatchUpdateMembersInvoker
- type CopyImageCrossRegionInvoker
- type CopyImageInRegionInvoker
- type CreateDataImageInvoker
- type CreateImageInvoker
- type CreateOrUpdateTagsInvoker
- type CreateWholeImageInvoker
- type DeleteImageTagInvoker
- type ExportImageInvoker
- type GlanceAddImageMemberInvoker
- type GlanceCreateImageMetadataInvoker
- type GlanceCreateTagInvoker
- type GlanceDeleteImageInvoker
- type GlanceDeleteImageMemberInvoker
- type GlanceDeleteTagInvoker
- type GlanceListImageMemberSchemasInvoker
- type GlanceListImageMembersInvoker
- type GlanceListImageSchemasInvoker
- type GlanceListImagesInvoker
- type GlanceShowImageInvoker
- type GlanceShowImageMemberInvoker
- type GlanceShowImageMemberSchemasInvoker
- type GlanceShowImageSchemasInvoker
- type GlanceUpdateImageInvoker
- type GlanceUpdateImageMemberInvoker
- type ImportImageQuickInvoker
- type ImsClient
- func (c *ImsClient) AddImageTag(request *model.AddImageTagRequest) (*model.AddImageTagResponse, error)
- func (c *ImsClient) AddImageTagInvoker(request *model.AddImageTagRequest) *AddImageTagInvoker
- func (c *ImsClient) BatchAddMembers(request *model.BatchAddMembersRequest) (*model.BatchAddMembersResponse, error)
- func (c *ImsClient) BatchAddMembersInvoker(request *model.BatchAddMembersRequest) *BatchAddMembersInvoker
- func (c *ImsClient) BatchAddOrDeleteTags(request *model.BatchAddOrDeleteTagsRequest) (*model.BatchAddOrDeleteTagsResponse, error)
- func (c *ImsClient) BatchAddOrDeleteTagsInvoker(request *model.BatchAddOrDeleteTagsRequest) *BatchAddOrDeleteTagsInvoker
- func (c *ImsClient) BatchDeleteMembers(request *model.BatchDeleteMembersRequest) (*model.BatchDeleteMembersResponse, error)
- func (c *ImsClient) BatchDeleteMembersInvoker(request *model.BatchDeleteMembersRequest) *BatchDeleteMembersInvoker
- func (c *ImsClient) BatchUpdateMembers(request *model.BatchUpdateMembersRequest) (*model.BatchUpdateMembersResponse, error)
- func (c *ImsClient) BatchUpdateMembersInvoker(request *model.BatchUpdateMembersRequest) *BatchUpdateMembersInvoker
- func (c *ImsClient) CopyImageCrossRegion(request *model.CopyImageCrossRegionRequest) (*model.CopyImageCrossRegionResponse, error)
- func (c *ImsClient) CopyImageCrossRegionInvoker(request *model.CopyImageCrossRegionRequest) *CopyImageCrossRegionInvoker
- func (c *ImsClient) CopyImageInRegion(request *model.CopyImageInRegionRequest) (*model.CopyImageInRegionResponse, error)
- func (c *ImsClient) CopyImageInRegionInvoker(request *model.CopyImageInRegionRequest) *CopyImageInRegionInvoker
- func (c *ImsClient) CreateDataImage(request *model.CreateDataImageRequest) (*model.CreateDataImageResponse, error)
- func (c *ImsClient) CreateDataImageInvoker(request *model.CreateDataImageRequest) *CreateDataImageInvoker
- func (c *ImsClient) CreateImage(request *model.CreateImageRequest) (*model.CreateImageResponse, error)
- func (c *ImsClient) CreateImageInvoker(request *model.CreateImageRequest) *CreateImageInvoker
- func (c *ImsClient) CreateOrUpdateTags(request *model.CreateOrUpdateTagsRequest) (*model.CreateOrUpdateTagsResponse, error)
- func (c *ImsClient) CreateOrUpdateTagsInvoker(request *model.CreateOrUpdateTagsRequest) *CreateOrUpdateTagsInvoker
- func (c *ImsClient) CreateWholeImage(request *model.CreateWholeImageRequest) (*model.CreateWholeImageResponse, error)
- func (c *ImsClient) CreateWholeImageInvoker(request *model.CreateWholeImageRequest) *CreateWholeImageInvoker
- func (c *ImsClient) DeleteImageTag(request *model.DeleteImageTagRequest) (*model.DeleteImageTagResponse, error)
- func (c *ImsClient) DeleteImageTagInvoker(request *model.DeleteImageTagRequest) *DeleteImageTagInvoker
- func (c *ImsClient) ExportImage(request *model.ExportImageRequest) (*model.ExportImageResponse, error)
- func (c *ImsClient) ExportImageInvoker(request *model.ExportImageRequest) *ExportImageInvoker
- func (c *ImsClient) GlanceAddImageMember(request *model.GlanceAddImageMemberRequest) (*model.GlanceAddImageMemberResponse, error)
- func (c *ImsClient) GlanceAddImageMemberInvoker(request *model.GlanceAddImageMemberRequest) *GlanceAddImageMemberInvoker
- func (c *ImsClient) GlanceCreateImageMetadata(request *model.GlanceCreateImageMetadataRequest) (*model.GlanceCreateImageMetadataResponse, error)
- func (c *ImsClient) GlanceCreateImageMetadataInvoker(request *model.GlanceCreateImageMetadataRequest) *GlanceCreateImageMetadataInvoker
- func (c *ImsClient) GlanceCreateTag(request *model.GlanceCreateTagRequest) (*model.GlanceCreateTagResponse, error)
- func (c *ImsClient) GlanceCreateTagInvoker(request *model.GlanceCreateTagRequest) *GlanceCreateTagInvoker
- func (c *ImsClient) GlanceDeleteImage(request *model.GlanceDeleteImageRequest) (*model.GlanceDeleteImageResponse, error)
- func (c *ImsClient) GlanceDeleteImageInvoker(request *model.GlanceDeleteImageRequest) *GlanceDeleteImageInvoker
- func (c *ImsClient) GlanceDeleteImageMember(request *model.GlanceDeleteImageMemberRequest) (*model.GlanceDeleteImageMemberResponse, error)
- func (c *ImsClient) GlanceDeleteImageMemberInvoker(request *model.GlanceDeleteImageMemberRequest) *GlanceDeleteImageMemberInvoker
- func (c *ImsClient) GlanceDeleteTag(request *model.GlanceDeleteTagRequest) (*model.GlanceDeleteTagResponse, error)
- func (c *ImsClient) GlanceDeleteTagInvoker(request *model.GlanceDeleteTagRequest) *GlanceDeleteTagInvoker
- func (c *ImsClient) GlanceListImageMemberSchemas(request *model.GlanceListImageMemberSchemasRequest) (*model.GlanceListImageMemberSchemasResponse, error)
- func (c *ImsClient) GlanceListImageMemberSchemasInvoker(request *model.GlanceListImageMemberSchemasRequest) *GlanceListImageMemberSchemasInvoker
- func (c *ImsClient) GlanceListImageMembers(request *model.GlanceListImageMembersRequest) (*model.GlanceListImageMembersResponse, error)
- func (c *ImsClient) GlanceListImageMembersInvoker(request *model.GlanceListImageMembersRequest) *GlanceListImageMembersInvoker
- func (c *ImsClient) GlanceListImageSchemas(request *model.GlanceListImageSchemasRequest) (*model.GlanceListImageSchemasResponse, error)
- func (c *ImsClient) GlanceListImageSchemasInvoker(request *model.GlanceListImageSchemasRequest) *GlanceListImageSchemasInvoker
- func (c *ImsClient) GlanceListImages(request *model.GlanceListImagesRequest) (*model.GlanceListImagesResponse, error)
- func (c *ImsClient) GlanceListImagesInvoker(request *model.GlanceListImagesRequest) *GlanceListImagesInvoker
- func (c *ImsClient) GlanceShowImage(request *model.GlanceShowImageRequest) (*model.GlanceShowImageResponse, error)
- func (c *ImsClient) GlanceShowImageInvoker(request *model.GlanceShowImageRequest) *GlanceShowImageInvoker
- func (c *ImsClient) GlanceShowImageMember(request *model.GlanceShowImageMemberRequest) (*model.GlanceShowImageMemberResponse, error)
- func (c *ImsClient) GlanceShowImageMemberInvoker(request *model.GlanceShowImageMemberRequest) *GlanceShowImageMemberInvoker
- func (c *ImsClient) GlanceShowImageMemberSchemas(request *model.GlanceShowImageMemberSchemasRequest) (*model.GlanceShowImageMemberSchemasResponse, error)
- func (c *ImsClient) GlanceShowImageMemberSchemasInvoker(request *model.GlanceShowImageMemberSchemasRequest) *GlanceShowImageMemberSchemasInvoker
- func (c *ImsClient) GlanceShowImageSchemas(request *model.GlanceShowImageSchemasRequest) (*model.GlanceShowImageSchemasResponse, error)
- func (c *ImsClient) GlanceShowImageSchemasInvoker(request *model.GlanceShowImageSchemasRequest) *GlanceShowImageSchemasInvoker
- func (c *ImsClient) GlanceUpdateImage(request *model.GlanceUpdateImageRequest) (*model.GlanceUpdateImageResponse, error)
- func (c *ImsClient) GlanceUpdateImageInvoker(request *model.GlanceUpdateImageRequest) *GlanceUpdateImageInvoker
- func (c *ImsClient) GlanceUpdateImageMember(request *model.GlanceUpdateImageMemberRequest) (*model.GlanceUpdateImageMemberResponse, error)
- func (c *ImsClient) GlanceUpdateImageMemberInvoker(request *model.GlanceUpdateImageMemberRequest) *GlanceUpdateImageMemberInvoker
- func (c *ImsClient) ImportImageQuick(request *model.ImportImageQuickRequest) (*model.ImportImageQuickResponse, error)
- func (c *ImsClient) ImportImageQuickInvoker(request *model.ImportImageQuickRequest) *ImportImageQuickInvoker
- func (c *ImsClient) ListImageByTags(request *model.ListImageByTagsRequest) (*model.ListImageByTagsResponse, error)
- func (c *ImsClient) ListImageByTagsInvoker(request *model.ListImageByTagsRequest) *ListImageByTagsInvoker
- func (c *ImsClient) ListImageTags(request *model.ListImageTagsRequest) (*model.ListImageTagsResponse, error)
- func (c *ImsClient) ListImageTagsInvoker(request *model.ListImageTagsRequest) *ListImageTagsInvoker
- func (c *ImsClient) ListImages(request *model.ListImagesRequest) (*model.ListImagesResponse, error)
- func (c *ImsClient) ListImagesInvoker(request *model.ListImagesRequest) *ListImagesInvoker
- func (c *ImsClient) ListImagesTags(request *model.ListImagesTagsRequest) (*model.ListImagesTagsResponse, error)
- func (c *ImsClient) ListImagesTagsInvoker(request *model.ListImagesTagsRequest) *ListImagesTagsInvoker
- func (c *ImsClient) ListOsVersions(request *model.ListOsVersionsRequest) (*model.ListOsVersionsResponse, error)
- func (c *ImsClient) ListOsVersionsInvoker(request *model.ListOsVersionsRequest) *ListOsVersionsInvoker
- func (c *ImsClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
- func (c *ImsClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker
- func (c *ImsClient) ListVersions(request *model.ListVersionsRequest) (*model.ListVersionsResponse, error)
- func (c *ImsClient) ListVersionsInvoker(request *model.ListVersionsRequest) *ListVersionsInvoker
- func (c *ImsClient) RegisterImage(request *model.RegisterImageRequest) (*model.RegisterImageResponse, error)
- func (c *ImsClient) RegisterImageInvoker(request *model.RegisterImageRequest) *RegisterImageInvoker
- func (c *ImsClient) ShowImageQuota(request *model.ShowImageQuotaRequest) (*model.ShowImageQuotaResponse, error)
- func (c *ImsClient) ShowImageQuotaInvoker(request *model.ShowImageQuotaRequest) *ShowImageQuotaInvoker
- func (c *ImsClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)
- func (c *ImsClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker
- func (c *ImsClient) ShowJobProgress(request *model.ShowJobProgressRequest) (*model.ShowJobProgressResponse, error)
- func (c *ImsClient) ShowJobProgressInvoker(request *model.ShowJobProgressRequest) *ShowJobProgressInvoker
- func (c *ImsClient) ShowVersion(request *model.ShowVersionRequest) (*model.ShowVersionResponse, error)
- func (c *ImsClient) ShowVersionInvoker(request *model.ShowVersionRequest) *ShowVersionInvoker
- func (c *ImsClient) UpdateImage(request *model.UpdateImageRequest) (*model.UpdateImageResponse, error)
- func (c *ImsClient) UpdateImageInvoker(request *model.UpdateImageRequest) *UpdateImageInvoker
- type ListImageByTagsInvoker
- type ListImageTagsInvoker
- type ListImagesInvoker
- type ListImagesTagsInvoker
- type ListOsVersionsInvoker
- type ListTagsInvoker
- type ListVersionsInvoker
- type RegisterImageInvoker
- type ShowImageQuotaInvoker
- type ShowJobInvoker
- type ShowJobProgressInvoker
- type ShowVersionInvoker
- type UpdateImageInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAddImageTag ¶
func GenReqDefForAddImageTag() *def.HttpRequestDef
func GenReqDefForBatchAddMembers ¶
func GenReqDefForBatchAddMembers() *def.HttpRequestDef
func GenReqDefForBatchAddOrDeleteTags ¶
func GenReqDefForBatchAddOrDeleteTags() *def.HttpRequestDef
func GenReqDefForBatchDeleteMembers ¶
func GenReqDefForBatchDeleteMembers() *def.HttpRequestDef
func GenReqDefForBatchUpdateMembers ¶
func GenReqDefForBatchUpdateMembers() *def.HttpRequestDef
func GenReqDefForCopyImageCrossRegion ¶
func GenReqDefForCopyImageCrossRegion() *def.HttpRequestDef
func GenReqDefForCopyImageInRegion ¶
func GenReqDefForCopyImageInRegion() *def.HttpRequestDef
func GenReqDefForCreateDataImage ¶
func GenReqDefForCreateDataImage() *def.HttpRequestDef
func GenReqDefForCreateImage ¶
func GenReqDefForCreateImage() *def.HttpRequestDef
func GenReqDefForCreateOrUpdateTags ¶
func GenReqDefForCreateOrUpdateTags() *def.HttpRequestDef
func GenReqDefForCreateWholeImage ¶
func GenReqDefForCreateWholeImage() *def.HttpRequestDef
func GenReqDefForDeleteImageTag ¶
func GenReqDefForDeleteImageTag() *def.HttpRequestDef
func GenReqDefForExportImage ¶
func GenReqDefForExportImage() *def.HttpRequestDef
func GenReqDefForGlanceAddImageMember ¶
func GenReqDefForGlanceAddImageMember() *def.HttpRequestDef
func GenReqDefForGlanceCreateImageMetadata ¶
func GenReqDefForGlanceCreateImageMetadata() *def.HttpRequestDef
func GenReqDefForGlanceCreateTag ¶
func GenReqDefForGlanceCreateTag() *def.HttpRequestDef
func GenReqDefForGlanceDeleteImage ¶
func GenReqDefForGlanceDeleteImage() *def.HttpRequestDef
func GenReqDefForGlanceDeleteImageMember ¶
func GenReqDefForGlanceDeleteImageMember() *def.HttpRequestDef
func GenReqDefForGlanceDeleteTag ¶
func GenReqDefForGlanceDeleteTag() *def.HttpRequestDef
func GenReqDefForGlanceListImageMemberSchemas ¶
func GenReqDefForGlanceListImageMemberSchemas() *def.HttpRequestDef
func GenReqDefForGlanceListImageMembers ¶
func GenReqDefForGlanceListImageMembers() *def.HttpRequestDef
func GenReqDefForGlanceListImageSchemas ¶
func GenReqDefForGlanceListImageSchemas() *def.HttpRequestDef
func GenReqDefForGlanceListImages ¶
func GenReqDefForGlanceListImages() *def.HttpRequestDef
func GenReqDefForGlanceShowImage ¶
func GenReqDefForGlanceShowImage() *def.HttpRequestDef
func GenReqDefForGlanceShowImageMember ¶
func GenReqDefForGlanceShowImageMember() *def.HttpRequestDef
func GenReqDefForGlanceShowImageMemberSchemas ¶
func GenReqDefForGlanceShowImageMemberSchemas() *def.HttpRequestDef
func GenReqDefForGlanceShowImageSchemas ¶
func GenReqDefForGlanceShowImageSchemas() *def.HttpRequestDef
func GenReqDefForGlanceUpdateImage ¶
func GenReqDefForGlanceUpdateImage() *def.HttpRequestDef
func GenReqDefForGlanceUpdateImageMember ¶
func GenReqDefForGlanceUpdateImageMember() *def.HttpRequestDef
func GenReqDefForImportImageQuick ¶
func GenReqDefForImportImageQuick() *def.HttpRequestDef
func GenReqDefForListImageByTags ¶
func GenReqDefForListImageByTags() *def.HttpRequestDef
func GenReqDefForListImageTags ¶
func GenReqDefForListImageTags() *def.HttpRequestDef
func GenReqDefForListImages ¶
func GenReqDefForListImages() *def.HttpRequestDef
func GenReqDefForListImagesTags ¶
func GenReqDefForListImagesTags() *def.HttpRequestDef
func GenReqDefForListOsVersions ¶
func GenReqDefForListOsVersions() *def.HttpRequestDef
func GenReqDefForListTags ¶
func GenReqDefForListTags() *def.HttpRequestDef
func GenReqDefForListVersions ¶ added in v0.0.81
func GenReqDefForListVersions() *def.HttpRequestDef
func GenReqDefForRegisterImage ¶
func GenReqDefForRegisterImage() *def.HttpRequestDef
func GenReqDefForShowImageQuota ¶
func GenReqDefForShowImageQuota() *def.HttpRequestDef
func GenReqDefForShowJob ¶
func GenReqDefForShowJob() *def.HttpRequestDef
func GenReqDefForShowJobProgress ¶ added in v0.0.107
func GenReqDefForShowJobProgress() *def.HttpRequestDef
func GenReqDefForShowVersion ¶ added in v0.0.81
func GenReqDefForShowVersion() *def.HttpRequestDef
func GenReqDefForUpdateImage ¶
func GenReqDefForUpdateImage() *def.HttpRequestDef
func ImsClientBuilder ¶
func ImsClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type AddImageTagInvoker ¶ added in v0.0.90
type AddImageTagInvoker struct {
*invoker.BaseInvoker
}
func (*AddImageTagInvoker) Invoke ¶ added in v0.0.90
func (i *AddImageTagInvoker) Invoke() (*model.AddImageTagResponse, error)
type BatchAddMembersInvoker ¶ added in v0.0.90
type BatchAddMembersInvoker struct {
*invoker.BaseInvoker
}
func (*BatchAddMembersInvoker) Invoke ¶ added in v0.0.90
func (i *BatchAddMembersInvoker) Invoke() (*model.BatchAddMembersResponse, error)
type BatchAddOrDeleteTagsInvoker ¶ added in v0.0.90
type BatchAddOrDeleteTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchAddOrDeleteTagsInvoker) Invoke ¶ added in v0.0.90
func (i *BatchAddOrDeleteTagsInvoker) Invoke() (*model.BatchAddOrDeleteTagsResponse, error)
type BatchDeleteMembersInvoker ¶ added in v0.0.90
type BatchDeleteMembersInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteMembersInvoker) Invoke ¶ added in v0.0.90
func (i *BatchDeleteMembersInvoker) Invoke() (*model.BatchDeleteMembersResponse, error)
type BatchUpdateMembersInvoker ¶ added in v0.0.90
type BatchUpdateMembersInvoker struct {
*invoker.BaseInvoker
}
func (*BatchUpdateMembersInvoker) Invoke ¶ added in v0.0.90
func (i *BatchUpdateMembersInvoker) Invoke() (*model.BatchUpdateMembersResponse, error)
type CopyImageCrossRegionInvoker ¶ added in v0.0.90
type CopyImageCrossRegionInvoker struct {
*invoker.BaseInvoker
}
func (*CopyImageCrossRegionInvoker) Invoke ¶ added in v0.0.90
func (i *CopyImageCrossRegionInvoker) Invoke() (*model.CopyImageCrossRegionResponse, error)
type CopyImageInRegionInvoker ¶ added in v0.0.90
type CopyImageInRegionInvoker struct {
*invoker.BaseInvoker
}
func (*CopyImageInRegionInvoker) Invoke ¶ added in v0.0.90
func (i *CopyImageInRegionInvoker) Invoke() (*model.CopyImageInRegionResponse, error)
type CreateDataImageInvoker ¶ added in v0.0.90
type CreateDataImageInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDataImageInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDataImageInvoker) Invoke() (*model.CreateDataImageResponse, error)
type CreateImageInvoker ¶ added in v0.0.90
type CreateImageInvoker struct {
*invoker.BaseInvoker
}
func (*CreateImageInvoker) Invoke ¶ added in v0.0.90
func (i *CreateImageInvoker) Invoke() (*model.CreateImageResponse, error)
type CreateOrUpdateTagsInvoker ¶ added in v0.0.90
type CreateOrUpdateTagsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateOrUpdateTagsInvoker) Invoke ¶ added in v0.0.90
func (i *CreateOrUpdateTagsInvoker) Invoke() (*model.CreateOrUpdateTagsResponse, error)
type CreateWholeImageInvoker ¶ added in v0.0.90
type CreateWholeImageInvoker struct {
*invoker.BaseInvoker
}
func (*CreateWholeImageInvoker) Invoke ¶ added in v0.0.90
func (i *CreateWholeImageInvoker) Invoke() (*model.CreateWholeImageResponse, error)
type DeleteImageTagInvoker ¶ added in v0.0.90
type DeleteImageTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteImageTagInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteImageTagInvoker) Invoke() (*model.DeleteImageTagResponse, error)
type ExportImageInvoker ¶ added in v0.0.90
type ExportImageInvoker struct {
*invoker.BaseInvoker
}
func (*ExportImageInvoker) Invoke ¶ added in v0.0.90
func (i *ExportImageInvoker) Invoke() (*model.ExportImageResponse, error)
type GlanceAddImageMemberInvoker ¶ added in v0.0.90
type GlanceAddImageMemberInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceAddImageMemberInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceAddImageMemberInvoker) Invoke() (*model.GlanceAddImageMemberResponse, error)
type GlanceCreateImageMetadataInvoker ¶ added in v0.0.90
type GlanceCreateImageMetadataInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceCreateImageMetadataInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceCreateImageMetadataInvoker) Invoke() (*model.GlanceCreateImageMetadataResponse, error)
type GlanceCreateTagInvoker ¶ added in v0.0.90
type GlanceCreateTagInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceCreateTagInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceCreateTagInvoker) Invoke() (*model.GlanceCreateTagResponse, error)
type GlanceDeleteImageInvoker ¶ added in v0.0.90
type GlanceDeleteImageInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceDeleteImageInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceDeleteImageInvoker) Invoke() (*model.GlanceDeleteImageResponse, error)
type GlanceDeleteImageMemberInvoker ¶ added in v0.0.90
type GlanceDeleteImageMemberInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceDeleteImageMemberInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceDeleteImageMemberInvoker) Invoke() (*model.GlanceDeleteImageMemberResponse, error)
type GlanceDeleteTagInvoker ¶ added in v0.0.90
type GlanceDeleteTagInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceDeleteTagInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceDeleteTagInvoker) Invoke() (*model.GlanceDeleteTagResponse, error)
type GlanceListImageMemberSchemasInvoker ¶ added in v0.0.90
type GlanceListImageMemberSchemasInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceListImageMemberSchemasInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceListImageMemberSchemasInvoker) Invoke() (*model.GlanceListImageMemberSchemasResponse, error)
type GlanceListImageMembersInvoker ¶ added in v0.0.90
type GlanceListImageMembersInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceListImageMembersInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceListImageMembersInvoker) Invoke() (*model.GlanceListImageMembersResponse, error)
type GlanceListImageSchemasInvoker ¶ added in v0.0.90
type GlanceListImageSchemasInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceListImageSchemasInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceListImageSchemasInvoker) Invoke() (*model.GlanceListImageSchemasResponse, error)
type GlanceListImagesInvoker ¶ added in v0.0.90
type GlanceListImagesInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceListImagesInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceListImagesInvoker) Invoke() (*model.GlanceListImagesResponse, error)
type GlanceShowImageInvoker ¶ added in v0.0.90
type GlanceShowImageInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceShowImageInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceShowImageInvoker) Invoke() (*model.GlanceShowImageResponse, error)
type GlanceShowImageMemberInvoker ¶ added in v0.0.90
type GlanceShowImageMemberInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceShowImageMemberInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceShowImageMemberInvoker) Invoke() (*model.GlanceShowImageMemberResponse, error)
type GlanceShowImageMemberSchemasInvoker ¶ added in v0.0.90
type GlanceShowImageMemberSchemasInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceShowImageMemberSchemasInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceShowImageMemberSchemasInvoker) Invoke() (*model.GlanceShowImageMemberSchemasResponse, error)
type GlanceShowImageSchemasInvoker ¶ added in v0.0.90
type GlanceShowImageSchemasInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceShowImageSchemasInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceShowImageSchemasInvoker) Invoke() (*model.GlanceShowImageSchemasResponse, error)
type GlanceUpdateImageInvoker ¶ added in v0.0.90
type GlanceUpdateImageInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceUpdateImageInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceUpdateImageInvoker) Invoke() (*model.GlanceUpdateImageResponse, error)
type GlanceUpdateImageMemberInvoker ¶ added in v0.0.90
type GlanceUpdateImageMemberInvoker struct {
*invoker.BaseInvoker
}
func (*GlanceUpdateImageMemberInvoker) Invoke ¶ added in v0.0.90
func (i *GlanceUpdateImageMemberInvoker) Invoke() (*model.GlanceUpdateImageMemberResponse, error)
type ImportImageQuickInvoker ¶ added in v0.0.90
type ImportImageQuickInvoker struct {
*invoker.BaseInvoker
}
func (*ImportImageQuickInvoker) Invoke ¶ added in v0.0.90
func (i *ImportImageQuickInvoker) Invoke() (*model.ImportImageQuickResponse, error)
type ImsClient ¶
type ImsClient struct {
HcClient *http_client.HcHttpClient
}
func NewImsClient ¶
func NewImsClient(hcClient *http_client.HcHttpClient) *ImsClient
func (*ImsClient) AddImageTag ¶
func (c *ImsClient) AddImageTag(request *model.AddImageTagRequest) (*model.AddImageTagResponse, error)
AddImageTag 添加镜像标签
该接口用于为指定镜像添加或更新指定的单个标签
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) AddImageTagInvoker ¶ added in v0.0.90
func (c *ImsClient) AddImageTagInvoker(request *model.AddImageTagRequest) *AddImageTagInvoker
AddImageTagInvoker 添加镜像标签
func (*ImsClient) BatchAddMembers ¶
func (c *ImsClient) BatchAddMembers(request *model.BatchAddMembersRequest) (*model.BatchAddMembersResponse, error)
BatchAddMembers 批量添加镜像成员
该接口为扩展接口,主要用于镜像共享时用户将多个镜像共享给多个用户。 该接口为异步接口,返回job_id说明任务下发成功,查询异步任务状态,如果是success说明任务执行成功,如果是failed说明任务执行失败。如何查询异步任务,请参见异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) BatchAddMembersInvoker ¶ added in v0.0.90
func (c *ImsClient) BatchAddMembersInvoker(request *model.BatchAddMembersRequest) *BatchAddMembersInvoker
BatchAddMembersInvoker 批量添加镜像成员
func (*ImsClient) BatchAddOrDeleteTags ¶
func (c *ImsClient) BatchAddOrDeleteTags(request *model.BatchAddOrDeleteTagsRequest) (*model.BatchAddOrDeleteTagsResponse, error)
BatchAddOrDeleteTags 批量添加删除镜像标签
该接口用于为指定镜像批量添加/更新、删除标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) BatchAddOrDeleteTagsInvoker ¶ added in v0.0.90
func (c *ImsClient) BatchAddOrDeleteTagsInvoker(request *model.BatchAddOrDeleteTagsRequest) *BatchAddOrDeleteTagsInvoker
BatchAddOrDeleteTagsInvoker 批量添加删除镜像标签
func (*ImsClient) BatchDeleteMembers ¶
func (c *ImsClient) BatchDeleteMembers(request *model.BatchDeleteMembersRequest) (*model.BatchDeleteMembersResponse, error)
BatchDeleteMembers 批量删除镜像成员
该接口为扩展接口,主要用于取消镜像共享。 该接口为异步接口,返回job_id说明任务下发成功,查询异步任务状态,如果是success说明任务执行成功,如果是failed说明任务执行失败。如何查询异步任务,请参见异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) BatchDeleteMembersInvoker ¶ added in v0.0.90
func (c *ImsClient) BatchDeleteMembersInvoker(request *model.BatchDeleteMembersRequest) *BatchDeleteMembersInvoker
BatchDeleteMembersInvoker 批量删除镜像成员
func (*ImsClient) BatchUpdateMembers ¶
func (c *ImsClient) BatchUpdateMembers(request *model.BatchUpdateMembersRequest) (*model.BatchUpdateMembersResponse, error)
BatchUpdateMembers 批量更新镜像成员状态
该接口为扩展接口,主要用于用户接受或者拒绝多个共享镜像时批量更新镜像成员的状态。 该接口为异步接口,返回job_id说明任务下发成功,查询异步任务状态,如果是success说明任务执行成功,如果是failed说明任务执行失败。如何查询异步任务,请参见异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) BatchUpdateMembersInvoker ¶ added in v0.0.90
func (c *ImsClient) BatchUpdateMembersInvoker(request *model.BatchUpdateMembersRequest) *BatchUpdateMembersInvoker
BatchUpdateMembersInvoker 批量更新镜像成员状态
func (*ImsClient) CopyImageCrossRegion ¶
func (c *ImsClient) CopyImageCrossRegion(request *model.CopyImageCrossRegionRequest) (*model.CopyImageCrossRegionResponse, error)
CopyImageCrossRegion 跨Region复制镜像
该接口为扩展接口,用户在一个区域制作的私有镜像,可以通过跨Region复制镜像将镜像复制到其他区域,在其他区域发放相同类型的云服务器,帮助用户实现区域间的业务迁移。 该接口为异步接口,返回job_id说明任务下发成功,查询异步任务状态,如果是success说明任务执行成功,如果是failed说明任务执行失败。 如何查询异步任务,请参见异步任务进度查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) CopyImageCrossRegionInvoker ¶ added in v0.0.90
func (c *ImsClient) CopyImageCrossRegionInvoker(request *model.CopyImageCrossRegionRequest) *CopyImageCrossRegionInvoker
CopyImageCrossRegionInvoker 跨Region复制镜像
func (*ImsClient) CopyImageInRegion ¶
func (c *ImsClient) CopyImageInRegion(request *model.CopyImageInRegionRequest) (*model.CopyImageInRegionResponse, error)
CopyImageInRegion Region内复制镜像
该接口为扩展接口,主要用于用户将一个已有镜像复制为另一个镜像。复制镜像时,可以更改镜像的加密等属性,以满足不同的场景。 该接口为异步接口,返回job_id说明任务下发成功,查询异步任务状态,如果是success说明任务执行成功,如果是failed说明任务执行失败。如何查询异步任务,请参见异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) CopyImageInRegionInvoker ¶ added in v0.0.90
func (c *ImsClient) CopyImageInRegionInvoker(request *model.CopyImageInRegionRequest) *CopyImageInRegionInvoker
CopyImageInRegionInvoker Region内复制镜像
func (*ImsClient) CreateDataImage ¶
func (c *ImsClient) CreateDataImage(request *model.CreateDataImageRequest) (*model.CreateDataImageResponse, error)
CreateDataImage 使用外部镜像文件制作数据镜像
使用上传至OBS桶中的外部数据卷镜像文件制作数据镜像。作为异步接口,调用成功,只是说明后台收到了制作请求,镜像是否制作成功需要通过异步任务查询接口查询该任务的执行状态。具体请参考异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) CreateDataImageInvoker ¶ added in v0.0.90
func (c *ImsClient) CreateDataImageInvoker(request *model.CreateDataImageRequest) *CreateDataImageInvoker
CreateDataImageInvoker 使用外部镜像文件制作数据镜像
func (*ImsClient) CreateImage ¶
func (c *ImsClient) CreateImage(request *model.CreateImageRequest) (*model.CreateImageResponse, error)
CreateImage 制作镜像
本接口用于制作私有镜像,支持: - 使用云服务器制作私有镜像。 - 使用上传至OBS桶中的外部镜像文件制作私有镜像。 - 使用数据卷制作系统盘镜像。
作为异步接口,调用成功,只是说明云平台收到了制作请求,镜像是否制作成功需要通过异步任务查询接口查询该任务的执行状态,具体请参考异步任务查询。
不同场景必选参数说明:
- 使用云服务器制作镜像时的请求的必选参数:name,instance_id。 - 使用上传至OBS桶中的外部镜像文件时的请求必选参数:name,image_url,min_disk。 - 使用数据卷制作系统盘镜像时的请求必选参数:name,volume_id,os_version
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) CreateImageInvoker ¶ added in v0.0.90
func (c *ImsClient) CreateImageInvoker(request *model.CreateImageRequest) *CreateImageInvoker
CreateImageInvoker 制作镜像
func (*ImsClient) CreateOrUpdateTags ¶
func (c *ImsClient) CreateOrUpdateTags(request *model.CreateOrUpdateTagsRequest) (*model.CreateOrUpdateTagsResponse, error)
CreateOrUpdateTags 增加或修改标签
该接口主要用于为某个镜像增加或修改一个自定义标签。通过自定义标签,用户可以将镜像进行分类。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) CreateOrUpdateTagsInvoker ¶ added in v0.0.90
func (c *ImsClient) CreateOrUpdateTagsInvoker(request *model.CreateOrUpdateTagsRequest) *CreateOrUpdateTagsInvoker
CreateOrUpdateTagsInvoker 增加或修改标签
func (*ImsClient) CreateWholeImage ¶
func (c *ImsClient) CreateWholeImage(request *model.CreateWholeImageRequest) (*model.CreateWholeImageResponse, error)
CreateWholeImage 制作整机镜像
使用云服务器或者云服务器备份制作整机镜像。作为异步接口,调用成功,只是说明后台收到了制作整机镜像的请求,镜像是否制作成功需要通过异步任务查询接口查询该任务的执行状态,具体请参考异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) CreateWholeImageInvoker ¶ added in v0.0.90
func (c *ImsClient) CreateWholeImageInvoker(request *model.CreateWholeImageRequest) *CreateWholeImageInvoker
CreateWholeImageInvoker 制作整机镜像
func (*ImsClient) DeleteImageTag ¶
func (c *ImsClient) DeleteImageTag(request *model.DeleteImageTagRequest) (*model.DeleteImageTagResponse, error)
DeleteImageTag 删除镜像标签
该接口用于为镜像删除指定的标签
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) DeleteImageTagInvoker ¶ added in v0.0.90
func (c *ImsClient) DeleteImageTagInvoker(request *model.DeleteImageTagRequest) *DeleteImageTagInvoker
DeleteImageTagInvoker 删除镜像标签
func (*ImsClient) ExportImage ¶
func (c *ImsClient) ExportImage(request *model.ExportImageRequest) (*model.ExportImageResponse, error)
ExportImage 导出镜像
该接口为扩展接口,用于用户将自己的私有镜像导出到指定的OBS桶中。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ExportImageInvoker ¶ added in v0.0.90
func (c *ImsClient) ExportImageInvoker(request *model.ExportImageRequest) *ExportImageInvoker
ExportImageInvoker 导出镜像
func (*ImsClient) GlanceAddImageMember ¶
func (c *ImsClient) GlanceAddImageMember(request *model.GlanceAddImageMemberRequest) (*model.GlanceAddImageMemberResponse, error)
GlanceAddImageMember 添加镜像成员(OpenStack原生)
用户共享镜像给其他用户时,使用该接口向该镜像成员中添加接受镜像用户的项目ID。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceAddImageMemberInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceAddImageMemberInvoker(request *model.GlanceAddImageMemberRequest) *GlanceAddImageMemberInvoker
GlanceAddImageMemberInvoker 添加镜像成员(OpenStack原生)
func (*ImsClient) GlanceCreateImageMetadata ¶
func (c *ImsClient) GlanceCreateImageMetadata(request *model.GlanceCreateImageMetadataRequest) (*model.GlanceCreateImageMetadataResponse, error)
GlanceCreateImageMetadata 创建镜像元数据(OpenStack原生)
创建镜像元数据。调用创建镜像元数据接口成功后,只是创建了镜像的元数据,镜像对应的实际镜像文件并不存在
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceCreateImageMetadataInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceCreateImageMetadataInvoker(request *model.GlanceCreateImageMetadataRequest) *GlanceCreateImageMetadataInvoker
GlanceCreateImageMetadataInvoker 创建镜像元数据(OpenStack原生)
func (*ImsClient) GlanceCreateTag ¶
func (c *ImsClient) GlanceCreateTag(request *model.GlanceCreateTagRequest) (*model.GlanceCreateTagResponse, error)
GlanceCreateTag 增加标签(OpenStack原生)
该接口主要用于为某个镜像添加一个自定义标签。通过自定义标签,用户可以将镜像进行分类。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceCreateTagInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceCreateTagInvoker(request *model.GlanceCreateTagRequest) *GlanceCreateTagInvoker
GlanceCreateTagInvoker 增加标签(OpenStack原生)
func (*ImsClient) GlanceDeleteImage ¶
func (c *ImsClient) GlanceDeleteImage(request *model.GlanceDeleteImageRequest) (*model.GlanceDeleteImageResponse, error)
GlanceDeleteImage 删除镜像(OpenStack原生)
该接口主要用于删除镜像,用户可以通过该接口将自己的私有镜像删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceDeleteImageInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceDeleteImageInvoker(request *model.GlanceDeleteImageRequest) *GlanceDeleteImageInvoker
GlanceDeleteImageInvoker 删除镜像(OpenStack原生)
func (*ImsClient) GlanceDeleteImageMember ¶
func (c *ImsClient) GlanceDeleteImageMember(request *model.GlanceDeleteImageMemberRequest) (*model.GlanceDeleteImageMemberResponse, error)
GlanceDeleteImageMember 删除指定的镜像成员(OpenStack原生)
该接口用于取消对某个用户的镜像共享。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceDeleteImageMemberInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceDeleteImageMemberInvoker(request *model.GlanceDeleteImageMemberRequest) *GlanceDeleteImageMemberInvoker
GlanceDeleteImageMemberInvoker 删除指定的镜像成员(OpenStack原生)
func (*ImsClient) GlanceDeleteTag ¶
func (c *ImsClient) GlanceDeleteTag(request *model.GlanceDeleteTagRequest) (*model.GlanceDeleteTagResponse, error)
GlanceDeleteTag 删除标签(OpenStack原生)
该接口主要用于删除某个镜像的自定义标签,通过该接口,用户可以将私有镜像中一些不用的标签删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceDeleteTagInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceDeleteTagInvoker(request *model.GlanceDeleteTagRequest) *GlanceDeleteTagInvoker
GlanceDeleteTagInvoker 删除标签(OpenStack原生)
func (*ImsClient) GlanceListImageMemberSchemas ¶
func (c *ImsClient) GlanceListImageMemberSchemas(request *model.GlanceListImageMemberSchemasRequest) (*model.GlanceListImageMemberSchemasResponse, error)
GlanceListImageMemberSchemas 查询镜像成员列表视图(OpenStack原生)
该接口主要用于查询镜像成员列表视图,通过视图,用户可以了解到镜像成员包含哪些属性,同时也可以了解每个属性的数据类型。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceListImageMemberSchemasInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceListImageMemberSchemasInvoker(request *model.GlanceListImageMemberSchemasRequest) *GlanceListImageMemberSchemasInvoker
GlanceListImageMemberSchemasInvoker 查询镜像成员列表视图(OpenStack原生)
func (*ImsClient) GlanceListImageMembers ¶
func (c *ImsClient) GlanceListImageMembers(request *model.GlanceListImageMembersRequest) (*model.GlanceListImageMembersResponse, error)
GlanceListImageMembers 获取镜像成员列表(OpenStack原生)
该接口用于共享镜像过程中,获取接受该镜像的成员列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceListImageMembersInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceListImageMembersInvoker(request *model.GlanceListImageMembersRequest) *GlanceListImageMembersInvoker
GlanceListImageMembersInvoker 获取镜像成员列表(OpenStack原生)
func (*ImsClient) GlanceListImageSchemas ¶
func (c *ImsClient) GlanceListImageSchemas(request *model.GlanceListImageSchemasRequest) (*model.GlanceListImageSchemasResponse, error)
GlanceListImageSchemas 查询镜像列表视图(OpenStack原生)
该接口主要用于查询镜像列表视图,通过该接口用户可以了解到镜像列表的详细情况和数据结构。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceListImageSchemasInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceListImageSchemasInvoker(request *model.GlanceListImageSchemasRequest) *GlanceListImageSchemasInvoker
GlanceListImageSchemasInvoker 查询镜像列表视图(OpenStack原生)
func (*ImsClient) GlanceListImages ¶
func (c *ImsClient) GlanceListImages(request *model.GlanceListImagesRequest) (*model.GlanceListImagesResponse, error)
GlanceListImages 查询镜像列表(OpenStack原生)
获取镜像列表。 使用本接口查询镜像列表时,需要使用分页查询才能返回全部的镜像列表。 分页说明 分页是指返回一组镜像的一个子集,在返回的时候会存在下个子集的链接和首个子集的链接,默认返回的子集中数量为25,用户也可以通过使用limit和marker两个参数自己分页,指定返回子集中需要返回的数量。 响应中的参数first是查询首页的URL。next是查询下一页的URL。当查询镜像列表最后一页时,不存在next。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceListImagesInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceListImagesInvoker(request *model.GlanceListImagesRequest) *GlanceListImagesInvoker
GlanceListImagesInvoker 查询镜像列表(OpenStack原生)
func (*ImsClient) GlanceShowImage ¶
func (c *ImsClient) GlanceShowImage(request *model.GlanceShowImageRequest) (*model.GlanceShowImageResponse, error)
GlanceShowImage 查询镜像详情(OpenStack原生)
查询单个镜像详情,用户可以通过该接口查询单个私有或者公共镜像的详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceShowImageInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceShowImageInvoker(request *model.GlanceShowImageRequest) *GlanceShowImageInvoker
GlanceShowImageInvoker 查询镜像详情(OpenStack原生)
func (*ImsClient) GlanceShowImageMember ¶
func (c *ImsClient) GlanceShowImageMember(request *model.GlanceShowImageMemberRequest) (*model.GlanceShowImageMemberResponse, error)
GlanceShowImageMember 获取镜像成员详情(OpenStack原生)
该接口主要用于镜像共享中查询某个镜像成员的详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceShowImageMemberInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceShowImageMemberInvoker(request *model.GlanceShowImageMemberRequest) *GlanceShowImageMemberInvoker
GlanceShowImageMemberInvoker 获取镜像成员详情(OpenStack原生)
func (*ImsClient) GlanceShowImageMemberSchemas ¶
func (c *ImsClient) GlanceShowImageMemberSchemas(request *model.GlanceShowImageMemberSchemasRequest) (*model.GlanceShowImageMemberSchemasResponse, error)
GlanceShowImageMemberSchemas 查询镜像成员视图(OpenStack原生)
该接口主要用于查询镜像成员视图,通过视图,用户可以了解到镜像成员包含哪些属性,同时也可以了解每个属性的数据类型。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceShowImageMemberSchemasInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceShowImageMemberSchemasInvoker(request *model.GlanceShowImageMemberSchemasRequest) *GlanceShowImageMemberSchemasInvoker
GlanceShowImageMemberSchemasInvoker 查询镜像成员视图(OpenStack原生)
func (*ImsClient) GlanceShowImageSchemas ¶
func (c *ImsClient) GlanceShowImageSchemas(request *model.GlanceShowImageSchemasRequest) (*model.GlanceShowImageSchemasResponse, error)
GlanceShowImageSchemas 查询镜像视图(OpenStack原生)
该接口主要用于查询镜像视图,通过视图,用户可以了解到镜像包含哪些属性,同时也可以了解每个属性的数据类型等。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceShowImageSchemasInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceShowImageSchemasInvoker(request *model.GlanceShowImageSchemasRequest) *GlanceShowImageSchemasInvoker
GlanceShowImageSchemasInvoker 查询镜像视图(OpenStack原生)
func (*ImsClient) GlanceUpdateImage ¶
func (c *ImsClient) GlanceUpdateImage(request *model.GlanceUpdateImageRequest) (*model.GlanceUpdateImageResponse, error)
GlanceUpdateImage 更新镜像信息(OpenStack原生)
修改镜像信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceUpdateImageInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceUpdateImageInvoker(request *model.GlanceUpdateImageRequest) *GlanceUpdateImageInvoker
GlanceUpdateImageInvoker 更新镜像信息(OpenStack原生)
func (*ImsClient) GlanceUpdateImageMember ¶
func (c *ImsClient) GlanceUpdateImageMember(request *model.GlanceUpdateImageMemberRequest) (*model.GlanceUpdateImageMemberResponse, error)
GlanceUpdateImageMember 更新镜像成员状态(OpenStack原生)
用户接受或者拒绝共享镜像时,使用该接口更新镜像成员的状态。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) GlanceUpdateImageMemberInvoker ¶ added in v0.0.90
func (c *ImsClient) GlanceUpdateImageMemberInvoker(request *model.GlanceUpdateImageMemberRequest) *GlanceUpdateImageMemberInvoker
GlanceUpdateImageMemberInvoker 更新镜像成员状态(OpenStack原生)
func (*ImsClient) ImportImageQuick ¶
func (c *ImsClient) ImportImageQuick(request *model.ImportImageQuickRequest) (*model.ImportImageQuickResponse, error)
ImportImageQuick 镜像文件快速导入
使用上传至OBS桶中的超大外部镜像文件制作私有镜像,目前仅支持RAW或ZVHD2格式镜像文件。且要求镜像文件大小不能超过1TB。 由于快速导入功能要求提前转换镜像文件格式为RAW或ZVHD2格式,因此镜像文件小于128GB时推荐您优先使用常规的创建私有镜像的方式。 作为异步接口,调用成功,只是说明后台收到了制作请求,镜像是否制作成功需要通过异步任务查询接口查询该任务的执行状态,具体请参考异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ImportImageQuickInvoker ¶ added in v0.0.90
func (c *ImsClient) ImportImageQuickInvoker(request *model.ImportImageQuickRequest) *ImportImageQuickInvoker
ImportImageQuickInvoker 镜像文件快速导入
func (*ImsClient) ListImageByTags ¶
func (c *ImsClient) ListImageByTags(request *model.ListImageByTagsRequest) (*model.ListImageByTagsResponse, error)
ListImageByTags 按标签查询镜像
该接口用于按标签或其他条件对镜像进行过滤或者计数使用。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ListImageByTagsInvoker ¶ added in v0.0.90
func (c *ImsClient) ListImageByTagsInvoker(request *model.ListImageByTagsRequest) *ListImageByTagsInvoker
ListImageByTagsInvoker 按标签查询镜像
func (*ImsClient) ListImageTags ¶
func (c *ImsClient) ListImageTags(request *model.ListImageTagsRequest) (*model.ListImageTagsResponse, error)
ListImageTags 查询镜像标签
该接口用于为查询指定镜像上的所有标签
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ListImageTagsInvoker ¶ added in v0.0.90
func (c *ImsClient) ListImageTagsInvoker(request *model.ListImageTagsRequest) *ListImageTagsInvoker
ListImageTagsInvoker 查询镜像标签
func (*ImsClient) ListImages ¶
func (c *ImsClient) ListImages(request *model.ListImagesRequest) (*model.ListImagesResponse, error)
ListImages 查询镜像列表
根据不同条件查询镜像列表信息。 可以在URI后面用‘?’和‘&’添加不同的查询条件组合,请参考请求样例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ListImagesInvoker ¶ added in v0.0.90
func (c *ImsClient) ListImagesInvoker(request *model.ListImagesRequest) *ListImagesInvoker
ListImagesInvoker 查询镜像列表
func (*ImsClient) ListImagesTags ¶
func (c *ImsClient) ListImagesTags(request *model.ListImagesTagsRequest) (*model.ListImagesTagsResponse, error)
ListImagesTags 查询租户所有镜像标签
该接口用于为查询租户的所有镜像上的标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ListImagesTagsInvoker ¶ added in v0.0.90
func (c *ImsClient) ListImagesTagsInvoker(request *model.ListImagesTagsRequest) *ListImagesTagsInvoker
ListImagesTagsInvoker 查询租户所有镜像标签
func (*ImsClient) ListOsVersions ¶
func (c *ImsClient) ListOsVersions(request *model.ListOsVersionsRequest) (*model.ListOsVersionsResponse, error)
ListOsVersions 查询镜像支持的OS列表
查询当前区域弹性云服务器的OS兼容性列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ListOsVersionsInvoker ¶ added in v0.0.90
func (c *ImsClient) ListOsVersionsInvoker(request *model.ListOsVersionsRequest) *ListOsVersionsInvoker
ListOsVersionsInvoker 查询镜像支持的OS列表
func (*ImsClient) ListTags ¶
func (c *ImsClient) ListTags(request *model.ListTagsRequest) (*model.ListTagsResponse, error)
ListTags 按条件查询租户镜像标签列表
根据不同条件查询镜像标签列表信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ListTagsInvoker ¶ added in v0.0.90
func (c *ImsClient) ListTagsInvoker(request *model.ListTagsRequest) *ListTagsInvoker
ListTagsInvoker 按条件查询租户镜像标签列表
func (*ImsClient) ListVersions ¶ added in v0.0.81
func (c *ImsClient) ListVersions(request *model.ListVersionsRequest) (*model.ListVersionsResponse, error)
ListVersions 查询版本列表(OpenStack原生)
查询API的版本信息列表,包括API的版本兼容性、域名信息等。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ListVersionsInvoker ¶ added in v0.0.90
func (c *ImsClient) ListVersionsInvoker(request *model.ListVersionsRequest) *ListVersionsInvoker
ListVersionsInvoker 查询版本列表(OpenStack原生)
func (*ImsClient) RegisterImage ¶
func (c *ImsClient) RegisterImage(request *model.RegisterImageRequest) (*model.RegisterImageResponse, error)
RegisterImage 注册镜像
该接口用于将镜像文件注册为云平台未初始化的私有镜像。 使用该接口注册镜像的具体步骤如下: 将镜像文件上传到OBS个人桶中。具体操作请参见《对象存储服务客户端指南(OBS Browser)》或《对象存储服务API参考》。 使用创建镜像元数据接口创建镜像元数据。调用成功后,保存该镜像的ID。创建镜像元数据请参考创建镜像元数据(OpenStack原生)。 根据2得到的镜像ID,使用注册镜像接口注册OBS桶中的镜像文件。 注册镜像接口作为异步接口,调用成功后,说明后台收到了注册请求。需要根据镜像ID查询该镜像状态验证镜像注册是否成功。当镜像状态变为“active”时,表示镜像注册成功。 如何查询异步任务,请参见异步任务查询。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) RegisterImageInvoker ¶ added in v0.0.90
func (c *ImsClient) RegisterImageInvoker(request *model.RegisterImageRequest) *RegisterImageInvoker
RegisterImageInvoker 注册镜像
func (*ImsClient) ShowImageQuota ¶
func (c *ImsClient) ShowImageQuota(request *model.ShowImageQuotaRequest) (*model.ShowImageQuotaResponse, error)
ShowImageQuota 查询镜像配额
该接口为扩展接口,主要用于查询租户在当前Region的私有镜像的配额数量。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ShowImageQuotaInvoker ¶ added in v0.0.90
func (c *ImsClient) ShowImageQuotaInvoker(request *model.ShowImageQuotaRequest) *ShowImageQuotaInvoker
ShowImageQuotaInvoker 查询镜像配额
func (*ImsClient) ShowJob ¶
func (c *ImsClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)
ShowJob 查询job状态
该接口为扩展接口,主要用于查询异步接口执行情况,比如查询导出镜像任务的执行状态。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ShowJobInvoker ¶ added in v0.0.90
func (c *ImsClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker
ShowJobInvoker 查询job状态
func (*ImsClient) ShowJobProgress ¶ added in v0.0.107
func (c *ImsClient) ShowJobProgress(request *model.ShowJobProgressRequest) (*model.ShowJobProgressResponse, error)
ShowJobProgress 异步任务进度查询
该接口为扩展接口,主要用于查询异步任务进度。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ShowJobProgressInvoker ¶ added in v0.0.107
func (c *ImsClient) ShowJobProgressInvoker(request *model.ShowJobProgressRequest) *ShowJobProgressInvoker
ShowJobProgressInvoker 异步任务进度查询
func (*ImsClient) ShowVersion ¶ added in v0.0.81
func (c *ImsClient) ShowVersion(request *model.ShowVersionRequest) (*model.ShowVersionResponse, error)
ShowVersion 查询版本列表(OpenStack原生)
查询API的版本信息列表,包括API的版本兼容性、域名信息等。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) ShowVersionInvoker ¶ added in v0.0.90
func (c *ImsClient) ShowVersionInvoker(request *model.ShowVersionRequest) *ShowVersionInvoker
ShowVersionInvoker 查询版本列表(OpenStack原生)
func (*ImsClient) UpdateImage ¶
func (c *ImsClient) UpdateImage(request *model.UpdateImageRequest) (*model.UpdateImageResponse, error)
UpdateImage 更新镜像信息
更新镜像信息接口,主要用于镜像属性的修改。当前仅支持可用(active)状态的镜像更新相关信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ImsClient) UpdateImageInvoker ¶ added in v0.0.90
func (c *ImsClient) UpdateImageInvoker(request *model.UpdateImageRequest) *UpdateImageInvoker
UpdateImageInvoker 更新镜像信息
type ListImageByTagsInvoker ¶ added in v0.0.90
type ListImageByTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListImageByTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListImageByTagsInvoker) Invoke() (*model.ListImageByTagsResponse, error)
type ListImageTagsInvoker ¶ added in v0.0.90
type ListImageTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListImageTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListImageTagsInvoker) Invoke() (*model.ListImageTagsResponse, error)
type ListImagesInvoker ¶ added in v0.0.90
type ListImagesInvoker struct {
*invoker.BaseInvoker
}
func (*ListImagesInvoker) Invoke ¶ added in v0.0.90
func (i *ListImagesInvoker) Invoke() (*model.ListImagesResponse, error)
type ListImagesTagsInvoker ¶ added in v0.0.90
type ListImagesTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListImagesTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListImagesTagsInvoker) Invoke() (*model.ListImagesTagsResponse, error)
type ListOsVersionsInvoker ¶ added in v0.0.90
type ListOsVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListOsVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListOsVersionsInvoker) Invoke() (*model.ListOsVersionsResponse, error)
type ListTagsInvoker ¶ added in v0.0.90
type ListTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagsInvoker) Invoke ¶ added in v0.0.90
func (i *ListTagsInvoker) Invoke() (*model.ListTagsResponse, error)
type ListVersionsInvoker ¶ added in v0.0.90
type ListVersionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListVersionsInvoker) Invoke ¶ added in v0.0.90
func (i *ListVersionsInvoker) Invoke() (*model.ListVersionsResponse, error)
type RegisterImageInvoker ¶ added in v0.0.90
type RegisterImageInvoker struct {
*invoker.BaseInvoker
}
func (*RegisterImageInvoker) Invoke ¶ added in v0.0.90
func (i *RegisterImageInvoker) Invoke() (*model.RegisterImageResponse, error)
type ShowImageQuotaInvoker ¶ added in v0.0.90
type ShowImageQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowImageQuotaInvoker) Invoke ¶ added in v0.0.90
func (i *ShowImageQuotaInvoker) Invoke() (*model.ShowImageQuotaResponse, error)
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 ShowJobProgressInvoker ¶ added in v0.0.107
type ShowJobProgressInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobProgressInvoker) Invoke ¶ added in v0.0.107
func (i *ShowJobProgressInvoker) Invoke() (*model.ShowJobProgressResponse, error)
type ShowVersionInvoker ¶ added in v0.0.90
type ShowVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVersionInvoker) Invoke ¶ added in v0.0.90
func (i *ShowVersionInvoker) Invoke() (*model.ShowVersionResponse, error)
type UpdateImageInvoker ¶ added in v0.0.90
type UpdateImageInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateImageInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateImageInvoker) Invoke() (*model.UpdateImageResponse, error)