Documentation ¶
Index ¶
- Variables
- func AbapEnvironmentPullGitRepoCommand() *cobra.Command
- func CheckmarxExecuteScanCommand() *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 PrepareConfig(cmd *cobra.Command, metadata *config.StepData, stepName string, ...) error
- func ProtecodeExecuteScanCommand() *cobra.Command
- func RunVersion()
- func VersionCommand() *cobra.Command
- func XsDeployCommand() *cobra.Command
- type Action
- type DeployMode
- type GeneralConfigOptions
Constants ¶
This section is empty.
Variables ¶
var GitCommit string
GitCommit ...
var GitTag string
GitTag ...
Functions ¶
func AbapEnvironmentPullGitRepoCommand ¶
AbapEnvironmentPullGitRepoCommand Pulls a git repository to a SAP Cloud Platform ABAP Environment system
func CheckmarxExecuteScanCommand ¶
CheckmarxExecuteScanCommand Checkmarx is the recommended tool for security scans of JavaScript, iOS, Swift and Ruby code.
func ConfigCommand ¶
ConfigCommand is the entry command for loading the configuration of a pipeline step
func DetectExecuteScanCommand ¶
DetectExecuteScanCommand Executes Synopsis Detect scan
func GithubCreatePullRequestCommand ¶
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 ¶
KubernetesDeployCommand Deployment to Kubernetes test or production namespace within the specified Kubernetes cluster.
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 ¶
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. You can find more details on its capabilities in the [OS3 - Open Source Software Security JAM](https://jam4.sapjam.com/groups/XgeUs0CXItfeWyuI4k7lM3/overview_page/aoAsA0k4TbezGFyOkhsXFs). For getting access to Protecode please visit the [guide](https://go.sap.corp/protecode).
func VersionCommand ¶
VersionCommand Returns the version of the piper binary
Types ¶
type DeployMode ¶
type DeployMode int
DeployMode ...
const ( // NoDeploy ... NoDeploy DeployMode = iota //Deploy ... Deploy DeployMode = iota //BGDeploy ... BGDeploy DeployMode = iota )
func (DeployMode) GetDeployCommand ¶
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
Source Files ¶
- abapEnvironmentPullGitRepo.go
- abapEnvironmentPullGitRepo_generated.go
- checkmarxExecuteScan.go
- checkmarxExecuteScan_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
- piper.go
- protecodeExecuteScan.go
- protecodeExecuteScan_generated.go
- version.go
- version_generated.go
- xsDeploy.go
- xsDeploy_generated.go