Documentation ¶
Index ¶
- type Options
- type Response
- type SSH
- func (o *SSH) BenchRunCmd(connectionInfo model.ConnectionInfo, types []string) ([]model.Benchmark, error)
- func (o *SSH) CheckKubernetes(connectionInfo model.ConnectionInfo) (bool, error)
- func (o *SSH) Close()
- func (o *SSH) NewClientConn(connectionInfo model.ConnectionInfo) error
- func (o *SSH) RunAgent(connectionInfo model.ConnectionInfo) error
- func (o *SSH) RunBenchmark(connectionInfo model.ConnectionInfo, types string) (string, error)
- func (o *SSH) RunCmd(cmd string) (string, error)
- func (o *SSH) SendGetRequestToAgent(connectionInfo model.ConnectionInfo, requestPath string) (string, error)
- func (o *SSH) StopBenchmark(connectionInfo model.ConnectionInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { StatusCode string `json:"status_code"` Type string `json:"type"` Data model.BenchmarkData `json:"data"` }
type SSH ¶
type SSH struct { ConnectionInfo *model.ConnectionInfo Options Options }
func (*SSH) BenchRunCmd ¶
func (*SSH) CheckKubernetes ¶
func (o *SSH) CheckKubernetes(connectionInfo model.ConnectionInfo) (bool, error)
func (*SSH) NewClientConn ¶
func (o *SSH) NewClientConn(connectionInfo model.ConnectionInfo) error
func (*SSH) RunBenchmark ¶
func (*SSH) SendGetRequestToAgent ¶
func (*SSH) StopBenchmark ¶
func (o *SSH) StopBenchmark(connectionInfo model.ConnectionInfo) error
Click to show internal directories.
Click to hide internal directories.