transportrequest

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CTSApplication

type CTSApplication struct {
	// Name of the application
	Name string
	// The ABAP package
	Pack string
	// A description. Only taken into account for initial upload, not
	// in case of a re-deployment.
	Desc string
}

CTSApplication The details of the application

type CTSConnection

type CTSConnection struct {
	// The endpoint in for form <protocol>://<host>:<port>, no path
	Endpoint string
	// The ABAP client, like e.g. "001"
	Client   string
	User     string
	Password string
}

CTSConnection Everything wee need for connecting to CTS

type CTSNode

type CTSNode struct {
	// The dependencies which are installed on a basic node image in order
	// to enable it for fiori deployment. If left empty we assume the
	// provided base image has already everything installed.
	DeployDependencies []string
	// Additional options for the npm install command. Useful e.g.
	// for providing additional registries or for triggering verbose mode
	InstallOpts []string
}

CTSNode The details for configuring the node image

type CTSUploadAction

type CTSUploadAction struct {
	Connection         CTSConnection
	Application        CTSApplication
	Node               CTSNode
	TransportRequestID string
	ConfigFile         string
	DeployUser         string
}

CTSUploadAction Collects all the properties we need for the deployment

func (*CTSUploadAction) Perform

func (action *CTSUploadAction) Perform(command command.ShellRunner) error

Perform Performs the upload

func (*CTSUploadAction) WithApplication

func (action *CTSUploadAction) WithApplication(app CTSApplication)

WithApplication ...

func (*CTSUploadAction) WithConfigFile

func (action *CTSUploadAction) WithConfigFile(configFile string)

WithConfigFile ...

func (*CTSUploadAction) WithConnection

func (action *CTSUploadAction) WithConnection(connection CTSConnection)

WithConnection ...

func (*CTSUploadAction) WithDeployUser

func (action *CTSUploadAction) WithDeployUser(deployUser string)

WithDeployUser ...

func (*CTSUploadAction) WithNodeProperties

func (action *CTSUploadAction) WithNodeProperties(node CTSNode)

WithNodeProperties ...

func (*CTSUploadAction) WithTransportRequestID

func (action *CTSUploadAction) WithTransportRequestID(id string)

WithTransportRequestID ...

Jump to

Keyboard shortcuts

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