Documentation ¶
Index ¶
- type CreateNamespaceLogic
- type CreateRepoLogic
- type DeleteNamespacesLogic
- type DeleteRepoLogic
- type DeleteRepoTagLogic
- type DownloadFileLogic
- type GetMetricsPoolsLogic
- type ListNamespacesLogic
- type ListReposDetailsLogic
- type ListRepositoryTagsLogic
- type ShowNamespaceLogic
- type ShowRepositoryLogic
- type UpdateRepoLogic
- type UploadFileLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateNamespaceLogic ¶
func NewCreateNamespaceLogic ¶
func NewCreateNamespaceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNamespaceLogic
func (*CreateNamespaceLogic) CreateNamespace ¶
func (l *CreateNamespaceLogic) CreateNamespace(in *modelarts.NamespaceReq) (*modelarts.Resp, error)
CreateNamespace 创建组织
type CreateRepoLogic ¶
func NewCreateRepoLogic ¶
func NewCreateRepoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateRepoLogic
func (*CreateRepoLogic) CreateRepo ¶
func (l *CreateRepoLogic) CreateRepo(in *modelarts.CreateRepoReq) (*modelarts.Resp, error)
在组织下创建镜像仓库
type DeleteNamespacesLogic ¶
func NewDeleteNamespacesLogic ¶
func NewDeleteNamespacesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNamespacesLogic
func (*DeleteNamespacesLogic) DeleteNamespaces ¶
func (l *DeleteNamespacesLogic) DeleteNamespaces(in *modelarts.NamespaceReq) (*modelarts.Resp, error)
删除组织
type DeleteRepoLogic ¶
func NewDeleteRepoLogic ¶
func NewDeleteRepoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRepoLogic
func (*DeleteRepoLogic) DeleteRepo ¶
func (l *DeleteRepoLogic) DeleteRepo(in *modelarts.DeleteRepoReq) (*modelarts.Resp, error)
删除组织下的镜像仓库
type DeleteRepoTagLogic ¶
func NewDeleteRepoTagLogic ¶
func NewDeleteRepoTagLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRepoTagLogic
func (*DeleteRepoTagLogic) DeleteRepoTag ¶
func (l *DeleteRepoTagLogic) DeleteRepoTag(in *modelarts.DeleteRepoTagReq) (*modelarts.Resp, error)
删除指定tag的镜像
type DownloadFileLogic ¶
func NewDownloadFileLogic ¶
func NewDownloadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DownloadFileLogic
func (*DownloadFileLogic) DownloadFile ¶
func (l *DownloadFileLogic) DownloadFile(in *modelarts.FileRequest) (*modelarts.FileData, error)
镜像下载
type GetMetricsPoolsLogic ¶
func NewGetMetricsPoolsLogic ¶
func NewGetMetricsPoolsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMetricsPoolsLogic
func (*GetMetricsPoolsLogic) GetMetricsPools ¶
func (l *GetMetricsPoolsLogic) GetMetricsPools(in *modelarts.MetricsPoolsRequest) (*modelarts.MetricsPoolsResponse, error)
查询资源实时利用率
type ListNamespacesLogic ¶
func NewListNamespacesLogic ¶
func NewListNamespacesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNamespacesLogic
func (*ListNamespacesLogic) ListNamespaces ¶
func (l *ListNamespacesLogic) ListNamespaces(in *modelarts.ListNamespacesReq) (*modelarts.ListNamespacesResp, error)
查询组织列表
type ListReposDetailsLogic ¶
func NewListReposDetailsLogic ¶
func NewListReposDetailsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListReposDetailsLogic
func (*ListReposDetailsLogic) ListReposDetails ¶
func (l *ListReposDetailsLogic) ListReposDetails(in *modelarts.ListRepoReq) (*modelarts.ListReposDetailsResp, error)
查询镜像仓库列表
type ListRepositoryTagsLogic ¶
func NewListRepositoryTagsLogic ¶
func NewListRepositoryTagsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListRepositoryTagsLogic
func (*ListRepositoryTagsLogic) ListRepositoryTags ¶
func (l *ListRepositoryTagsLogic) ListRepositoryTags(in *modelarts.ListRepositoryTagsReq) (*modelarts.ListRepositoryTagsResp, error)
查询镜像tag列表
type ShowNamespaceLogic ¶
func NewShowNamespaceLogic ¶
func NewShowNamespaceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowNamespaceLogic
func (*ShowNamespaceLogic) ShowNamespace ¶
func (l *ShowNamespaceLogic) ShowNamespace(in *modelarts.NamespaceReq) (*modelarts.NamespaceInfo, error)
获取组织详情
type ShowRepositoryLogic ¶
func NewShowRepositoryLogic ¶
func NewShowRepositoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowRepositoryLogic
func (*ShowRepositoryLogic) ShowRepository ¶
func (l *ShowRepositoryLogic) ShowRepository(in *modelarts.ShowRepositoryReq) (*modelarts.ShowRepositoryResp, error)
ShowRepository 查询镜像仓库概要信息
type UpdateRepoLogic ¶
func NewUpdateRepoLogic ¶
func NewUpdateRepoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRepoLogic
func (*UpdateRepoLogic) UpdateRepo ¶
func (l *UpdateRepoLogic) UpdateRepo(in *modelarts.UpdateRepoReq) (*modelarts.Resp, error)
UpdateRepo 更新镜像仓库的概要信息
type UploadFileLogic ¶
func NewUploadFileLogic ¶
func NewUploadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UploadFileLogic
func (*UploadFileLogic) UploadFile ¶
func (l *UploadFileLogic) UploadFile(in *modelarts.FileRequest) (*modelarts.FileResponse, error)
镜像上传
Source Files ¶
- createnamespacelogic.go
- createrepologic.go
- deletenamespaceslogic.go
- deleterepologic.go
- deleterepotaglogic.go
- downloadfilelogic.go
- getmetricspoolslogic.go
- listnamespaceslogic.go
- listreposdetailslogic.go
- listrepositorytagslogic.go
- shownamespacelogic.go
- showrepositorylogic.go
- updaterepologic.go
- uploadfilelogic.go
Click to show internal directories.
Click to hide internal directories.