mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 13:55:41 +00:00
Add dummy ListImages and RemoveImage to rkt runtime.
This commit is contained in:
parent
2ad933e124
commit
60a77221f5
@ -22,6 +22,7 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
kubecontainer "github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/container"
|
||||||
"github.com/docker/docker/pkg/parsers"
|
"github.com/docker/docker/pkg/parsers"
|
||||||
docker "github.com/fsouza/go-dockerclient"
|
docker "github.com/fsouza/go-dockerclient"
|
||||||
"github.com/golang/glog"
|
"github.com/golang/glog"
|
||||||
@ -108,3 +109,11 @@ func (r *Runtime) IsImagePresent(img string) (bool, error) {
|
|||||||
}
|
}
|
||||||
return true, nil
|
return true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (r *Runtime) ListImages() ([]kubecontainer.Image, error) {
|
||||||
|
return []kubecontainer.Image{}, fmt.Errorf("rkt: ListImages unimplemented")
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r *Runtime) RemoveImage(image string) error {
|
||||||
|
return fmt.Errorf("rkt: RemoveImages unimplemented")
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user