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 ¶
type RemoteTasks struct { Run *params.Run ProviderInterface provider.Interface Event *info.Event Logger *zap.SugaredLogger }
func (RemoteTasks) GetPipelineFromAnnotations ¶ added in v0.13.0
func (rt RemoteTasks) GetPipelineFromAnnotations(ctx context.Context, annotations map[string]string) ([]*tektonv1beta1.Pipeline, error)
GetPipelineFromAnnotations Get pipeline remotely if they are on Annotations TODO: merge in a generic between the two
func (RemoteTasks) GetTaskFromAnnotations ¶
func (rt RemoteTasks) GetTaskFromAnnotations(ctx context.Context, 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.