Documentation
¶
Overview ¶
Package images implements machine.ImageService.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
machine.UnimplementedImageServiceServer
// contains filtered or unexported fields
}
Service implements machine.ImageService.
func NewService ¶
func NewService(controller runtime.Controller) *Service
NewService creates a new ImageService.
func (*Service) Import ¶
func (svc *Service) Import(srv grpc.ClientStreamingServer[machine.ImageServiceImportRequest, machine.ImageServiceImportResponse]) error
Import an image from a stream (tarball).
func (*Service) List ¶
func (svc *Service) List(req *machine.ImageServiceListRequest, srv grpc.ServerStreamingServer[machine.ImageServiceListResponse]) error
List images in the containerd.
func (*Service) Pull ¶
func (svc *Service) Pull(req *machine.ImageServicePullRequest, srv grpc.ServerStreamingServer[machine.ImageServicePullResponse]) error
Pull an image into the containerd.
Click to show internal directories.
Click to hide internal directories.