Help us shape the future of Go! Take the 2026 Go Developer Survey

customs

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 24 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

Jump to

Keyboard shortcuts

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