Documentation ¶
Index ¶
- type NowProvider
- type Service
- func (s *Service) EnsureStatusIsUpToDate(suite v1alpha1.ClusterTestSuite, pods []v1.Pod) (*v1alpha1.TestSuiteStatus, error)
- func (s *Service) GetExecutionsInProgress(suite v1alpha1.ClusterTestSuite) []v1alpha1.TestExecution
- func (s *Service) InitializeTests(suite v1alpha1.ClusterTestSuite, defs []v1alpha1.TestDefinition) (*v1alpha1.TestSuiteStatus, error)
- func (s *Service) IsFinished(suite v1alpha1.ClusterTestSuite) bool
- func (s *Service) IsUninitialized(suite v1alpha1.ClusterTestSuite) bool
- func (s *Service) MarkAsScheduled(status v1alpha1.TestSuiteStatus, testName, testNs, podName string) (v1alpha1.TestSuiteStatus, error)
- func (s *Service) SetSuiteCondition(stat *v1alpha1.TestSuiteStatus, tp v1alpha1.TestSuiteConditionType, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NowProvider ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(nowProvider NowProvider) *Service
func (*Service) EnsureStatusIsUpToDate ¶
func (s *Service) EnsureStatusIsUpToDate(suite v1alpha1.ClusterTestSuite, pods []v1.Pod) (*v1alpha1.TestSuiteStatus, error)
func (*Service) GetExecutionsInProgress ¶
func (s *Service) GetExecutionsInProgress(suite v1alpha1.ClusterTestSuite) []v1alpha1.TestExecution
func (*Service) InitializeTests ¶
func (s *Service) InitializeTests(suite v1alpha1.ClusterTestSuite, defs []v1alpha1.TestDefinition) (*v1alpha1.TestSuiteStatus, error)
func (*Service) IsFinished ¶
func (s *Service) IsFinished(suite v1alpha1.ClusterTestSuite) bool
func (*Service) IsUninitialized ¶
func (s *Service) IsUninitialized(suite v1alpha1.ClusterTestSuite) bool
func (*Service) MarkAsScheduled ¶
func (s *Service) MarkAsScheduled(status v1alpha1.TestSuiteStatus, testName, testNs, podName string) (v1alpha1.TestSuiteStatus, error)
func (*Service) SetSuiteCondition ¶
func (s *Service) SetSuiteCondition(stat *v1alpha1.TestSuiteStatus, tp v1alpha1.TestSuiteConditionType, reason, msg string)
Click to show internal directories.
Click to hide internal directories.