common

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CloneDir represents the dir which the repo clone to.
	CloneDir = "/tmp/code"

	// GoTestReport represents the file name of golang test report.
	// If user configured the golang test report in unit-test commands (eg: go test -coverprofile=coverage.out),
	// We will cp the file(coverage.out) to go_test_report.cyclone, and use it at code-scan stage.
	GoTestReport = "go_test_report.cyclone"
)

Variables

This section is empty.

Functions

func GetClient

func GetClient(masterUrl, kubeConfigPath string) (clientset.Interface, error)

GetClient creates a client for k8s cluster

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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