Documentation ¶
Index ¶
- type Application
- type Connection
- type Node
- type UploadAction
- func (action *UploadAction) Perform(command command.ShellRunner) error
- func (action *UploadAction) WithApplication(app Application)
- func (action *UploadAction) WithConfigFile(configFile string)
- func (action *UploadAction) WithConnection(connection Connection)
- func (action *UploadAction) WithDeployUser(deployUser string)
- func (action *UploadAction) WithNodeProperties(node Node)
- func (action *UploadAction) WithTransportRequestID(id string)
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 ...
Click to show internal directories.
Click to hide internal directories.