Documentation
¶
Index ¶
- func GetRepo(ctx context.Context, cs *params.Run, repoName string) (*apipac.Repository, error)
- func IncomingWebhookRule(branch string, incomingWebhooks []apipac.Incoming) *apipac.Incoming
- func MatchEventURLRepo(ctx context.Context, cs *params.Run, event *info.Event, ns string) (*apipac.Repository, error)
- type Match
- type RemoteTasks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncomingWebhookRule ¶
IncomingWebhookRule will match a rule to an incoming rule, currently a rule is a target branch
Types ¶
type Match ¶
type Match struct { PipelineRun *v1beta1.PipelineRun Repo *apipac.Repository Config map[string]string }
type RemoteTasks ¶
func (RemoteTasks) GetTaskFromAnnotations ¶
func (rt RemoteTasks) GetTaskFromAnnotations(ctx context.Context, logger *zap.SugaredLogger, providerintf provider.Interface, event *info.Event, annotations map[string]string) ([]*tektonv1beta1.Task, error)
GetTaskFromAnnotations Get task remotely if they are on Annotations
Click to show internal directories.
Click to hide internal directories.