Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcileTestSuite ¶
ReconcileTestSuite reconciles a ClusterTestSuite object
func (*ReconcileTestSuite) Reconcile ¶
Automatically generate RBAC rules to allow the Controller to read and write Pods +kubebuilder:rbac:groups=apps,resources=pods,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=testing.kyma-project.io,resources=clustertestsuites,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=testing.kyma-project.io,resources=clustertestsuites/status,verbs=get;update;patch
type SuiteStatusService ¶
type SuiteStatusService interface { EnsureStatusIsUpToDate(suite testingv1alpha1.ClusterTestSuite, pods []corev1.Pod) (*testingv1alpha1.TestSuiteStatus, error) InitializeTests(suite testingv1alpha1.ClusterTestSuite, defs []testingv1alpha1.TestDefinition) (*testingv1alpha1.TestSuiteStatus, error) IsUninitialized(suite testingv1alpha1.ClusterTestSuite) bool IsFinished(suite testingv1alpha1.ClusterTestSuite) bool SetSuiteCondition(stat *testingv1alpha1.TestSuiteStatus, tp testingv1alpha1.TestSuiteConditionType, reason, msg string) }
type TestDefinitionService ¶
type TestDefinitionService interface {
FindMatching(suite testingv1alpha1.ClusterTestSuite) ([]testingv1alpha1.TestDefinition, error)
}
type TestReporter ¶
type TestReporter interface {
GetPodsForSuite(ctx context.Context, suite testingv1alpha1.ClusterTestSuite) ([]corev1.Pod, error)
}
type TestScheduler ¶
type TestScheduler interface {
TrySchedule(suite testingv1alpha1.ClusterTestSuite) (*corev1.Pod, *testingv1alpha1.TestSuiteStatus, error)
}
dependencies
Click to show internal directories.
Click to hide internal directories.