package
1.154.0
Repository: https://github.com/xgoffin/jenkins-library.git
Documentation: pkg.go.dev

# Functions

CheckAddonDescriptorForRepositories checks AddonDescriptor struct if it contains any repositories.
ConstructAddonDescriptorFromJSON : Create new AddonDescriptor filled with data from JSON.
ConvertTime formats an ABAP timestamp string from format /Date(1585576807000+0000)/ into a UNIX timestamp and returns it.
GetHTTPResponse wraps the SendRequest function of piperhttp.
No description provided by the author
GetRepositories for parsing one or multiple branches and repositories from repositories file or branchName and repositoryName configuration.
HandleHTTPError handles ABAP error messages which can occur when using OData services The point of this function is to enrich the error received from a HTTP Request (which is passed as a parameter to this function).
PollEntity periodically polls the pull/import entity to get the status.
PrintLegacyLogs sorts and formats the received transport and execution log of an import; Deprecated with SAP BTP, ABAP Environment release 2205.
No description provided by the author
ReadAddonDescriptor parses AddonDescriptor YAML file.
ReadCOnfigFile reads a file from a specific path and returns the json string as []byte */.
ReadServiceKeyAbapEnvironment from Cloud Foundry and returns it.

# Structs

AbapBinding contains information about service binding in Cloud Foundry.
AbapConnection contains information about the ABAP connection for the ABAP endpoint.
AbapEnvironmentCheckoutBranchOptions struct for the CheckoutBranch piper step.
AbapEnvironmentOptions contains cloud foundry fields and the host parameter for connections to ABAP Environment instances.
AbapEnvironmentPullGitRepoOptions struct for the PullGitRepo piper step.
AbapEnvironmentRunATCCheckOptions struct for the RunATCCheck piper step.
AbapError contains the error code and the error message for ABAP errors.
AbapErrorMessage contains the lanuage and value fields for ABAP errors.
AbapLogs struct for ABAP logs.
No description provided by the author
AbapMetadata contains the URI of metadata files.
AbapServiceKey contains information about an ABAP service key.
AbapUtils Struct.
AddonDescriptor contains fields about the addonProduct.
AUtilsMock mock.
BranchEntity struct for the Branch entity A4C_A2G_GHA_SC_BRANCH.
ClientMock contains information about the client mock.
CloneEntity struct for the Clone entity A4C_A2G_GHA_SC_CLONE.
ConnectionDetailsHTTP contains fields for HTTP connections including the XCSRF token.
No description provided by the author
No description provided by the author
No description provided by the author
LogResults struct for Execution and Transport Log entities A4C_A2G_GHA_SC_LOG_EXE and A4C_A2G_GHA_SC_LOG_TP.
No description provided by the author
PullEntity struct for the Pull/Import entity A4C_A2G_GHA_SC_IMP.
RepositoriesConfig struct for parsing one or multiple branches and repositories configurations.
Repository contains fields for the repository/component version.

# Interfaces

Communication for defining function used for communication */.

# Type aliases

ReadAddonDescriptorType is the type for ReadAddonDescriptor for mocking.