17 lines
512 B
Go
17 lines
512 B
Go
|
package server
|
||
|
|
||
|
import (
|
||
|
"github.com/Sirupsen/logrus"
|
||
|
"golang.org/x/net/context"
|
||
|
pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
|
||
|
)
|
||
|
|
||
|
// ImageStatus returns the status of the image.
|
||
|
func (s *Server) ImageStatus(ctx context.Context, req *pb.ImageStatusRequest) (*pb.ImageStatusResponse, error) {
|
||
|
logrus.Debugf("ImageStatus: %+v", req)
|
||
|
// TODO
|
||
|
// containers/storage will take care of this by looking inside /var/lib/ocid/images
|
||
|
// and getting the image status
|
||
|
return &pb.ImageStatusResponse{}, nil
|
||
|
}
|