...

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

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

     1  package kubedev
     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 cluster", commandName)
    15  	return common.Run(
    16  		ctx,
    17  		commandName,
    18  		o.kubernetesClient,
    19  		o.execClient,
    20  		o.configAutomountClient,
    21  		o.filesystem,
    22  	)
    23  }
    24  

View as plain text