Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultGitProviderSecretKey = "provider.token" DefaultGitProviderWebhookSecretKey = "webhook.secret" )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentNSWebhookSecret ¶
func GetCurrentNSWebhookSecret(ctx context.Context, k8int kubeinteraction.Interface) (string, error)
GetCurrentNSWebhookSecret get secret from current namespace if it exists
func SecretFromRepository ¶
func SecretFromRepository(ctx context.Context, cs *params.Run, k8int kubeinteraction.Interface, config *info.ProviderConfig, event *info.Event, repo *apipac.Repository, logger *zap.SugaredLogger) error
SecretFromRepository grab the secret from the repository CRD
Types ¶
Click to show internal directories.
Click to hide internal directories.