imagesservicelogic

package
v0.0.0-...-724c7c4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateNamespaceLogic

type CreateNamespaceLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type CreateRepoLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeleteNamespacesLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeleteRepoLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeleteRepoTagLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteRepoTagLogic

func NewDeleteRepoTagLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRepoTagLogic

func (*DeleteRepoTagLogic) DeleteRepoTag

删除指定tag的镜像

type DownloadFileLogic

type DownloadFileLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDownloadFileLogic

func NewDownloadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DownloadFileLogic

func (*DownloadFileLogic) DownloadFile

镜像下载

type ListNamespacesLogic

type ListNamespacesLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListNamespacesLogic

func NewListNamespacesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNamespacesLogic

func (*ListNamespacesLogic) ListNamespaces

查询组织列表

type ListReposDetailsLogic

type ListReposDetailsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListReposDetailsLogic

func NewListReposDetailsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListReposDetailsLogic

func (*ListReposDetailsLogic) ListReposDetails

查询镜像仓库列表

type ListRepositoryTagsLogic

type ListRepositoryTagsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListRepositoryTagsLogic

func NewListRepositoryTagsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListRepositoryTagsLogic

func (*ListRepositoryTagsLogic) ListRepositoryTags

查询镜像tag列表

type ShowNamespaceLogic

type ShowNamespaceLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewShowNamespaceLogic

func NewShowNamespaceLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowNamespaceLogic

func (*ShowNamespaceLogic) ShowNamespace

获取组织详情

type ShowRepositoryLogic

type ShowRepositoryLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewShowRepositoryLogic

func NewShowRepositoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ShowRepositoryLogic

func (*ShowRepositoryLogic) ShowRepository

ShowRepository 查询镜像仓库概要信息

type UpdateRepoLogic

type UpdateRepoLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type UploadFileLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUploadFileLogic

func NewUploadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UploadFileLogic

func (*UploadFileLogic) UploadFile

镜像上传

Jump to

Keyboard shortcuts

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