Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GremlinClient ¶
type GremlinClient interface {
SetRecipes(topology, scenarios io.Reader, header, pattern string) (string, error)
RecipeResults(id string, checks io.Reader) (*RecipeResults, error)
DeleteRecipe(id string) (interface{}, error)
}
GremlinClient .
func NewGremlinClient ¶
func NewGremlinClient(ctx *cli.Context) (GremlinClient, error)
NewGremlinClient .
type RecipeChecks ¶
type RecipeChecks struct {
Checklist json.RawMessage `json:"checklist"`
}
RecipeChecks .
type RecipeResults ¶
type RecipeResults struct {
Results []map[string]interface{} `json:"results"`
}
RecipeResults .
type RecipeRun ¶
type RecipeRun struct {
Topology json.RawMessage `json:"topology" yaml:"topology"`
Scenarios json.RawMessage `json:"scenarios" yaml:"scenarios"`
Header string `json:"header" yaml:"header"`
Pattern string `json:"header_pattern" yaml:"header_pattern"`
}
RecipeRun .
Source Files
¶
- gremlin_client.go
- gremlin_structs.go
Click to show internal directories.
Click to hide internal directories.