add a todo for unimplement manager method

Signed-off-by: Crazykev <crazykev@zju.edu.cn>
This commit is contained in:
Crazykev 2016-12-14 14:32:12 +08:00
parent 24b8336a14
commit d59830330f
3 changed files with 31 additions and 0 deletions

11
manager/image_list.go Normal file
View file

@ -0,0 +1,11 @@
package manager
import pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
// ListImages lists existing images.
func (m *Manager) ListImages(filter *pb.ImageFilter) ([]*pb.Image, error) {
// TODO
// containers/storage will take care of this by looking inside /var/lib/ocid/images
// and listing images.
return nil, nil
}

9
manager/image_remove.go Normal file
View file

@ -0,0 +1,9 @@
package manager
import pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
// RemoveImage removes the image.
func (m *Manager) RemoveImage(imageSpec *pb.ImageSpec) error {
// TODO: implement this
return nil
}

11
manager/image_status.go Normal file
View file

@ -0,0 +1,11 @@
package manager
import pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
// ImageStatus returns the status of the image.
func (m *Manager) ImageStatus(imageSpec *pb.ImageSpec) (*pb.Image, error) {
// TODO
// containers/storage will take care of this by looking inside /var/lib/ocid/images
// and getting the image status
return nil, nil
}