Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExecutionTest = "test" ExecutionTestSuite = "testsuite" )
Variables ¶
This section is empty.
Functions ¶
func NewClusterEventEvent ¶
func NewClusterEventEvent(eventType testtrigger.EventType, event *corev1.Event) *watcherEvent
Types ¶
type ExecutorF ¶
type ExecutorF func(context.Context, *testtriggersv1.TestTrigger) error
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( scheduler *scheduler.Scheduler, clientset *kubernetes.Clientset, testTriggersClientset testkubeclientsetv1.Interface, testSuitesClient testsuitesclientv2.Interface, testsClient testsclientv3.Interface, resultRepository result.Repository, testResultRepository testresult.Repository, logger *zap.SugaredLogger, opts ...Option, ) *Service
func (*Service) WithExecutor ¶
func (*Service) WithScraperInterval ¶
Click to show internal directories.
Click to hide internal directories.