github.com/jenkins-x/jx/v2@v2.1.155/pkg/jxfactory/connector/interface.go (about)

     1  package connector
     2  
     3  import (
     4  	"k8s.io/client-go/rest"
     5  )
     6  
     7  // Client a client for connecting to remote clusters to help support
     8  // multiple clusters for Environments
     9  type Client interface {
    10  	Connect(connector *RemoteConnector) (*rest.Config, error)
    11  }