Documentation ¶
Index ¶
- Variables
- func NewJmeterEngine(be *baseEngine) *jmeterEngine
- type ApiMetricStream
- type ApiMetricStreamEvent
- type Controller
- func (c *Controller) CollectionStatus(collection *model.Collection) (*smodel.CollectionStatus, error)
- func (c *Controller) DeployCollection(collection *model.Collection) error
- func (c *Controller) PurgeNodes(collection *model.Collection) error
- func (c *Controller) TermAndPurgeCollection(collection *model.Collection) (err error)
- func (c *Controller) TermCollection(collection *model.Collection, force bool) (e error)
- func (c *Controller) TriggerCollection(collection *model.Collection) error
- type GCPNodesInfo
- type GCPOperator
- type PlanController
- type RunningPlan
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EngineError = errors.New("Error with Engine-")
)
View Source
var JmeterEngineType engineType
Functions ¶
func NewJmeterEngine ¶
func NewJmeterEngine(be *baseEngine) *jmeterEngine
Types ¶
type ApiMetricStream ¶
type ApiMetricStream struct { CollectionID string StreamClient chan *ApiMetricStreamEvent ClientID string }
type ApiMetricStreamEvent ¶
type Controller ¶
type Controller struct { LabelStore sync.Map StatusStore sync.Map ApiNewClients chan *ApiMetricStream ApiStreamClients map[string]map[string]chan *ApiMetricStreamEvent ApiMetricStreamBus chan *ApiMetricStreamEvent ApiClosingClients chan *ApiMetricStream Scheduler scheduler.EngineScheduler // contains filtered or unexported fields }
func NewController ¶
func NewController() *Controller
func (*Controller) CollectionStatus ¶
func (c *Controller) CollectionStatus(collection *model.Collection) (*smodel.CollectionStatus, error)
func (*Controller) DeployCollection ¶
func (c *Controller) DeployCollection(collection *model.Collection) error
func (*Controller) PurgeNodes ¶
func (c *Controller) PurgeNodes(collection *model.Collection) error
func (*Controller) TermAndPurgeCollection ¶
func (c *Controller) TermAndPurgeCollection(collection *model.Collection) (err error)
func (*Controller) TermCollection ¶
func (c *Controller) TermCollection(collection *model.Collection, force bool) (e error)
func (*Controller) TriggerCollection ¶
func (c *Controller) TriggerCollection(collection *model.Collection) error
type GCPNodesInfo ¶
type GCPOperator ¶
type GCPOperator struct { *config.ClusterConfig // contains filtered or unexported fields }
func NewGCPOperator ¶
func NewGCPOperator(collectionID, nodesRequired int64) *GCPOperator
func (*GCPOperator) GCPNodesInfo ¶
func (o *GCPOperator) GCPNodesInfo() *GCPNodesInfo
func (*GCPOperator) GetNodePool ¶
func (o *GCPOperator) GetNodePool() *google.NodePool
func (*GCPOperator) GetNodesSize ¶
func (o *GCPOperator) GetNodesSize() (int, error)
type PlanController ¶
type PlanController struct {
// contains filtered or unexported fields
}
func NewPlanController ¶
func NewPlanController(ep *model.ExecutionPlan, collection *model.Collection, scheduler scheduler.EngineScheduler) *PlanController
type RunningPlan ¶
type RunningPlan struct {
// contains filtered or unexported fields
}
This is used for tracking all the running plans So even when Shibuya controller restarts, the tests can resume
Source Files ¶
Click to show internal directories.
Click to hide internal directories.