diagnoser

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package diagnoser mainly provides two components, scraper and GUI for the process diagnosis.

Package diagnoser is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diagnoser added in v0.2.0

type Diagnoser interface {
	Run() error
}

func NewDiagnoser added in v0.2.0

func NewDiagnoser(addr *net.TCPAddr, scrapeInterval time.Duration, gui GUI) Diagnoser

type GUI added in v0.2.0

type GUI interface {
	Run(context.Context) error
}

type MockDiagnoser added in v0.2.0

type MockDiagnoser struct {
	// contains filtered or unexported fields
}

MockDiagnoser is a mock of Diagnoser interface

func NewMockDiagnoser added in v0.2.0

func NewMockDiagnoser(ctrl *gomock.Controller) *MockDiagnoser

NewMockDiagnoser creates a new mock instance

func (*MockDiagnoser) EXPECT added in v0.2.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDiagnoser) Run added in v0.2.0

func (m *MockDiagnoser) Run() error

Run mocks base method

type MockDiagnoserMockRecorder added in v0.2.0

type MockDiagnoserMockRecorder struct {
	// contains filtered or unexported fields
}

MockDiagnoserMockRecorder is the mock recorder for MockDiagnoser

func (*MockDiagnoserMockRecorder) Run added in v0.2.0

Run indicates an expected call of Run

type MockGUI added in v0.2.0

type MockGUI struct {
	// contains filtered or unexported fields
}

MockGUI is a mock of GUI interface

func NewMockGUI added in v0.2.0

func NewMockGUI(ctrl *gomock.Controller) *MockGUI

NewMockGUI creates a new mock instance

func (*MockGUI) EXPECT added in v0.2.0

func (m *MockGUI) EXPECT() *MockGUIMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGUI) Run added in v0.2.0

func (m *MockGUI) Run(arg0 context.Context) error

Run mocks base method

type MockGUIMockRecorder added in v0.2.0

type MockGUIMockRecorder struct {
	// contains filtered or unexported fields
}

MockGUIMockRecorder is the mock recorder for MockGUI

func (*MockGUIMockRecorder) Run added in v0.2.0

func (mr *MockGUIMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

Directories

Path Synopsis
Package tui provides an ability to draw charts on the terminal.
Package tui provides an ability to draw charts on the terminal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL