1 package podmandev 2 3 import ( 4 "context" 5 "fmt" 6 "io" 7 ) 8 9 func (o *DevClient) CleanupResources(ctx context.Context, out io.Writer) error { 10 fmt.Printf("Cleaning up resources\n") 11 if o.deployedPod == nil { 12 return nil 13 } 14 return o.podmanClient.CleanupPodResources(o.deployedPod, true) 15 } 16