Documentation ¶
Overview ¶
Package gui is a generated GoMock package.
Index ¶
- Constants
- func Run(targetURL string, storage storage.Reader, attacker attacker.Attacker, ...) error
- type Gauge
- type LineChart
- type MockGauge
- func (m *MockGauge) Draw(cvs *canvas.Canvas, meta *widgetapi.Meta) error
- func (m *MockGauge) EXPECT() *MockGaugeMockRecorder
- func (m *MockGauge) Keyboard(k *terminalapi.Keyboard, meta *widgetapi.EventMeta) error
- func (m_2 *MockGauge) Mouse(m *terminalapi.Mouse, meta *widgetapi.EventMeta) error
- func (m *MockGauge) Options() widgetapi.Options
- func (m *MockGauge) Percent(p int, opts ...gauge.Option) error
- type MockGaugeMockRecorder
- func (mr *MockGaugeMockRecorder) Draw(cvs, meta interface{}) *gomock.Call
- func (mr *MockGaugeMockRecorder) Keyboard(k, meta interface{}) *gomock.Call
- func (mr *MockGaugeMockRecorder) Mouse(m, meta interface{}) *gomock.Call
- func (mr *MockGaugeMockRecorder) Options() *gomock.Call
- func (mr *MockGaugeMockRecorder) Percent(p interface{}, opts ...interface{}) *gomock.Call
- type MockLineChart
- func (m *MockLineChart) Draw(cvs *canvas.Canvas, meta *widgetapi.Meta) error
- func (m *MockLineChart) EXPECT() *MockLineChartMockRecorder
- func (m *MockLineChart) Keyboard(k *terminalapi.Keyboard, meta *widgetapi.EventMeta) error
- func (m_2 *MockLineChart) Mouse(m *terminalapi.Mouse, meta *widgetapi.EventMeta) error
- func (m *MockLineChart) Options() widgetapi.Options
- func (m *MockLineChart) Series(label string, values []float64, opts ...linechart.SeriesOption) error
- type MockLineChartMockRecorder
- func (mr *MockLineChartMockRecorder) Draw(cvs, meta interface{}) *gomock.Call
- func (mr *MockLineChartMockRecorder) Keyboard(k, meta interface{}) *gomock.Call
- func (mr *MockLineChartMockRecorder) Mouse(m, meta interface{}) *gomock.Call
- func (mr *MockLineChartMockRecorder) Options() *gomock.Call
- func (mr *MockLineChartMockRecorder) Series(label, values interface{}, opts ...interface{}) *gomock.Call
- type MockText
- func (m *MockText) Draw(cvs *canvas.Canvas, meta *widgetapi.Meta) error
- func (m *MockText) EXPECT() *MockTextMockRecorder
- func (m *MockText) Keyboard(k *terminalapi.Keyboard, meta *widgetapi.EventMeta) error
- func (m_2 *MockText) Mouse(m *terminalapi.Mouse, meta *widgetapi.EventMeta) error
- func (m *MockText) Options() widgetapi.Options
- func (m *MockText) Write(text string, wOpts ...text.WriteOption) error
- type MockTextMockRecorder
- func (mr *MockTextMockRecorder) Draw(cvs, meta interface{}) *gomock.Call
- func (mr *MockTextMockRecorder) Keyboard(k, meta interface{}) *gomock.Call
- func (mr *MockTextMockRecorder) Mouse(m, meta interface{}) *gomock.Call
- func (mr *MockTextMockRecorder) Options() *gomock.Call
- func (mr *MockTextMockRecorder) Write(text interface{}, wOpts ...interface{}) *gomock.Call
- type Options
- type Text
Constants ¶
const ( DefaultQueryRange = 30 * time.Second DefaultRedrawInterval = 250 * time.Millisecond )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockGauge ¶
type MockGauge struct {
// contains filtered or unexported fields
}
MockGauge is a mock of Gauge interface.
func NewMockGauge ¶
func NewMockGauge(ctrl *gomock.Controller) *MockGauge
NewMockGauge creates a new mock instance.
func (*MockGauge) EXPECT ¶
func (m *MockGauge) EXPECT() *MockGaugeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGaugeMockRecorder ¶
type MockGaugeMockRecorder struct {
// contains filtered or unexported fields
}
MockGaugeMockRecorder is the mock recorder for MockGauge.
func (*MockGaugeMockRecorder) Draw ¶
func (mr *MockGaugeMockRecorder) Draw(cvs, meta interface{}) *gomock.Call
Draw indicates an expected call of Draw.
func (*MockGaugeMockRecorder) Keyboard ¶
func (mr *MockGaugeMockRecorder) Keyboard(k, meta interface{}) *gomock.Call
Keyboard indicates an expected call of Keyboard.
func (*MockGaugeMockRecorder) Mouse ¶
func (mr *MockGaugeMockRecorder) Mouse(m, meta interface{}) *gomock.Call
Mouse indicates an expected call of Mouse.
func (*MockGaugeMockRecorder) Options ¶
func (mr *MockGaugeMockRecorder) Options() *gomock.Call
Options indicates an expected call of Options.
func (*MockGaugeMockRecorder) Percent ¶
func (mr *MockGaugeMockRecorder) Percent(p interface{}, opts ...interface{}) *gomock.Call
Percent indicates an expected call of Percent.
type MockLineChart ¶
type MockLineChart struct {
// contains filtered or unexported fields
}
MockLineChart is a mock of LineChart interface.
func NewMockLineChart ¶
func NewMockLineChart(ctrl *gomock.Controller) *MockLineChart
NewMockLineChart creates a new mock instance.
func (*MockLineChart) EXPECT ¶
func (m *MockLineChart) EXPECT() *MockLineChartMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLineChart) Keyboard ¶
func (m *MockLineChart) Keyboard(k *terminalapi.Keyboard, meta *widgetapi.EventMeta) error
Keyboard mocks base method.
func (*MockLineChart) Mouse ¶
func (m_2 *MockLineChart) Mouse(m *terminalapi.Mouse, meta *widgetapi.EventMeta) error
Mouse mocks base method.
func (*MockLineChart) Options ¶
func (m *MockLineChart) Options() widgetapi.Options
Options mocks base method.
func (*MockLineChart) Series ¶
func (m *MockLineChart) Series(label string, values []float64, opts ...linechart.SeriesOption) error
Series mocks base method.
type MockLineChartMockRecorder ¶
type MockLineChartMockRecorder struct {
// contains filtered or unexported fields
}
MockLineChartMockRecorder is the mock recorder for MockLineChart.
func (*MockLineChartMockRecorder) Draw ¶
func (mr *MockLineChartMockRecorder) Draw(cvs, meta interface{}) *gomock.Call
Draw indicates an expected call of Draw.
func (*MockLineChartMockRecorder) Keyboard ¶
func (mr *MockLineChartMockRecorder) Keyboard(k, meta interface{}) *gomock.Call
Keyboard indicates an expected call of Keyboard.
func (*MockLineChartMockRecorder) Mouse ¶
func (mr *MockLineChartMockRecorder) Mouse(m, meta interface{}) *gomock.Call
Mouse indicates an expected call of Mouse.
func (*MockLineChartMockRecorder) Options ¶
func (mr *MockLineChartMockRecorder) Options() *gomock.Call
Options indicates an expected call of Options.
func (*MockLineChartMockRecorder) Series ¶
func (mr *MockLineChartMockRecorder) Series(label, values interface{}, opts ...interface{}) *gomock.Call
Series indicates an expected call of Series.
type MockText ¶
type MockText struct {
// contains filtered or unexported fields
}
MockText is a mock of Text interface.
func NewMockText ¶
func NewMockText(ctrl *gomock.Controller) *MockText
NewMockText creates a new mock instance.
func (*MockText) EXPECT ¶
func (m *MockText) EXPECT() *MockTextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTextMockRecorder ¶
type MockTextMockRecorder struct {
// contains filtered or unexported fields
}
MockTextMockRecorder is the mock recorder for MockText.
func (*MockTextMockRecorder) Draw ¶
func (mr *MockTextMockRecorder) Draw(cvs, meta interface{}) *gomock.Call
Draw indicates an expected call of Draw.
func (*MockTextMockRecorder) Keyboard ¶
func (mr *MockTextMockRecorder) Keyboard(k, meta interface{}) *gomock.Call
Keyboard indicates an expected call of Keyboard.
func (*MockTextMockRecorder) Mouse ¶
func (mr *MockTextMockRecorder) Mouse(m, meta interface{}) *gomock.Call
Mouse indicates an expected call of Mouse.
func (*MockTextMockRecorder) Options ¶
func (mr *MockTextMockRecorder) Options() *gomock.Call
Options indicates an expected call of Options.
func (*MockTextMockRecorder) Write ¶
func (mr *MockTextMockRecorder) Write(text interface{}, wOpts ...interface{}) *gomock.Call
Write indicates an expected call of Write.