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 ¶
type ConcurrencyManager ¶ added in v0.15.0
type ConcurrencyManager struct {
// contains filtered or unexported fields
}
func NewConcurrencyManager ¶ added in v0.15.0
func NewConcurrencyManager() *ConcurrencyManager
func (*ConcurrencyManager) AddPipelineRun ¶ added in v0.15.0
func (c *ConcurrencyManager) AddPipelineRun(pr *v1beta1.PipelineRun)
func (*ConcurrencyManager) Enable ¶ added in v0.15.0
func (c *ConcurrencyManager) Enable()
func (*ConcurrencyManager) GetExecutionOrder ¶ added in v0.15.0
func (c *ConcurrencyManager) GetExecutionOrder() (string, []*v1beta1.PipelineRun)
Click to show internal directories.
Click to hide internal directories.