cts

package
v1.390.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 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 Application

type Application 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
}

Application The details of the application

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
	User     string
	Password string
}

Connection Everything wee need for connecting to CTS

type Node

type Node 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
}

Node The details for configuring the node image

type UploadAction

type UploadAction struct {
	Connection         Connection
	Application        Application
	Node               Node
	TransportRequestID string
	ConfigFile         string
	DeployUser         string
}

UploadAction Collects all the properties we need for the deployment

func (*UploadAction) Perform

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

Perform Performs the upload

func (*UploadAction) WithApplication

func (action *UploadAction) WithApplication(app Application)

WithApplication ...

func (*UploadAction) WithConfigFile

func (action *UploadAction) WithConfigFile(configFile string)

WithConfigFile ...

func (*UploadAction) WithConnection

func (action *UploadAction) WithConnection(connection Connection)

WithConnection ...

func (*UploadAction) WithDeployUser

func (action *UploadAction) WithDeployUser(deployUser string)

WithDeployUser ...

func (*UploadAction) WithNodeProperties

func (action *UploadAction) WithNodeProperties(node Node)

WithNodeProperties ...

func (*UploadAction) WithTransportRequestID

func (action *UploadAction) WithTransportRequestID(id string)

WithTransportRequestID ...

Jump to

Keyboard shortcuts

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