cmd

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 37 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitCommit string

GitCommit ...

View Source
var GitTag string

GitTag ...

Functions

func AbapEnvironmentPullGitRepoCommand added in v1.12.0

func AbapEnvironmentPullGitRepoCommand() *cobra.Command

AbapEnvironmentPullGitRepoCommand Pulls a git repository to a SAP Cloud Platform ABAP Environment system

func CheckmarxExecuteScanCommand added in v1.11.0

func CheckmarxExecuteScanCommand() *cobra.Command

CheckmarxExecuteScanCommand Checkmarx is the recommended tool for security scans of JavaScript, iOS, Swift and Ruby code.

func CloudFoundryDeleteServiceCommand added in v1.13.0

func CloudFoundryDeleteServiceCommand() *cobra.Command

CloudFoundryDeleteServiceCommand DeleteCloudFoundryService

func ConfigCommand

func ConfigCommand() *cobra.Command

ConfigCommand is the entry command for loading the configuration of a pipeline step

func DetectExecuteScanCommand added in v1.4.0

func DetectExecuteScanCommand() *cobra.Command

DetectExecuteScanCommand Executes Synopsis Detect scan

func Execute

func Execute()

Execute is the starting point of the piper command line tool

func GithubCreatePullRequestCommand added in v1.5.0

func GithubCreatePullRequestCommand() *cobra.Command

GithubCreatePullRequestCommand Create a pull request on GitHub

func GithubPublishReleaseCommand

func GithubPublishReleaseCommand() *cobra.Command

GithubPublishReleaseCommand Publish a release in GitHub

func KarmaExecuteTestsCommand

func KarmaExecuteTestsCommand() *cobra.Command

KarmaExecuteTestsCommand Executes the Karma test runner

func KubernetesDeployCommand added in v1.10.0

func KubernetesDeployCommand() *cobra.Command

KubernetesDeployCommand Deployment to Kubernetes test or production namespace within the specified Kubernetes cluster.

func MavenExecuteCommand added in v1.15.0

func MavenExecuteCommand() *cobra.Command

MavenExecuteCommand This step allows to run maven commands

func MavenStaticCodeChecksCommand added in v1.16.0

func MavenStaticCodeChecksCommand() *cobra.Command

MavenStaticCodeChecksCommand Execute static code checks for Maven based projects. The plugins SpotBugs and PMD are used.

func MtaBuildCommand added in v1.15.0

func MtaBuildCommand() *cobra.Command

MtaBuildCommand Performs an mta build

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

func ProtecodeExecuteScanCommand() *cobra.Command

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 VersionCommand

func VersionCommand() *cobra.Command

VersionCommand Returns the version of the piper binary

func XsDeployCommand added in v1.3.0

func XsDeployCommand() *cobra.Command

XsDeployCommand Performs xs deployment

Types

type Action added in v1.3.0

type Action int

Action ...

const (
	//None ...
	None Action = iota
	//Resume ...
	Resume Action = iota
	//Abort ...
	Abort Action = iota
	//Retry ...
	Retry Action = iota
)

func ValueOfAction added in v1.3.0

func ValueOfAction(str string) (Action, error)

ValueOfAction ...

func (Action) GetAction added in v1.3.0

func (a Action) GetAction() (string, error)

GetAction ...

func (Action) String added in v1.3.0

func (a Action) String() string

String ...

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 ValueOfMode added in v1.3.0

func ValueOfMode(str string) (DeployMode, error)

ValueOfMode ...

func (DeployMode) GetDeployCommand added in v1.3.0

func (m DeployMode) GetDeployCommand() (string, error)

GetDeployCommand ...

func (DeployMode) String added in v1.3.0

func (m DeployMode) String() string

String ...

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 ...

func (MTABuildTarget) String added in v1.15.0

func (m MTABuildTarget) String() string

String ...

Jump to

Keyboard shortcuts

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