Documentation ¶
Index ¶
- Constants
- type AppliedCase
- type Processor
- func (s *Processor) CasesRunnerHandler(w http.ResponseWriter, r *http.Request)
- func (s *Processor) Check(testID string, timeout time.Duration, expReg pkg.ExpctationReg) (*TResponse, error)
- func (s *Processor) Clean(applied AppliedCase) error
- func (s *Processor) DisplayClusterHandler(w http.ResponseWriter, r *http.Request)
- func (s *Processor) DisplayExpectationHandler(w http.ResponseWriter, r *http.Request)
- func (s *Processor) DisplayStagesHandler(w http.ResponseWriter, r *http.Request)
- func (s *Processor) DisplayTestCasesHandler(w http.ResponseWriter, r *http.Request)
- func (s *Processor) ExpectationCheckerHandler(w http.ResponseWriter, r *http.Request)
- func (s *Processor) HelperHandler(w http.ResponseWriter, r *http.Request)
- func (s *Processor) ReloadClusterReg()
- func (s *Processor) Run(testID string, tc pkg.TestCasesReg) (AppliedCase, error)
- func (st *Processor) RunStage(groupID string, timeout time.Duration, sRunner StageRunner) *TResponse
- func (s *Processor) StageRunnerHandler(w http.ResponseWriter, r *http.Request)
- type StageRunner
- type Storage
- type TResponse
Constants ¶
View Source
const ( Unknown = "unknown" Succeed = "succeed" Failed = "failed" InfoLevel = 0 DebugLevel = 1 )
View Source
const ( Apply ocCommand = "apply" Delete ocCommand = "delete" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppliedCase ¶ added in v0.1.0
type Processor ¶ added in v0.1.0
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶ added in v0.1.0
func (*Processor) CasesRunnerHandler ¶ added in v0.1.4
func (s *Processor) CasesRunnerHandler(w http.ResponseWriter, r *http.Request)
func (*Processor) Clean ¶ added in v0.1.0
func (s *Processor) Clean(applied AppliedCase) error
func (*Processor) DisplayClusterHandler ¶ added in v0.1.0
func (s *Processor) DisplayClusterHandler(w http.ResponseWriter, r *http.Request)
func (*Processor) DisplayExpectationHandler ¶ added in v0.1.0
func (s *Processor) DisplayExpectationHandler(w http.ResponseWriter, r *http.Request)
func (*Processor) DisplayStagesHandler ¶ added in v0.1.0
func (s *Processor) DisplayStagesHandler(w http.ResponseWriter, r *http.Request)
func (*Processor) DisplayTestCasesHandler ¶ added in v0.1.0
func (s *Processor) DisplayTestCasesHandler(w http.ResponseWriter, r *http.Request)
func (*Processor) ExpectationCheckerHandler ¶ added in v0.1.0
func (s *Processor) ExpectationCheckerHandler(w http.ResponseWriter, r *http.Request)
func (*Processor) HelperHandler ¶ added in v0.1.0
func (s *Processor) HelperHandler(w http.ResponseWriter, r *http.Request)
func (*Processor) ReloadClusterReg ¶ added in v0.1.0
func (s *Processor) ReloadClusterReg()
func (*Processor) Run ¶ added in v0.1.0
func (s *Processor) Run(testID string, tc pkg.TestCasesReg) (AppliedCase, error)
func (*Processor) StageRunnerHandler ¶ added in v0.1.0
func (s *Processor) StageRunnerHandler(w http.ResponseWriter, r *http.Request)
type StageRunner ¶ added in v0.1.0
type StageRunner interface { Run(id string, caseReg pkg.TestCasesReg) (AppliedCase, error) Check(id string, timeout time.Duration, expReg pkg.ExpctationReg) (*TResponse, error) Clean(AppliedCase) error }
Click to show internal directories.
Click to hide internal directories.