Documentation ¶
Index ¶
- Variables
- func AbapEnvironmentPullGitRepoCommand() *cobra.Command
- func ArtifactPrepareVersionCommand() *cobra.Command
- func CheckmarxExecuteScanCommand() *cobra.Command
- func CloudFoundryCreateServiceKeyCommand() *cobra.Command
- func CloudFoundryDeleteServiceCommand() *cobra.Command
- func ConfigCommand() *cobra.Command
- func DetectExecuteScanCommand() *cobra.Command
- func Execute()
- func GithubCreatePullRequestCommand() *cobra.Command
- func GithubPublishReleaseCommand() *cobra.Command
- func KarmaExecuteTestsCommand() *cobra.Command
- func KubernetesDeployCommand() *cobra.Command
- func MavenBuildCommand() *cobra.Command
- func MavenExecuteCommand() *cobra.Command
- func MavenExecuteStaticCodeChecksCommand() *cobra.Command
- func MtaBuildCommand() *cobra.Command
- func NexusUploadCommand() *cobra.Command
- func PrepareConfig(cmd *cobra.Command, metadata *config.StepData, stepName string, ...) error
- func ProtecodeExecuteScanCommand() *cobra.Command
- func SonarExecuteScanCommand() *cobra.Command
- func VersionCommand() *cobra.Command
- func XsDeployCommand() *cobra.Command
- type Action
- type DeployMode
- type GeneralConfigOptions
- type MTABuildTarget
Constants ¶
This section is empty.
Variables ¶
var GitCommit string
GitCommit ...
var GitTag string
GitTag ...
Functions ¶
func AbapEnvironmentPullGitRepoCommand ¶ added in v1.12.0
AbapEnvironmentPullGitRepoCommand Pulls a git repository to a SAP Cloud Platform ABAP Environment system
func ArtifactPrepareVersionCommand ¶ added in v1.20.0
ArtifactPrepareVersionCommand Prepares and potentially updates the artifact's version before building the artifact.
func CheckmarxExecuteScanCommand ¶ added in v1.11.0
CheckmarxExecuteScanCommand Checkmarx is the recommended tool for security scans of JavaScript, iOS, Swift and Ruby code.
func CloudFoundryCreateServiceKeyCommand ¶ added in v1.20.0
CloudFoundryCreateServiceKeyCommand cloudFoundryCreateServiceKey
func CloudFoundryDeleteServiceCommand ¶ added in v1.13.0
CloudFoundryDeleteServiceCommand DeleteCloudFoundryService
func ConfigCommand ¶
ConfigCommand is the entry command for loading the configuration of a pipeline step
func DetectExecuteScanCommand ¶ added in v1.4.0
DetectExecuteScanCommand Executes Synopsis Detect scan
func GithubCreatePullRequestCommand ¶ added in v1.5.0
GithubCreatePullRequestCommand Create a pull request on GitHub
func GithubPublishReleaseCommand ¶
GithubPublishReleaseCommand Publish a release in GitHub
func KarmaExecuteTestsCommand ¶
KarmaExecuteTestsCommand Executes the Karma test runner
func KubernetesDeployCommand ¶ added in v1.10.0
KubernetesDeployCommand Deployment to Kubernetes test or production namespace within the specified Kubernetes cluster.
func MavenBuildCommand ¶ added in v1.17.0
MavenBuildCommand This step will install the maven project into the local maven repository.
func MavenExecuteCommand ¶ added in v1.15.0
MavenExecuteCommand This step allows to run maven commands
func MavenExecuteStaticCodeChecksCommand ¶ added in v1.17.0
MavenExecuteStaticCodeChecksCommand Execute static code checks for Maven based projects. The plugins SpotBugs and PMD are used.
func MtaBuildCommand ¶ added in v1.15.0
MtaBuildCommand Performs an mta build
func NexusUploadCommand ¶ added in v1.18.0
NexusUploadCommand Upload artifacts to Nexus
func PrepareConfig ¶
func PrepareConfig(cmd *cobra.Command, metadata *config.StepData, stepName string, options interface{}, openFile func(s string) (io.ReadCloser, error)) error
PrepareConfig reads step configuration from various sources and merges it (defaults, config file, flags, ...)
func ProtecodeExecuteScanCommand ¶ added in v1.12.0
ProtecodeExecuteScanCommand Protecode is an Open Source Vulnerability Scanner that is capable of scanning binaries. It can be used to scan docker images but is supports many other programming languages especially those of the C family.
func SonarExecuteScanCommand ¶ added in v1.19.0
SonarExecuteScanCommand Executes the Sonar scanner
func VersionCommand ¶
VersionCommand Returns the version of the piper binary
func XsDeployCommand ¶ added in v1.3.0
XsDeployCommand Performs xs deployment
Types ¶
type Action ¶ added in v1.3.0
type Action int
Action ...
func ValueOfAction ¶ added in v1.3.0
ValueOfAction ...
type DeployMode ¶ added in v1.3.0
type DeployMode int
DeployMode ...
const ( // NoDeploy ... NoDeploy DeployMode = iota //Deploy ... Deploy DeployMode = iota //BGDeploy ... BGDeploy DeployMode = iota )
func (DeployMode) GetDeployCommand ¶ added in v1.3.0
func (m DeployMode) GetDeployCommand() (string, error)
GetDeployCommand ...
type GeneralConfigOptions ¶
type GeneralConfigOptions struct { CustomConfig string DefaultConfig []string //ordered list of Piper default configurations. Can be filePath or ENV containing JSON in format 'ENV:MY_ENV_VAR' ParametersJSON string EnvRootPath string NoTelemetry bool StageName string StepConfigJSON string StepMetadata string //metadata to be considered, can be filePath or ENV containing JSON in format 'ENV:MY_ENV_VAR' StepName string Verbose bool }
GeneralConfigOptions contains all global configuration options for piper binary
var GeneralConfig GeneralConfigOptions
GeneralConfig contains global configuration flags for piper binary
type MTABuildTarget ¶ added in v1.15.0
type MTABuildTarget int
MTABuildTarget ...
const ( // NEO ... NEO MTABuildTarget = iota // CF ... CF MTABuildTarget = iota //XSA ... XSA MTABuildTarget = iota )
func ValueOfBuildTarget ¶ added in v1.15.0
func ValueOfBuildTarget(str string) (MTABuildTarget, error)
ValueOfBuildTarget ...
Source Files ¶
- abapEnvironmentPullGitRepo.go
- abapEnvironmentPullGitRepo_generated.go
- artifactPrepareVersion.go
- artifactPrepareVersion_generated.go
- checkmarxExecuteScan.go
- checkmarxExecuteScan_generated.go
- cloudFoundryCreateServiceKey.go
- cloudFoundryCreateServiceKey_generated.go
- cloudFoundryDeleteService.go
- cloudFoundryDeleteService_generated.go
- detectExecuteScan.go
- detectExecuteScan_generated.go
- getConfig.go
- githubCreatePullRequest.go
- githubCreatePullRequest_generated.go
- githubPublishRelease.go
- githubPublishRelease_generated.go
- interfaces.go
- karmaExecuteTests.go
- karmaExecuteTests_generated.go
- kubernetesDeploy.go
- kubernetesDeploy_generated.go
- mavenBuild.go
- mavenBuild_generated.go
- mavenExecute.go
- mavenExecuteStaticCodeChecks.go
- mavenExecuteStaticCodeChecks_generated.go
- mavenExecute_generated.go
- mtaBuild.go
- mtaBuild_generated.go
- nexusUpload.go
- nexusUpload_generated.go
- piper.go
- protecodeExecuteScan.go
- protecodeExecuteScan_generated.go
- sonarExecuteScan.go
- sonarExecuteScan_generated.go
- version.go
- version_generated.go
- xsDeploy.go
- xsDeploy_generated.go