Documentation ¶
Index ¶
Constants ¶
View Source
const (
TestingPodPrefix = "oct-tp"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodNameGenerator ¶
type PodNameGenerator struct{}
func (*PodNameGenerator) GetName ¶
func (P *PodNameGenerator) GetName(suite v1alpha1.ClusterTestSuite, def v1alpha1.TestDefinition) (string, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) TrySchedule ¶
func (s *Service) TrySchedule(suite v1alpha1.ClusterTestSuite) (*v1.Pod, *v1alpha1.TestSuiteStatus, error)
type StatusProvider ¶
type StatusProvider interface { MarkAsScheduled(status v1alpha1.TestSuiteStatus, testName, testNs, podName string) (v1alpha1.TestSuiteStatus, error) GetExecutionsInProgress(suite v1alpha1.ClusterTestSuite) []v1alpha1.TestExecution }
Click to show internal directories.
Click to hide internal directories.