rfc

package
v1.283.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	Name        string
	Description string
	AbapPackage string
}

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

type UploadConfig

type UploadConfig struct {
	AcceptUnixStyleEndOfLine bool
	CodePage                 string
	FailUploadOnWarning      bool
	Verbose                  bool
}

UploadConfig additional configuration properties

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL