github.com/emc-advanced-dev/unik@v0.0.0-20190717152701-a58d3e8e33b7/pkg/providers/ukvm/list_images.go (about) 1 package ukvm 2 3 import ( 4 "github.com/solo-io/unik/pkg/types" 5 ) 6 7 func (p *UkvmProvider) ListImages() ([]*types.Image, error) { 8 images := []*types.Image{} 9 for _, image := range p.state.GetImages() { 10 images = append(images, image) 11 } 12 return images, nil 13 }