Documentation
¶
Index ¶
- type Application
- type Connection
- type Exec
- type Upload
- type UploadAction
- func (action *UploadAction) Perform(command Exec) error
- func (action *UploadAction) WithApplication(a Application)
- func (action *UploadAction) WithApplicationURL(z string)
- func (action *UploadAction) WithConfiguration(c UploadConfig)
- func (action *UploadAction) WithConnection(c Connection)
- func (action *UploadAction) WithTransportRequestID(t string)
- type UploadConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application Application specific properties
type Connection ¶
type Connection struct {
// The endpoint in for form <protocol>://<host>:<port>, no path
Endpoint string
// The ABAP client, like e.g. "001"
Client string
// The ABAP instance, like e.g. "DEV", "QA"
Instance string
User string
Password string
}
Connection Everything we need for connecting to the ABAP system
type Exec ¶
type Exec interface {
command.ExecRunner
GetExitCode() int
}
Exec Everything we need for calling an executable
type Upload ¶
type Upload interface {
Perform(Exec) error
WithConnection(Connection)
WithConfiguration(UploadConfig)
WithApplication(Application)
WithTransportRequestID(string)
WithApplicationURL(string)
}
Upload ...
type UploadAction ¶
type UploadAction struct {
Connection Connection
Application Application
Configuration UploadConfig
TransportRequestID string
ApplicationURL string
}
UploadAction Collects all the properties we need for the deployment
func (*UploadAction) Perform ¶
func (action *UploadAction) Perform(command Exec) error
Perform Performs the upload
func (*UploadAction) WithApplication ¶
func (action *UploadAction) WithApplication(a Application)
WithApplication Everything we need to know about the application
func (*UploadAction) WithApplicationURL ¶
func (action *UploadAction) WithApplicationURL(z string)
WithApplicationURL The location of the deployable
func (*UploadAction) WithConfiguration ¶
func (action *UploadAction) WithConfiguration(c UploadConfig)
WithConfiguration Everything we need to know in order to perform the upload
func (*UploadAction) WithConnection ¶
func (action *UploadAction) WithConnection(c Connection)
WithConnection Everything we need to know about the connection
func (*UploadAction) WithTransportRequestID ¶
func (action *UploadAction) WithTransportRequestID(t string)
WithTransportRequestID The transport request ID for the upload
Click to show internal directories.
Click to hide internal directories.