common

package
v0.0.0-...-09780b5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuildServiceNamespaceName = "build-service"
	// Pipelines as Code GitHub appliaction configuration secret name.
	// The secret is located in Build Service namespace.
	PipelinesAsCodeGitHubAppSecretName = "pipelines-as-code-secret"
	// Keys of the GitHub app ID and the app private key in the pipelines-as-code-secret
	PipelinesAsCodeGithubAppIdKey   = "github-application-id"
	PipelinesAsCodeGithubPrivateKey = "github-private-key"
)

Variables

This section is empty.

Functions

func IsPaCApplicationConfigured

func IsPaCApplicationConfigured(gitProvider string, config map[string][]byte) bool

IsPaCApplicationConfigured checks if Pipelines as Code credentials configured for given provider. Application is preffered over webhook if possible.

func RandomString

func RandomString(length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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