...

Source file src/github.com/redhat-developer/odo/pkg/dev/podmandev/run.go

Documentation: github.com/redhat-developer/odo/pkg/dev/podmandev

     1  package podmandev
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/redhat-developer/odo/pkg/dev/common"
     7  	"k8s.io/klog"
     8  )
     9  
    10  func (o *DevClient) Run(
    11  	ctx context.Context,
    12  	commandName string,
    13  ) error {
    14  	klog.V(4).Infof("running command %q on podman", commandName)
    15  	return common.Run(
    16  		ctx,
    17  		commandName,
    18  		o.podmanClient,
    19  		o.execClient,
    20  		nil, // TODO(feloy) set when running on new container is supported on podman
    21  		o.fs,
    22  	)
    23  }
    24  

View as plain text