mirror of https://github.com/k3s-io/k3s
Add dummy ListImages and RemoveImage to rkt runtime.
parent
2ad933e124
commit
60a77221f5
|
@ -22,6 +22,7 @@ import (
|
|||
"path"
|
||||
"strings"
|
||||
|
||||
kubecontainer "github.com/GoogleCloudPlatform/kubernetes/pkg/kubelet/container"
|
||||
"github.com/docker/docker/pkg/parsers"
|
||||
docker "github.com/fsouza/go-dockerclient"
|
||||
"github.com/golang/glog"
|
||||
|
@ -108,3 +109,11 @@ func (r *Runtime) IsImagePresent(img string) (bool, error) {
|
|||
}
|
||||
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