// Code generated by goctl. DO NOT EDIT.
// Source: pcm-modelarts.proto

package imagesservice

import (
	"context"

	"gitlink.org.cn/JointCloud/pcm-modelarts/modelarts"

	"github.com/zeromicro/go-zero/zrpc"
	"google.golang.org/grpc"
)

type (
	ActionProgress                             = modelarts.ActionProgress
	AdvancedConfigAl                           = modelarts.AdvancedConfigAl
	AlgoConfigs                                = modelarts.AlgoConfigs
	Algorithm                                  = modelarts.Algorithm
	AlgorithmResponse                          = modelarts.AlgorithmResponse
	Algorithms                                 = modelarts.Algorithms
	AnnotationFormatConfig                     = modelarts.AnnotationFormatConfig
	AttributesAlRq                             = modelarts.AttributesAlRq
	Auth                                       = modelarts.Auth
	AutoSearch                                 = modelarts.AutoSearch
	AutoSearchAlgoConfigParameter              = modelarts.AutoSearchAlgoConfigParameter
	Billing                                    = modelarts.Billing
	ChatglmReasoningReq                        = modelarts.ChatglmReasoningReq
	ChatglmReasoningResp                       = modelarts.ChatglmReasoningResp
	Children                                   = modelarts.Children
	Cluster                                    = modelarts.Cluster
	ClusterNode                                = modelarts.ClusterNode
	CodeTree                                   = modelarts.CodeTree
	Config                                     = modelarts.Config
	ConfigResponse                             = modelarts.ConfigResponse
	Constraint                                 = modelarts.Constraint
	ConstraintAlRp                             = modelarts.ConstraintAlRp
	ConstraintAlRq                             = modelarts.ConstraintAlRq
	ConstraintCreateTraining                   = modelarts.ConstraintCreateTraining
	ContainerHooks                             = modelarts.ContainerHooks
	ContainerHooksResp                         = modelarts.ContainerHooksResp
	Cpu                                        = modelarts.Cpu
	CreateAlgorithmReq                         = modelarts.CreateAlgorithmReq
	CreateAlgorithmResp                        = modelarts.CreateAlgorithmResp
	CreateDataSetReq                           = modelarts.CreateDataSetReq
	CreateDataSetResq                          = modelarts.CreateDataSetResq
	CreateModelReq                             = modelarts.CreateModelReq
	CreateModelRequestInferParams              = modelarts.CreateModelRequestInferParams
	CreateModelRequestModelApis                = modelarts.CreateModelRequestModelApis
	CreateModelRequestTemplateInput            = modelarts.CreateModelRequestTemplateInput
	CreateModelResp                            = modelarts.CreateModelResp
	CreateNotebookParam                        = modelarts.CreateNotebookParam
	CreateNotebookReq                          = modelarts.CreateNotebookReq
	CreateNotebookResp                         = modelarts.CreateNotebookResp
	CreateProcessorTaskReq                     = modelarts.CreateProcessorTaskReq
	CreateProcessorTaskResp                    = modelarts.CreateProcessorTaskResp
	CreateRepoReq                              = modelarts.CreateRepoReq
	CreateServiceReq                           = modelarts.CreateServiceReq
	CreateServiceResp                          = modelarts.CreateServiceResp
	CreateTrainingJobConfigReq                 = modelarts.CreateTrainingJobConfigReq
	CreateTrainingJobConfigResp                = modelarts.CreateTrainingJobConfigResp
	CreateTrainingJobReq                       = modelarts.CreateTrainingJobReq
	CreateTrainingJobResp                      = modelarts.CreateTrainingJobResp
	CreateTrainingJobResp400                   = modelarts.CreateTrainingJobResp400
	CreateVisualizationJobParam                = modelarts.CreateVisualizationJobParam
	CreateVisualizationJobReq                  = modelarts.CreateVisualizationJobReq
	CreateVisualizationJobResp                 = modelarts.CreateVisualizationJobResp
	CustomHooks                                = modelarts.CustomHooks
	CustomSpec                                 = modelarts.CustomSpec
	DataSetReq                                 = modelarts.DataSetReq
	DataSetResp                                = modelarts.DataSetResp
	DataSets                                   = modelarts.DataSets
	DataSource                                 = modelarts.DataSource
	DataSources                                = modelarts.DataSources
	DataVolumesRes                             = modelarts.DataVolumesRes
	Dataset                                    = modelarts.Dataset
	DatasetTra                                 = modelarts.DatasetTra
	DeleteAlgorithmsReq                        = modelarts.DeleteAlgorithmsReq
	DeleteAlgorithmsResp                       = modelarts.DeleteAlgorithmsResp
	DeleteDataSetReq                           = modelarts.DeleteDataSetReq
	DeleteDataSetResq                          = modelarts.DeleteDataSetResq
	DeleteModelReq                             = modelarts.DeleteModelReq
	DeleteModelResp                            = modelarts.DeleteModelResp
	DeleteModelResponseFailedList              = modelarts.DeleteModelResponseFailedList
	DeleteRepoReq                              = modelarts.DeleteRepoReq
	DeleteRepoTagReq                           = modelarts.DeleteRepoTagReq
	DeleteServiceReq                           = modelarts.DeleteServiceReq
	DeleteServiceResp                          = modelarts.DeleteServiceResp
	DeleteTrainingJobConfigReq                 = modelarts.DeleteTrainingJobConfigReq
	DeleteTrainingJobConfigResp                = modelarts.DeleteTrainingJobConfigResp
	DeleteTrainingJobReq                       = modelarts.DeleteTrainingJobReq
	DeleteTrainingJobResp                      = modelarts.DeleteTrainingJobResp
	DescribeProcessorTaskReq                   = modelarts.DescribeProcessorTaskReq
	DescribeProcessorTaskResp                  = modelarts.DescribeProcessorTaskResp
	DetailTrainingJobsReq                      = modelarts.DetailTrainingJobsReq
	Disk                                       = modelarts.Disk
	Domain                                     = modelarts.Domain
	EndpointsReq                               = modelarts.EndpointsReq
	EndpointsRes                               = modelarts.EndpointsRes
	Engine                                     = modelarts.Engine
	EngineAlRp                                 = modelarts.EngineAlRp
	EngineAlRq                                 = modelarts.EngineAlRq
	EngineCreateTraining                       = modelarts.EngineCreateTraining
	Errors                                     = modelarts.Errors
	ExportParams                               = modelarts.ExportParams
	ExportTaskDataResp                         = modelarts.ExportTaskDataResp
	ExportTaskReq                              = modelarts.ExportTaskReq
	ExportTaskStatus                           = modelarts.ExportTaskStatus
	FileData                                   = modelarts.FileData
	FileRequest                                = modelarts.FileRequest
	FileResponse                               = modelarts.FileResponse
	FileStatistics                             = modelarts.FileStatistics
	Flavor                                     = modelarts.Flavor
	FlavorDetail                               = modelarts.FlavorDetail
	FlavorInfo                                 = modelarts.FlavorInfo
	FlavorResponse                             = modelarts.FlavorResponse
	GetExportTaskStatusOfDatasetReq            = modelarts.GetExportTaskStatusOfDatasetReq
	GetExportTaskStatusOfDatasetResp           = modelarts.GetExportTaskStatusOfDatasetResp
	GetExportTasksOfDatasetReq                 = modelarts.GetExportTasksOfDatasetReq
	GetExportTasksOfDatasetResp                = modelarts.GetExportTasksOfDatasetResp
	GetNotebookStorageReq                      = modelarts.GetNotebookStorageReq
	GetNotebookStorageResp                     = modelarts.GetNotebookStorageResp
	GetTrainingJobLogsPreviewReq               = modelarts.GetTrainingJobLogsPreviewReq
	GetTrainingJobLogsPreviewResp              = modelarts.GetTrainingJobLogsPreviewResp
	GetVisualizationJobParam                   = modelarts.GetVisualizationJobParam
	GetVisualizationJobReq                     = modelarts.GetVisualizationJobReq
	GetVisualizationJobResp                    = modelarts.GetVisualizationJobResp
	Gpu                                        = modelarts.Gpu
	GuideDoc                                   = modelarts.GuideDoc
	Hooks                                      = modelarts.Hooks
	I18NDescription                            = modelarts.I18NDescription
	Identity                                   = modelarts.Identity
	Image                                      = modelarts.Image
	ImageInfo                                  = modelarts.ImageInfo
	ImageReasoningReq                          = modelarts.ImageReasoningReq
	ImageReasoningResp                         = modelarts.ImageReasoningResp
	ImageReasoningUrlReq                       = modelarts.ImageReasoningUrlReq
	ImageReasoningUrlResp                      = modelarts.ImageReasoningUrlResp
	ImportConfig                               = modelarts.ImportConfig
	ImportTaskDataReq                          = modelarts.ImportTaskDataReq
	ImportTaskDataResp                         = modelarts.ImportTaskDataResp
	ImportTasks                                = modelarts.ImportTasks
	Input                                      = modelarts.Input
	InputDataInfo                              = modelarts.InputDataInfo
	InputTraining                              = modelarts.InputTraining
	Inputs                                     = modelarts.Inputs
	InputsAlRp                                 = modelarts.InputsAlRp
	InputsAlRq                                 = modelarts.InputsAlRq
	InterfaceType                              = modelarts.InterfaceType
	Items                                      = modelarts.Items
	JobAlgorithmResponse                       = modelarts.JobAlgorithmResponse
	JobConfigAl                                = modelarts.JobConfigAl
	JobConfigAlRq                              = modelarts.JobConfigAlRq
	JobMetadata                                = modelarts.JobMetadata
	JobProgress                                = modelarts.JobProgress
	JobResponse                                = modelarts.JobResponse
	Jobs                                       = modelarts.Jobs
	Lease                                      = modelarts.Lease
	LeaseReq                                   = modelarts.LeaseReq
	ListAiEnginesReq                           = modelarts.ListAiEnginesReq
	ListAiEnginesResp                          = modelarts.ListAiEnginesResp
	ListAlgorithmsReq                          = modelarts.ListAlgorithmsReq
	ListAlgorithmsResp                         = modelarts.ListAlgorithmsResp
	ListClustersReq                            = modelarts.ListClustersReq
	ListClustersResp                           = modelarts.ListClustersResp
	ListClustersResp200                        = modelarts.ListClustersResp200
	ListClustersResp400                        = modelarts.ListClustersResp400
	ListImportTasksReq                         = modelarts.ListImportTasksReq
	ListImportTasksResp                        = modelarts.ListImportTasksResp
	ListModelReq                               = modelarts.ListModelReq
	ListModelResp                              = modelarts.ListModelResp
	ListNamespacesReq                          = modelarts.ListNamespacesReq
	ListNamespacesResp                         = modelarts.ListNamespacesResp
	ListNotebookParam                          = modelarts.ListNotebookParam
	ListNotebookReq                            = modelarts.ListNotebookReq
	ListNotebookResp                           = modelarts.ListNotebookResp
	ListRepoReq                                = modelarts.ListRepoReq
	ListReposDetailsResp                       = modelarts.ListReposDetailsResp
	ListRepositoryTagsReq                      = modelarts.ListRepositoryTagsReq
	ListRepositoryTagsResp                     = modelarts.ListRepositoryTagsResp
	ListServices                               = modelarts.ListServices
	ListServicesReq                            = modelarts.ListServicesReq
	ListServicesResp                           = modelarts.ListServicesResp
	ListTrainingJobConfigReq                   = modelarts.ListTrainingJobConfigReq
	ListTrainingJobConfigResp                  = modelarts.ListTrainingJobConfigResp
	ListTrainingJobsreq                        = modelarts.ListTrainingJobsreq
	ListTrainingJobsresp                       = modelarts.ListTrainingJobsresp
	LogExportPath                              = modelarts.LogExportPath
	LogExportPathCreateTraining                = modelarts.LogExportPathCreateTraining
	Memory                                     = modelarts.Memory
	MetadataAlRp                               = modelarts.MetadataAlRp
	MetadataAlRq                               = modelarts.MetadataAlRq
	MetadataCrAl                               = modelarts.MetadataCrAl
	MetadataS                                  = modelarts.MetadataS
	Methods                                    = modelarts.Methods
	MetricsPoolsRequest                        = modelarts.MetricsPoolsRequest
	MetricsPoolsResponse                       = modelarts.MetricsPoolsResponse
	MetricsPoolsResponse_SomeMessage           = modelarts.MetricsPoolsResponse_SomeMessage
	MetricsPoolsResponse_SomeMessage_Allocated = modelarts.MetricsPoolsResponse_SomeMessage_Allocated
	MetricsPoolsResponse_SomeMessage_Capacity  = modelarts.MetricsPoolsResponse_SomeMessage_Capacity
	MetricsPoolsResponse_SomeMessage_Items     = modelarts.MetricsPoolsResponse_SomeMessage_Items
	MetricsPoolsResponse_SomeMessage_Maxvalue  = modelarts.MetricsPoolsResponse_SomeMessage_Maxvalue
	MetricsPoolsResponse_SomeMessage_Metadata  = modelarts.MetricsPoolsResponse_SomeMessage_Metadata
	MetricsPoolsResponse_SomeMessage_Table     = modelarts.MetricsPoolsResponse_SomeMessage_Table
	MetricsPoolsResponse_SomeMessage_Value     = modelarts.MetricsPoolsResponse_SomeMessage_Value
	MetricsPoolsResponse_SomeMessage_Value1    = modelarts.MetricsPoolsResponse_SomeMessage_Value1
	ModelDependencies                          = modelarts.ModelDependencies
	ModelHealth                                = modelarts.ModelHealth
	ModelInOutputParams                        = modelarts.ModelInOutputParams
	ModelListItem                              = modelarts.ModelListItem
	ModelParamsInfo                            = modelarts.ModelParamsInfo
	ModelSpecification                         = modelarts.ModelSpecification
	MountNotebookStorageParam                  = modelarts.MountNotebookStorageParam
	MountNotebookStorageReq                    = modelarts.MountNotebookStorageReq
	MountNotebookStorageResp                   = modelarts.MountNotebookStorageResp
	NamespaceInfo                              = modelarts.NamespaceInfo
	NamespaceReq                               = modelarts.NamespaceReq
	Nfs                                        = modelarts.Nfs
	NotebookResp                               = modelarts.NotebookResp
	Npu                                        = modelarts.Npu
	Obs                                        = modelarts.Obs
	Obs1                                       = modelarts.Obs1
	ObsTra                                     = modelarts.ObsTra
	OperatorParam                              = modelarts.OperatorParam
	Output                                     = modelarts.Output
	OutputTraining                             = modelarts.OutputTraining
	Outputs                                    = modelarts.Outputs
	OutputsAl                                  = modelarts.OutputsAl
	OutputsAlRp                                = modelarts.OutputsAlRp
	Packages                                   = modelarts.Packages
	Parameter                                  = modelarts.Parameter
	ParameterS                                 = modelarts.ParameterS
	ParametersAlRp                             = modelarts.ParametersAlRp
	ParametersAlRq                             = modelarts.ParametersAlRq
	ParametersTrainJob                         = modelarts.ParametersTrainJob
	Password                                   = modelarts.Password
	Policies                                   = modelarts.Policies
	PoliciesCreateTraining                     = modelarts.PoliciesCreateTraining
	Pool                                       = modelarts.Pool
	PostStart                                  = modelarts.PostStart
	PreStart                                   = modelarts.PreStart
	ProcessorDataSource                        = modelarts.ProcessorDataSource
	Project                                    = modelarts.Project
	QueryServiceConfig                         = modelarts.QueryServiceConfig
	Remote                                     = modelarts.Remote
	RemoteConstraint                           = modelarts.RemoteConstraint
	RemoteConstraints                          = modelarts.RemoteConstraints
	RemoteOut                                  = modelarts.RemoteOut
	RemoteTra                                  = modelarts.RemoteTra
	ReposDetails                               = modelarts.ReposDetails
	RepositoryTags                             = modelarts.RepositoryTags
	Resource                                   = modelarts.Resource
	ResourceCreateTraining                     = modelarts.ResourceCreateTraining
	ResourceRequirements                       = modelarts.ResourceRequirements
	Resp                                       = modelarts.Resp
	RewardAttrs                                = modelarts.RewardAttrs
	Schedule                                   = modelarts.Schedule
	Scheduler                                  = modelarts.Scheduler
	SchemaMaps                                 = modelarts.SchemaMaps
	Scope                                      = modelarts.Scope
	SearchCondition                            = modelarts.SearchCondition
	SearchLabel                                = modelarts.SearchLabel
	SearchLabels                               = modelarts.SearchLabels
	SearchParams                               = modelarts.SearchParams
	SearchProp                                 = modelarts.SearchProp
	ServiceConfig                              = modelarts.ServiceConfig
	ShareInfo                                  = modelarts.ShareInfo
	ShareInfoAlRp                              = modelarts.ShareInfoAlRp
	ShowAlgorithmByUuidReq                     = modelarts.ShowAlgorithmByUuidReq
	ShowAlgorithmByUuidResp                    = modelarts.ShowAlgorithmByUuidResp
	ShowModelReq                               = modelarts.ShowModelReq
	ShowModelResp                              = modelarts.ShowModelResp
	ShowRepositoryReq                          = modelarts.ShowRepositoryReq
	ShowRepositoryResp                         = modelarts.ShowRepositoryResp
	ShowServiceReq                             = modelarts.ShowServiceReq
	ShowServiceResp                            = modelarts.ShowServiceResp
	SourceInfo                                 = modelarts.SourceInfo
	Spec                                       = modelarts.Spec
	Specs                                      = modelarts.Specs
	SpecsC                                     = modelarts.SpecsC
	StartNotebookParam                         = modelarts.StartNotebookParam
	StartNotebookReq                           = modelarts.StartNotebookReq
	StartNotebookResp                          = modelarts.StartNotebookResp
	Status                                     = modelarts.Status
	StopNotebookReq                            = modelarts.StopNotebookReq
	StopNotebookResp                           = modelarts.StopNotebookResp
	Tags                                       = modelarts.Tags
	TagsAlRp                                   = modelarts.TagsAlRp
	TaskResponse                               = modelarts.TaskResponse
	TaskStatuses                               = modelarts.TaskStatuses
	Template                                   = modelarts.Template
	TemplateParam                              = modelarts.TemplateParam
	TokenReq                                   = modelarts.TokenReq
	TokenResp                                  = modelarts.TokenResp
	TrainingJobFlavorsReq                      = modelarts.TrainingJobFlavorsReq
	TrainingJobFlavorsResp                     = modelarts.TrainingJobFlavorsResp
	UpdateRepoReq                              = modelarts.UpdateRepoReq
	User                                       = modelarts.User
	UserNotebookDomain                         = modelarts.UserNotebookDomain
	UserNotebookResp                           = modelarts.UserNotebookResp
	VolumeReq                                  = modelarts.VolumeReq
	VolumeRes                                  = modelarts.VolumeRes
	Volumes                                    = modelarts.Volumes
	Weigou                                     = modelarts.Weigou
	WorkPath                                   = modelarts.WorkPath

	ImagesService interface {
		// CreateNamespace 创建组织
		CreateNamespace(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption) (*Resp, error)
		// 查询组织列表
		ListNamespaces(ctx context.Context, in *ListNamespacesReq, opts ...grpc.CallOption) (*ListNamespacesResp, error)
		// 删除组织
		DeleteNamespaces(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption) (*Resp, error)
		// 获取组织详情
		ShowNamespace(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption) (*NamespaceInfo, error)
		// 在组织下创建镜像仓库
		CreateRepo(ctx context.Context, in *CreateRepoReq, opts ...grpc.CallOption) (*Resp, error)
		// 删除组织下的镜像仓库
		DeleteRepo(ctx context.Context, in *DeleteRepoReq, opts ...grpc.CallOption) (*Resp, error)
		// 查询镜像仓库列表
		ListReposDetails(ctx context.Context, in *ListRepoReq, opts ...grpc.CallOption) (*ListReposDetailsResp, error)
		// 查询镜像仓库概要信息
		ShowRepository(ctx context.Context, in *ShowRepositoryReq, opts ...grpc.CallOption) (*ShowRepositoryResp, error)
		// 更新镜像仓库的概要信息
		UpdateRepo(ctx context.Context, in *UpdateRepoReq, opts ...grpc.CallOption) (*Resp, error)
		// 删除指定tag的镜像
		DeleteRepoTag(ctx context.Context, in *DeleteRepoTagReq, opts ...grpc.CallOption) (*Resp, error)
		// 查询镜像tag列表
		ListRepositoryTags(ctx context.Context, in *ListRepositoryTagsReq, opts ...grpc.CallOption) (*ListRepositoryTagsResp, error)
		// 镜像上传
		UploadFile(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*FileResponse, error)
		// 镜像下载
		DownloadFile(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*FileData, error)
		// 查询资源实时利用率
		GetMetricsPools(ctx context.Context, in *MetricsPoolsRequest, opts ...grpc.CallOption) (*MetricsPoolsResponse, error)
	}

	defaultImagesService struct {
		cli zrpc.Client
	}
)

func NewImagesService(cli zrpc.Client) ImagesService {
	return &defaultImagesService{
		cli: cli,
	}
}

// CreateNamespace 创建组织
func (m *defaultImagesService) CreateNamespace(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption) (*Resp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.CreateNamespace(ctx, in, opts...)
}

// 查询组织列表
func (m *defaultImagesService) ListNamespaces(ctx context.Context, in *ListNamespacesReq, opts ...grpc.CallOption) (*ListNamespacesResp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.ListNamespaces(ctx, in, opts...)
}

// 删除组织
func (m *defaultImagesService) DeleteNamespaces(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption) (*Resp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.DeleteNamespaces(ctx, in, opts...)
}

// 获取组织详情
func (m *defaultImagesService) ShowNamespace(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption) (*NamespaceInfo, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.ShowNamespace(ctx, in, opts...)
}

// 在组织下创建镜像仓库
func (m *defaultImagesService) CreateRepo(ctx context.Context, in *CreateRepoReq, opts ...grpc.CallOption) (*Resp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.CreateRepo(ctx, in, opts...)
}

// 删除组织下的镜像仓库
func (m *defaultImagesService) DeleteRepo(ctx context.Context, in *DeleteRepoReq, opts ...grpc.CallOption) (*Resp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.DeleteRepo(ctx, in, opts...)
}

// 查询镜像仓库列表
func (m *defaultImagesService) ListReposDetails(ctx context.Context, in *ListRepoReq, opts ...grpc.CallOption) (*ListReposDetailsResp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.ListReposDetails(ctx, in, opts...)
}

// 查询镜像仓库概要信息
func (m *defaultImagesService) ShowRepository(ctx context.Context, in *ShowRepositoryReq, opts ...grpc.CallOption) (*ShowRepositoryResp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.ShowRepository(ctx, in, opts...)
}

// 更新镜像仓库的概要信息
func (m *defaultImagesService) UpdateRepo(ctx context.Context, in *UpdateRepoReq, opts ...grpc.CallOption) (*Resp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.UpdateRepo(ctx, in, opts...)
}

// 删除指定tag的镜像
func (m *defaultImagesService) DeleteRepoTag(ctx context.Context, in *DeleteRepoTagReq, opts ...grpc.CallOption) (*Resp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.DeleteRepoTag(ctx, in, opts...)
}

// 查询镜像tag列表
func (m *defaultImagesService) ListRepositoryTags(ctx context.Context, in *ListRepositoryTagsReq, opts ...grpc.CallOption) (*ListRepositoryTagsResp, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.ListRepositoryTags(ctx, in, opts...)
}

// 镜像上传
func (m *defaultImagesService) UploadFile(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*FileResponse, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.UploadFile(ctx, in, opts...)
}

// 镜像下载
func (m *defaultImagesService) DownloadFile(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*FileData, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.DownloadFile(ctx, in, opts...)
}

// 查询资源实时利用率
func (m *defaultImagesService) GetMetricsPools(ctx context.Context, in *MetricsPoolsRequest, opts ...grpc.CallOption) (*MetricsPoolsResponse, error) {
	client := modelarts.NewImagesServiceClient(m.cli.Conn())
	return client.GetMetricsPools(ctx, in, opts...)
}
