add vendoring with go dep

This commit is contained in:
Adrian Todorov
2017-10-25 20:52:40 +00:00
parent 704f4d20d1
commit a59409f16b
1627 changed files with 489673 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
package statement
import (
"time"
"github.com/influxdata/influxdb/stress/v2/stress_client"
)
// ExecStatement run outside scripts. This functionality is not built out
// TODO: Wire up!
type ExecStatement struct {
StatementID string
Script string
runtime time.Duration
}
// SetID statisfies the Statement Interface
func (i *ExecStatement) SetID(s string) {
i.StatementID = s
}
// Run statisfies the Statement Interface
func (i *ExecStatement) Run(s *stressClient.StressTest) {
runtime := time.Now()
i.runtime = time.Since(runtime)
}
// Report statisfies the Statement Interface
func (i *ExecStatement) Report(s *stressClient.StressTest) string {
return ""
}