Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Log = log.Log.WithName("controller").WithName("test")
Log --
Functions ¶
func Add ¶
Add creates a new Integration Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func TestPodNameFor ¶
TestPodNameFor returns the name to use for the testing pod
func TestResourceNameFor ¶
TestResourceNameFor returns the name to use for generic testing resources
Types ¶
type Action ¶
type Action interface {
client.Injectable
log.Injectable
// a user friendly name for the action
Name() string
// returns true if the action can handle the test
CanHandle(build *v1alpha1.Test) bool
// executes the handling function
Handle(ctx context.Context, build *v1alpha1.Test) (*v1alpha1.Test, error)
}
Action --
func NewEvaluateAction ¶
func NewEvaluateAction() Action
NewEvaluateAction creates a new evaluate action
func NewInitializeAction ¶
func NewInitializeAction() Action
NewInitializeAction creates a new initialize action
func NewMonitorAction ¶
func NewMonitorAction() Action
NewMonitorAction creates a new monitor action
type ReconcileIntegrationTest ¶
type ReconcileIntegrationTest struct {
// contains filtered or unexported fields
}
ReconcileIntegrationTest reconciles a IntegrationTest object
func (*ReconcileIntegrationTest) Reconcile ¶
Reconcile reads that state of the cluster for a Integration object and makes changes based on the state read and what is in the Integration.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.