add a todo for unimplement manager method
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
This commit is contained in:
parent
24b8336a14
commit
d59830330f
3 changed files with 31 additions and 0 deletions
11
manager/image_list.go
Normal file
11
manager/image_list.go
Normal 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
9
manager/image_remove.go
Normal 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
11
manager/image_status.go
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue