customs

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApprovalRunHandler

type ApprovalRunHandler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ApprovalRunHandler handles approval custom task

func (*ApprovalRunHandler) Handle

Handle generates Approval

type EmailRunHandler

type EmailRunHandler struct {
	client.Client
	Log        logr.Logger
	Scheme     *runtime.Scheme
	MailSender mail.Sender
}

EmailRunHandler handles email custom task

func (*EmailRunHandler) Handle

func (a *EmailRunHandler) Handle(run *tektonv1alpha1.Run) (ctrl.Result, error)

Handle sends email to the receivers

type SlackRunHandler added in v0.2.0

type SlackRunHandler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

SlackRunHandler handles slack custom task

func (*SlackRunHandler) Handle added in v0.2.0

func (a *SlackRunHandler) Handle(run *tektonv1alpha1.Run) (ctrl.Result, error)

Handle sends slack to the webhook

type WebhookRunHandler added in v0.5.4

type WebhookRunHandler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

WebhookRunHandler handles Webhook custom task

func (*WebhookRunHandler) Handle added in v0.5.4

func (a *WebhookRunHandler) Handle(run *tektonv1alpha1.Run) (ctrl.Result, error)

Handle sends HTTP reqeust to the webhook

Jump to

Keyboard shortcuts

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