Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = log.Log.WithName("controller").WithName("build")
Log --.
Functions ¶
Types ¶
type Action ¶
type Action interface {
client.Injectable
log.Injectable
event.Injectable
// Name returns user friendly name for the action
Name() string
// CanHandle returns true if the action can handle the build
CanHandle(build *v1.Build) bool
// Handle executes the handling function
Handle(ctx context.Context, build *v1.Build) (*v1.Build, error)
}
Action --.
Click to show internal directories.
Click to hide internal directories.