github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/pkg/transportrequest/solman/common.go (about)

     1  package solman
     2  
     3  import (
     4  	"github.com/SAP/jenkins-library/pkg/command"
     5  )
     6  
     7  // Exec interface collecting everything which is execution related
     8  // and needed in the context of a SOLMAN upload.
     9  type Exec interface {
    10  	command.ExecRunner
    11  	GetExitCode() int
    12  }
    13  
    14  // Connection Everything we need for connecting to Solution Manager
    15  type Connection struct {
    16  	Endpoint string
    17  	User     string
    18  	Password string
    19  }