Documentation ¶
Index ¶
- type Image
- func (i *Image) Create(req *apistructs.ImageCreateRequest) (int64, error)
- func (i *Image) Get(imageIDOrImage string) (*dbclient.Image, error)
- func (i *Image) List(orgID, pageNo, pageSize int64) (*apistructs.ImageListResponseData, error)
- func (i *Image) Update(ImageIDOrImage string, req *apistructs.ImageUpdateRequest) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Image Image 操作封装
func (*Image) Create ¶
func (i *Image) Create(req *apistructs.ImageCreateRequest) (int64, error)
Create 创建镜像
func (*Image) List ¶
func (i *Image) List(orgID, pageNo, pageSize int64) (*apistructs.ImageListResponseData, error)
func (*Image) Update ¶
func (i *Image) Update(ImageIDOrImage string, req *apistructs.ImageUpdateRequest) error
Update 更新镜像
Click to show internal directories.
Click to hide internal directories.