status

package
v0.0.0-...-6105717 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NowProvider

type NowProvider func() time.Time

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL