package images
import "github.com/containerd/containerd/services/images"
Index ¶
- func NewService(db *bolt.DB, publisher events.Publisher) imagesapi.ImagesServer
- func NewStoreFromClient(client imagesapi.ImagesClient) images.Store
- type Service
- func (s *Service) Create(ctx context.Context, req *imagesapi.CreateImageRequest) (*imagesapi.CreateImageResponse, error)
- func (s *Service) Delete(ctx context.Context, req *imagesapi.DeleteImageRequest) (*empty.Empty, error)
- func (s *Service) Get(ctx context.Context, req *imagesapi.GetImageRequest) (*imagesapi.GetImageResponse, error)
- func (s *Service) List(ctx context.Context, req *imagesapi.ListImagesRequest) (*imagesapi.ListImagesResponse, error)
- func (s *Service) Register(server *grpc.Server) error
- func (s *Service) Update(ctx context.Context, req *imagesapi.UpdateImageRequest) (*imagesapi.UpdateImageResponse, error)
Functions ¶
func NewService ¶
func NewStoreFromClient ¶
func NewStoreFromClient(client imagesapi.ImagesClient) images.Store
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Create ¶
func (s *Service) Create(ctx context.Context, req *imagesapi.CreateImageRequest) (*imagesapi.CreateImageResponse, error)
func (*Service) Delete ¶
func (s *Service) Delete(ctx context.Context, req *imagesapi.DeleteImageRequest) (*empty.Empty, error)
func (*Service) Get ¶
func (s *Service) Get(ctx context.Context, req *imagesapi.GetImageRequest) (*imagesapi.GetImageResponse, error)
func (*Service) List ¶
func (s *Service) List(ctx context.Context, req *imagesapi.ListImagesRequest) (*imagesapi.ListImagesResponse, error)
func (*Service) Register ¶
func (*Service) Update ¶
func (s *Service) Update(ctx context.Context, req *imagesapi.UpdateImageRequest) (*imagesapi.UpdateImageResponse, error)
Source Files ¶
client.go helpers.go service.go
- Version
- v1.0.0-alpha6
- Published
- Aug 23, 2017
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 5 minutes ago –
Tools for package owners.