pipelineascode

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGitProviderSecretKey        = "provider.token"
	DefaultGitProviderWebhookSecretKey = "webhook.secret"
)
View Source
const (
	CompletedStatus = "completed"
)

Variables

This section is empty.

Functions

func GetCurrentNSWebhookSecret

func GetCurrentNSWebhookSecret(ctx context.Context, k8int kubeinteraction.Interface, run *params.Run) (string, error)

GetCurrentNSWebhookSecret get secret from namespace as stored on context.

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 *v1.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, []*v1.PipelineRun)

type PacRun

type PacRun struct {
	// contains filtered or unexported fields
}

func NewPacs

func NewPacs(event *info.Event, vcx provider.Interface, run *params.Run, pacInfo *info.PacOpts, k8int kubeinteraction.Interface, logger *zap.SugaredLogger, globalRepo *v1alpha1.Repository) PacRun

func (*PacRun) Run

func (p *PacRun) Run(ctx context.Context) error

type SecretFromRepository

type SecretFromRepository struct {
	K8int       kubeinteraction.Interface
	Config      *info.ProviderConfig
	Event       *info.Event
	Repo        *apipac.Repository
	WebhookType string
	Namespace   string
	Logger      *zap.SugaredLogger
}

func (*SecretFromRepository) Get added in v0.27.0

SecretFromRepository grab the secret from the repository CRD.

Jump to

Keyboard shortcuts

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