Documentation ¶
Index ¶
- func GenerateBasicAuthSecretName() string
- func GetSecretsAttachedToPipelineRun(ctx context.Context, k kubeinteraction.Interface, pr *tektonv1.PipelineRun) []ktypes.SecretValue
- func MakeBasicAuthSecret(runevent *info.Event, secretName string) (*corev1.Secret, error)
- func ReplaceSecretsInText(text string, values []ktypes.SecretValue) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBasicAuthSecretName ¶
func GenerateBasicAuthSecretName() string
func GetSecretsAttachedToPipelineRun ¶
func GetSecretsAttachedToPipelineRun(ctx context.Context, k kubeinteraction.Interface, pr *tektonv1.PipelineRun) []ktypes.SecretValue
GetSecretsAttachedToPipelineRun get all secrets attached to a PipelineRun and grab their values
func MakeBasicAuthSecret ¶
MakeBasicAuthSecret Make a secret for git-clone basic-auth workspace
func ReplaceSecretsInText ¶
func ReplaceSecretsInText(text string, values []ktypes.SecretValue) string
ReplaceSecretsInText this will take a text snippet and hide the leaked secret
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.